[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkda816dLNWc9_sSA+7W39dXzqFoPJssh4p=Vcb-Xg-5+qQ@mail.gmail.com>
Date: Thu, 21 Sep 2017 13:42:48 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Arnd Bergmann <arnd@...db.de>,
Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Thierry Reding <treding@...dia.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] clocksource: integrator: fix section mismatch warning
On Fri, Sep 15, 2017 at 9:42 PM, Arnd Bergmann <arnd@...db.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@...db.de>
Acked-by: Linus Walleij <linus.walleij@...aro.org>
I guess Daniel will pick this up.
Yours,
Linus Walleij
Powered by blists - more mailing lists