diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-02 22:01:38 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2024-12-11 17:11:04 +0300 |
commit | 4b02dcc0b87d70634237a38d262869e3925ce134 (patch) | |
tree | 050864fc6a208d58234caefb455bb1528d1a30d0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | badcb329b9aa624292cd2e97e2e66fb1a2b5de17 (diff) | |
download | linux-4b02dcc0b87d70634237a38d262869e3925ce134.tar.xz |
HID: roccat: koneplus: 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