diff options
author | 2025-02-28 16:11:24 +0100 | |
---|---|---|
committer | 2025-03-03 10:24:41 +0100 | |
commit | 1534692e953c767ae6a3b6b504596de1c2c30082 (patch) | |
tree | 81a2768c0e00289b29f90fd662b0352681c665b6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: storage: sddr55: Use const for constant arrays (diff) | |
download | linux-rng-1534692e953c767ae6a3b6b504596de1c2c30082.tar.xz linux-rng-1534692e953c767ae6a3b6b504596de1c2c30082.zip |
usb: storage: shuttle_usbat: Use const for constant array
This array is only read, not modified.
Declaring data as const makes it easier to see what's going on, and can
prevent unintended writes through placement in a read-only section.
Signed-off-by: Jonathan Neuschäfer <j.ne@posteo.net>
Reviewed-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20250228-misc-const-v3-9-09b417ded9c4@posteo.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions