aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-12-16 12:22:54 +0000
committerGreg Kroah-Hartman <[email protected]>2025-02-21 08:20:32 +0000
commit5d0fbf548cbfcd1d7559b2daddedbeaa212d477f (patch)
tree0a72203270c8e501b2c1e7e46ad9d9c937edba2c /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentfirmware: qemu_fw_cfg: constify 'struct bin_attribute' (diff)
downloadkernel-5d0fbf548cbfcd1d7559b2daddedbeaa212d477f.tar.gz
kernel-5d0fbf548cbfcd1d7559b2daddedbeaa212d477f.zip
rapidio: 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]> Link: https://lore.kernel.org/r/20241216-sysfs-const-bin_attr-rapidio-v1-1-0f47f4719683@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