aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-02 20:02:22 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2024-12-04 22:19:13 +0100
commitdc509d8be38ffe4ff6d752bdb7913718318e83cd (patch)
treef1e1528a09a60240a713f669e35fd77215d1ac28 /tools/perf/scripts/python/parallel-perf.py
parentpower: supply: ds2781: constify 'struct bin_attribute' (diff)
downloadlinux-dc509d8be38ffe4ff6d752bdb7913718318e83cd.tar.gz
linux-dc509d8be38ffe4ff6d752bdb7913718318e83cd.zip
power: supply: olpc_battery: 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-4-f846430b8b66@weissschuh.net Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions