aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2025-01-14 21:50:20 +0000
committerGreg Kroah-Hartman <[email protected]>2025-02-21 08:20:32 +0000
commit80f756cabfbf81d0d629b45eb8e3f9f0196728d2 (patch)
treedcdb3e32b8bf90eb932969ef9bda2997aa2df268 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentpowerpc/perf/hv-24x7: Constify 'struct bin_attribute' (diff)
downloadkernel-80f756cabfbf81d0d629b45eb8e3f9f0196728d2.tar.gz
kernel-80f756cabfbf81d0d629b45eb8e3f9f0196728d2.zip
firmware: qemu_fw_cfg: 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]> Acked-by: Gabriel Somlo <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Link: https://lore.kernel.org/r/20250114-sysfs-const-bin_attr-qemu_fw_cfg-v1-1-76f525a3ee72@weissschuh.net Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions