diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-02 20:01:37 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2024-12-11 15:11:04 +0100 |
commit | badcb329b9aa624292cd2e97e2e66fb1a2b5de17 (patch) | |
tree | d1e76bb412ebc880bbb6d057ca19140729854893 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 03445591bd8665ddceee102bb875475ad5f81064 (diff) |
HID: roccat: kone: 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