diff options
author | 2024-12-16 12:34:50 +0100 | |
---|---|---|
committer | 2025-02-21 09:20:31 +0100 | |
commit | 2d0f5001b61c4831d413d12c10caed0e99d73b25 (patch) | |
tree | 9334b869809909878be103eb50223d5c731345dc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Constify 'struct bin_attribute' (diff) | |
download | wireguard-linux-2d0f5001b61c4831d413d12c10caed0e99d73b25.tar.xz wireguard-linux-2d0f5001b61c4831d413d12c10caed0e99d73b25.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions