diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-21 15:48:14 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-24 09:36:02 +0100 |
| commit | 052bd11eb8e5db0484a6e545ca78bf0f3f16904e (patch) | |
| tree | 4c4193f3fa26db98b7de6d3d28095d5500b7813f /tools/perf/scripts/python | |
| parent | misc: eeprom/idt_89hpesx: Constify 'struct bin_attribute' (diff) | |
| download | linux-052bd11eb8e5db0484a6e545ca78bf0f3f16904e.tar.gz linux-052bd11eb8e5db0484a6e545ca78bf0f3f16904e.zip | |
misc: eeprom/max6875: 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>
Link: https://lore.kernel.org/r/20241221-sysfs-const-bin_attr-misc-drivers-v2-8-ba5e79fe8771@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
