diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-02 22:01:41 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2024-12-11 17:11:09 +0300 |
commit | 1b1d865715e0eda52e62226261651e97673773d6 (patch) | |
tree | 53807027c16ec8937b7f27bbc78243bb107ad315 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cdc6829c2cf086ce76007b17173079a78997539e (diff) | |
download | linux-1b1d865715e0eda52e62226261651e97673773d6.tar.xz |
HID: roccat: pyro: 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