diff options
| author | Thomas Weißschuh <[email protected]> | 2024-12-16 11:30:08 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-12-18 03:00:43 +0000 |
| commit | a2558b410de3b0b6c38222ac4858188a55bc52ff (patch) | |
| tree | fba863794a7263ee9dd2f244c0c0617aefe3350d /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | net: page_pool: rename page_pool_is_last_ref() (diff) | |
| download | kernel-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
