aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-12-16 11:30:11 +0000
committerJakub Kicinski <[email protected]>2024-12-18 03:00:51 +0000
commitae026eae08e7a0a118abc31192041e49bcda3a8e (patch)
treea5673c99988513ef842620326798d0eda68bfbe2 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentnet: phy: ks8995: constify 'struct bin_attribute' (diff)
downloadkernel-ae026eae08e7a0a118abc31192041e49bcda3a8e.tar.gz
kernel-ae026eae08e7a0a118abc31192041e49bcda3a8e.zip
netxen_nic: 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: Simon Horman <[email protected]> Link: https://patch.msgid.link/20241216-sysfs-const-bin_attr-net-v1-4-ec460b91f274@weissschuh.net Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions