diff options
author | 2025-02-28 16:11:22 +0100 | |
---|---|---|
committer | 2025-03-03 10:24:41 +0100 | |
commit | 5dc02c96e4f268f88962b37ad62f469938fb22ee (patch) | |
tree | 11a4eb2c4c0c505f9475eaaee2894fa50f867c35 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: storage: realtek_cr: Use const for constant arrays (diff) | |
download | linux-rng-5dc02c96e4f268f88962b37ad62f469938fb22ee.tar.xz linux-rng-5dc02c96e4f268f88962b37ad62f469938fb22ee.zip |
usb: storage: sddr09: Use const for constant arrays
The nand_flash_ids, inquiry_response, and mode_page_01 arrays are 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-7-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