diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-15 16:21:39 +0300 |
---|---|---|
committer | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2025-01-09 12:48:44 +0300 |
commit | 7fd9d28d1a6b1bab4559e472e3d552b5c77e08bb (patch) | |
tree | f46df42f4e5ee51b86600e7d5aae2a43c8e1a5e0 /scripts/lib/kdoc/kdoc_files.py | |
parent | 3cfe39b3a845593a485ab1c716615979004ef9f6 (diff) | |
download | linux-7fd9d28d1a6b1bab4559e472e3d552b5c77e08bb.tar.xz |
i2c: slave-eeprom: 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: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions