aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.ne@posteo.net>2025-02-28 16:11:18 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-03 10:24:41 +0100
commit734b0a7a5d857b5c0b98ccbb857406d4d531d574 (patch)
tree241f7e9ecca0f27ff31c260c3ed3458862f54919 /tools/perf/scripts/python/export-to-postgresql.py
parentusb: storage: transport: Use const for constant array (diff)
downloadlinux-rng-734b0a7a5d857b5c0b98ccbb857406d4d531d574.tar.xz
linux-rng-734b0a7a5d857b5c0b98ccbb857406d4d531d574.zip
usb: storage: alauda: Use const for card ID array
The alauda_card_ids array is only read, and 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-3-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