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:17 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-03 10:24:41 +0100
commit13155c6b2e31dc0e8deb9d45a0df00f7ca40c366 (patch)
tree6d9ec0121c1e6b5e20172391199b51a335e19d00 /tools/perf/scripts/python/export-to-postgresql.py
parentusb: storage: jumpshot: Use const for constant arrays (diff)
downloadlinux-rng-13155c6b2e31dc0e8deb9d45a0df00f7ca40c366.tar.xz
linux-rng-13155c6b2e31dc0e8deb9d45a0df00f7ca40c366.zip
usb: storage: transport: 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-2-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