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:09 +0000
committerJakub Kicinski <[email protected]>2024-12-18 03:00:44 +0000
commit2d7b422fa7952e3f15fc0912b12530af1d265193 (patch)
tree7d879af42d6bf50f802a43f1c5c4e4def93049d4 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentnet: bridge: constify 'struct bin_attribute' (diff)
downloadkernel-2d7b422fa7952e3f15fc0912b12530af1d265193.tar.gz
kernel-2d7b422fa7952e3f15fc0912b12530af1d265193.zip
net: phy: ks8995: 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: Andrew Lunn <[email protected]> Link: https://patch.msgid.link/20241216-sysfs-const-bin_attr-net-v1-2-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