diff options
author | Ricardo B. Marliere <[email protected]> | 2024-03-03 15:05:23 -0800 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2024-03-03 15:06:58 -0800 |
commit | d1278c91fec3e1d27d6e06d00a67a5a314341344 (patch) | |
tree | a85c6070a853af1d935c5ca27aba4348b4652961 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | d49193be636ab2b6e35727541bbdcdc1eab2d676 (diff) |
Input: synaptics-rmi4 - make rmi_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the variable rmi_bus_type 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]>
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