diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-16 14:34:51 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 11:20:31 +0300 |
commit | 600aa8d31af9bf46c62ca0375cc2abb4f1d20c8d (patch) | |
tree | 793e073f1e1c4e2d2dcef2a7e6bd1af37a675a55 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2d0f5001b61c4831d413d12c10caed0e99d73b25 (diff) | |
download | linux-600aa8d31af9bf46c62ca0375cc2abb4f1d20c8d.tar.xz |
drm/amd/display: 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: Harry Wentland <harry.wentland@amd.com>
Link: https://lore.kernel.org/r/20241216-sysfs-const-bin_attr-drm-v1-5-210f2b36b9bf@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions