diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-02 20:02:19 +0100 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-12-04 22:19:13 +0100 |
commit | fc197588917bb05252115c9e76f3d34d30600249 (patch) | |
tree | 3465b2a0c9a43b6481ce0af2f94934db0c4b579a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff) |
power: supply: ds2760: 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/20241202-sysfs-const-bin_attr-psy-v1-1-f846430b8b66@weissschuh.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions