Re: [PATCH -next] nios2: time: Fix build error and warning
From: Daniel Lezcano
Date: Fri Jun 17 2016 - 13:23:16 EST
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@xxxxxxxxxx>
Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
---
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