diff options
| author | Thomas Weißschuh <[email protected]> | 2024-12-16 11:34:48 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-02-21 08:20:31 +0000 |
| commit | cf3864d84fe98b7f7ff37a90156c3fc8f2c0067e (patch) | |
| tree | 28a4a28076dcc7788df57313b5d0f128b5041636 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | drm/sysfs: Constify 'struct bin_attribute' (diff) | |
| download | kernel-cf3864d84fe98b7f7ff37a90156c3fc8f2c0067e.tar.gz kernel-cf3864d84fe98b7f7ff37a90156c3fc8f2c0067e.zip | |
drm/lima: 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]>
Link: https://lore.kernel.org/r/20241216-sysfs-const-bin_attr-drm-v1-2-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
