diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-02 20:01:40 +0100 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2024-12-11 15:11:04 +0100 |
| commit | cdc6829c2cf086ce76007b17173079a78997539e (patch) | |
| tree | ab40fec6c590d377bb5d0b1cb00a09fd5cfbf709 /scripts/lib/kdoc/kdoc_output.py | |
| parent | HID: roccat: kovaplus: constify 'struct bin_attribute' (diff) | |
| download | linux-cdc6829c2cf086ce76007b17173079a78997539e.tar.gz linux-cdc6829c2cf086ce76007b17173079a78997539e.zip | |
HID: roccat: lua: 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 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions
