[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1406161825360.21018@chino.kir.corp.google.com>
Date: Mon, 16 Jun 2014 18:25:45 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Guenter Roeck <linux@...ck-us.net>
cc: Russell King <linux@....linux.org.uk>,
Vincent Guittot <vincent.guittot@...aro.org>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm: Fix build warning
On Fri, 13 Jun 2014, Guenter Roeck wrote:
> If compiled with W=1, the following warning is seen in arm builds.
>
> arch/arm/kernel/topology.c:278:25: warning:
> type qualifiers ignored on function return type
>
> This is caused by a function returning 'const int', which doesn't
> make sense to gcc. Drop 'const' to fix the problem.
>
> Reported-by: Vincent Guittot <vincent.guittot@...aro.org>
> Signed-off-by: Guenter Roeck <linux@...ck-us.net>
Acked-by: David Rientjes <rientjes@...gle.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists