linux-next: build warning after merge of the gpio tree
Hi all,
After merging the gpio tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:
WARNING: vmlinux.o(.data+0xbd3f4): Section mismatch in reference from the variable bcm_iproc_gpio_driver to the (unknown reference) .init.rodata:(unknown) The variable bcm_iproc_gpio_driver references
the (unknown reference) __initconst (unknown)
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
(and similar for x86_64 allmodconfig)
Introduced by commit
6a41b6c5fc20 ("gpio: Add xgs-iproc driver")
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 10 lines · Stephen Rothwell
After merging the gpio tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:WARNING:
vmlinux.o(.data+0xbd3f4): Section mismatch in reference from the variablebcm_iproc_gpio_driverto the (unknown reference) .init.rodata:(unknown) The variablebcm_iproc_gpio_driverreferences
the (unknown reference)__initconst(unknown)
If the reference is valid then annotate the
variable with __init* or__refdata(seelinux/init.h) or name the variable:*_template,*_timer,*_sht,*_ops,*_probe,*_probe_one,*_console
Quoted 5 lines
(and similar for
x86_64allmodconfig)Introduced by commit
6a41b6c5fc20("gpio: Add xgs-iproc driver")
Mark Brown finally hunted this down and fixed. It should be fine in my for-next branch now.
Yours,
Linus Walleij