Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1425340
| From | Daniel Lezcano <daniel.lezcano@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH -next] nios2: time: Fix build error and warning |
| Date | 2016-06-17 19:30 +0200 |
| Message-ID | <rL5KF-Zn-5@gated-at.bofh.it> (permalink) |
| References | <rL2jM-7aI-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH -next] nios2: time: Fix build error and warning Guenter Roeck <linux@roeck-us.net> - 2016-06-17 15:50 +0200 Re: [PATCH -next] nios2: time: Fix build error and warning Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-06-17 19:30 +0200
csiph-web