Section mismatch in drivers/mfd/vexpress-sysreg.c
Pawel Moll
pawel.moll at arm.com
Tue Jan 29 08:05:11 EST 2013
On Tue, 2013-01-29 at 11:55 +0000, Shawn Guo wrote:
> I'm building v3.8-rc5 and seeing the following section mismatch warning
> in drivers/mfd/vexpress-sysreg.c.
>
> WARNING: drivers/mfd/built-in.o(.text+0x3108): Section mismatch in reference from the function vexpress_sysreg_probe() to the function .init.text:vexpress_sysreg_setup()
> The function vexpress_sysreg_probe() references
> the function __init vexpress_sysreg_setup().
> This is often because vexpress_sysreg_probe lacks a __init
> annotation or the annotation of vexpress_sysreg_setup is wrong.
Arnd's got a fix for this already:
https://patchwork.kernel.org/patch/2046991/
Thanks!
Pawel
More information about the linux-arm-kernel
mailing list