diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-16 14:30:09 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-18 06:00:44 +0300 |
commit | 2d7b422fa7952e3f15fc0912b12530af1d265193 (patch) | |
tree | 7d879af42d6bf50f802a43f1c5c4e4def93049d4 /tools/perf/scripts/python/syscall-counts.py | |
parent | a2558b410de3b0b6c38222ac4858188a55bc52ff (diff) | |
download | linux-2d7b422fa7952e3f15fc0912b12530af1d265193.tar.xz |
net: phy: ks8995: 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>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20241216-sysfs-const-bin_attr-net-v1-2-ec460b91f274@weissschuh.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions