diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-02 22:01:34 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2024-12-11 17:11:04 +0300 |
commit | 66f58ab4273d0df6c732fe9bceffdab9bbd44201 (patch) | |
tree | 2d7ee02ef95eb9497f04ce1c1ff75c1f69246ccd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d80286711e4d7e3aa4c86e179612d712441d4e24 (diff) | |
download | linux-66f58ab4273d0df6c732fe9bceffdab9bbd44201.tar.xz |
HID: roccat: common, konepure, ryos, savu: 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