Section mismatch in drivers/mfd/vexpress-sysreg.c

Russell King - ARM Linux linux at
Tue Jan 29 07:20:08 EST 2013

On Tue, Jan 29, 2013 at 07:55:37PM +0800, Shawn Guo wrote:
> Pawel,
> 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.

I've already reported this - it's been around for a while now.

More information about the linux-arm-kernel mailing list