summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-15 16:19:04 +0100
committerGuenter Roeck <linux@roeck-us.net>2024-12-15 22:02:26 -0800
commit0f049da5b0568cafd39706cc87a1b689dcdae8a0 (patch)
tree6daa418aea13e28f150df27000d8611d10e6c782 /tools/perf/scripts/python/export-to-sqlite.py
parentcf85760f6a0a656d06d9e2851fc82baf1240262a (diff)
hwmon: (occ/p9_sbe) Constify 'struct bin_attribute'
The sysfs core now allows instances of 'struct bin_attribute' to be moved into read-only memory. Make use of that to protect them against accidental or malicious modifications. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/r/20241215-sysfs-const-bin_attr-hwmon-v1-1-ea72a6a46c36@weissschuh.net Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions