Messages in this thread | | | Subject | Re: [PATCH -next] nios2: time: Fix build error and warning | From | Daniel Lezcano <> | Date | Fri, 17 Jun 2016 19:23:05 +0200 |
| |
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@linaro.org> > Signed-off-by: Guenter Roeck <linux@roeck-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
| |