diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-02 22:01:39 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2024-12-11 17:11:04 +0300 |
commit | 79ef5c3598fd3163b71273547b73f1450bc632ab (patch) | |
tree | 77d8b56a9a5a062a10d5515c59c51778e965f735 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4b02dcc0b87d70634237a38d262869e3925ce134 (diff) | |
download | linux-79ef5c3598fd3163b71273547b73f1450bc632ab.tar.xz |
HID: roccat: kovaplus: 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>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions