aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_drv.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2025-01-25 10:12:16 +0000
committerGreg Kroah-Hartman <[email protected]>2025-02-21 08:20:30 +0000
commit1c83b02c91c1cc42c3030788f437fe403c7e3b37 (patch)
treef9cf6fb105c2fd7e0869653aff5ddbd91b38cf47 /drivers/gpu/drm/lima/lima_drv.c
parentfirmware: dmi: Define bin_attributes through macro (diff)
downloadkernel-1c83b02c91c1cc42c3030788f437fe403c7e3b37.tar.gz
kernel-1c83b02c91c1cc42c3030788f437fe403c7e3b37.zip
firmware: dmi: 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/20250125-sysfs-const-bin_attr-dmi-v2-3-ece1895936f4@weissschuh.net Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_drv.c')
0 files changed, 0 insertions, 0 deletions