aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2023-12-19 16:35:09 +0100
committerGreg Kroah-Hartman <[email protected]>2023-12-21 13:56:30 +0100
commit580fc9c750fde7404f2d726637135fb785c67e86 (patch)
tree0edeefef3e85c52042bd5fd4023ef0ac61cab4fe /lib/test_fortify/write_overflow-strncpy-src.c
parentdedb868994d8308c6c4650203e190ec619005806 (diff)
driver core: mark remaining local bus_type variables as const
Now that the driver core can properly handle constant struct bus_type, change the local driver core bus_type variables to be a constant structure as well, placing them into read-only memory which can not be modified at runtime. Cc: Ira Weiny <[email protected]> Cc: Rafael J. Wysocki <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Oscar Salvador <[email protected]> Cc: Kevin Hilman <[email protected]> Cc: Ulf Hansson <[email protected]> Cc: Len Brown <[email protected]> Acked-by: William Breathitt Gray <[email protected]> Acked-by: Dave Ertman <[email protected]> Link: https://lore.kernel.org/r/2023121908-paver-follow-cc21@gregkh Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions