aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2018-10-28 18:16:51 +0100
committerGuenter Roeck <linux@roeck-us.net>2018-11-04 15:55:12 -0800
commite3e61f01d755188cb6c2dcf5a244b9c0937c258e (patch)
tree6379a277cdb4c4fac4ce826542631261c3e28dfe /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent74e3512731bd5c9673176425a76a7cc5efa8ddb6 (diff)
hwmon: (ibmpowernv) Remove bogus __init annotations
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_label(). This is often because .create_device_attrs lacks a __init annotation or the annotation of .make_sensor_label is wrong. As .probe() can be called after freeing of __init memory, all __init annotiations in the driver are bogus, and should be removed. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions