aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-12-16 11:34:49 +0000
committerGreg Kroah-Hartman <[email protected]>2025-02-21 08:20:31 +0000
commite3626a456599304f59f827494746940ec025ad6f (patch)
treeca33811c145a7e1e9059c3faa1f129fb40e9f2b4 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentdrm/lima: Constify 'struct bin_attribute' (diff)
downloadkernel-e3626a456599304f59f827494746940ec025ad6f.tar.gz
kernel-e3626a456599304f59f827494746940ec025ad6f.zip
drm/i915: 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 <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Link: https://lore.kernel.org/r/20241216-sysfs-const-bin_attr-drm-v1-3-210f2b36b9bf@weissschuh.net Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions