aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-02-04 16:56:34 -0300
committerDmitry Torokhov <[email protected]>2024-02-06 13:57:02 -0800
commitd03f030115fe930de1222fef294730ba21b93045 (patch)
tree6a82c39b41087a10a0b159e4fe8c7ef05589b2ff /lib/test_fortify/write_overflow-strncpy-src.c
parent7d0f351da46098b3bbb147f886f059473b84ff48 (diff)
Input: gameport - make gameport_bus const
Now that the driver core can properly handle constant struct bus_type, move the gameport_bus variable to be a constant structure as well, placing it into read-only memory which can not be modified at runtime. Suggested-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: "Ricardo B. Marliere" <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions