Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1736590
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] clocksource: integrator: fix section mismatch warning |
| Date | 2017-09-21 13:50 +0200 |
| Message-ID | <us89r-rR-3@gated-at.bofh.it> (permalink) |
| References | <uq4MG-7rc-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Sep 15, 2017 at 9:42 PM, Arnd Bergmann <arnd@arndb.de> wrote: > gcc-4.6 and older fail to inline integrator_clocksource_init, so they > end up showing a harmless warning: > > WARNING: vmlinux.o(.text+0x4aa94c): Section mismatch in reference from the function integrator_clocksource_init() to the function .init.text:clocksource_mmio_init() > The function integrator_clocksource_init() references > the function __init clocksource_mmio_init(). > This is often because integrator_clocksource_init lacks a __init > annotation or the annotation of clocksource_mmio_init is wrong. > > This adds the missing __init annotation that makes it build > cleanly with all compilers. > > Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Linus Walleij <linus.walleij@linaro.org> I guess Daniel will pick this up. Yours, Linus Walleij
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] clocksource: integrator: fix section mismatch warning Arnd Bergmann <arnd@arndb.de> - 2017-09-15 21:50 +0200 [tip:timers/urgent] clocksource/integrator: Fix section mismatch warning tip-bot for Arnd Bergmann <tipbot@zytor.com> - 2017-09-18 09:50 +0200 Re: [PATCH] clocksource: integrator: fix section mismatch warning Linus Walleij <linus.walleij@linaro.org> - 2017-09-21 13:50 +0200
csiph-web