aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2023-12-19 15:47:41 +0000
committerGeert Uytterhoeven <[email protected]>2024-01-03 12:33:59 +0000
commita15f2d48c6f84ae0dd2000288592c79d5d1acd0e (patch)
tree1919f6621f4016c3e2bd4c002d77378270f016f3 /scripts/gcc-plugins/randomize_layout_plugin.c
parentLinux 6.7-rc1 (diff)
downloadkernel-a15f2d48c6f84ae0dd2000288592c79d5d1acd0e.tar.gz
kernel-a15f2d48c6f84ae0dd2000288592c79d5d1acd0e.zip
nubus: Make nubus_bus_type static and constant
Now that the driver core can properly handle constant struct bus_type, move the nubus_bus_type variable to be a constant structure as well, placing it into read-only memory which can not be modified at runtime. It's also never used outside of drivers/nubus/bus.c so make it static and don't export it as no one is using it. Signed-off-by: Greg Kroah-Hartman <[email protected]> Acked-by: Finn Thain <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/2023121940-enlarged-editor-c9a8@gregkh Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions