diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-15 14:21:39 +0100 |
---|---|---|
committer | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2025-01-09 10:48:44 +0100 |
commit | 7fd9d28d1a6b1bab4559e472e3d552b5c77e08bb (patch) | |
tree | f46df42f4e5ee51b86600e7d5aae2a43c8e1a5e0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3cfe39b3a845593a485ab1c716615979004ef9f6 (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions