Re: [PATCH] hwmon: (ibmpowernv) Remove bogus __init annotations

2018-10-30 Thread Guenter Roeck
On Sun, Oct 28, 2018 at 06:16:51PM +0100, Geert Uytterhoeven wrote: > If gcc decides not to inline make_sensor_label(): > > WARNING: vmlinux.o(.text+0x4df549c): Section mismatch in reference from > the function .create_device_attrs() to the function > .init.text:.make_sensor_label() > Th

[PATCH] hwmon: (ibmpowernv) Remove bogus __init annotations

2018-10-28 Thread Geert Uytterhoeven
If gcc decides not to inline make_sensor_label(): WARNING: vmlinux.o(.text+0x4df549c): Section mismatch in reference from the function .create_device_attrs() to the function .init.text:.make_sensor_label() The function .create_device_attrs() references the function __init .make_sensor