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:25:14 +0000
committerGreg Kroah-Hartman <[email protected]>2025-02-21 08:20:30 +0000
commit7de24e20a7aa83295e567982b0b29f3b53152759 (patch)
tree278a585e6f1491d7869652b53dacb13c3613b644 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdriver core: location: Use str_yes_no() helper function (diff)
downloadkernel-7de24e20a7aa83295e567982b0b29f3b53152759.tar.gz
kernel-7de24e20a7aa83295e567982b0b29f3b53152759.zip
cxl/port: 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: Jonathan Cameron <[email protected]> Link: https://lore.kernel.org/r/20250114-sysfs-const-bin_attr-cxl-v1-1-5afa23fe2a52@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