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:08 +0000
committerJakub Kicinski <[email protected]>2024-12-18 03:00:43 +0000
commita2558b410de3b0b6c38222ac4858188a55bc52ff (patch)
treefba863794a7263ee9dd2f244c0c0617aefe3350d /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentnet: page_pool: rename page_pool_is_last_ref() (diff)
downloadkernel-a2558b410de3b0b6c38222ac4858188a55bc52ff.tar.gz
kernel-a2558b410de3b0b6c38222ac4858188a55bc52ff.zip
net: bridge: 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]> Acked-by: Nikolay Aleksandrov <[email protected]> Link: https://patch.msgid.link/20241216-sysfs-const-bin_attr-net-v1-1-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