[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <576431F9.10604@linaro.org>
Date: Fri, 17 Jun 2016 19:23:05 +0200
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: Guenter Roeck <linux@...ck-us.net>
Cc: Ley Foon Tan <lftan@...era.com>, nios2-dev@...ts.rocketboards.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] nios2: time: Fix build error and warning
On 06/17/2016 03:47 PM, Guenter Roeck wrote:
> nios2 builds fail with
>
> arch/nios2/kernel/time.c: In function 'time_init':
> arch/nios2/kernel/time.c:354:2: warning:
> 'return' with a value, in function returning void
>
> include/linux/of.h:999:2: warning:
> ISO C90 forbids mixed declarations and code
>
> include/linux/of.h:999:22: error:
> expected declaration or statement at end of input
>
> Fixes: 2ef9162920dc ("clocksource/drivers/nios2: Convert init function to return error")
> Cc: Daniel Lezcano <daniel.lezcano@...aro.org>
> Signed-off-by: Guenter Roeck <linux@...ck-us.net>
> ---
Thanks ! I merged this fix with the commit.
-- Daniel
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Powered by blists - more mailing lists