aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-02 20:01:38 +0100
committerJiri Kosina <jkosina@suse.com>2024-12-11 15:11:04 +0100
commit4b02dcc0b87d70634237a38d262869e3925ce134 (patch)
tree050864fc6a208d58234caefb455bb1528d1a30d0 /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
parentHID: roccat: kone: constify 'struct bin_attribute' (diff)
downloadlinux-rng-4b02dcc0b87d70634237a38d262869e3925ce134.tar.xz
linux-rng-4b02dcc0b87d70634237a38d262869e3925ce134.zip
HID: roccat: koneplus: 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 <linux@weissschuh.net> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions