diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-16 14:34:50 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 11:20:31 +0300 |
commit | 2d0f5001b61c4831d413d12c10caed0e99d73b25 (patch) | |
tree | 9334b869809909878be103eb50223d5c731345dc /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e3626a456599304f59f827494746940ec025ad6f (diff) | |
download | linux-2d0f5001b61c4831d413d12c10caed0e99d73b25.tar.xz |
drm/amdgpu: 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: Alex Deucher <alexander.deucher@amd.com>
Link: https://lore.kernel.org/r/20241216-sysfs-const-bin_attr-drm-v1-4-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