diff options
| author | Thomas Weißschuh <[email protected]> | 2024-12-16 04:07:46 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-02-21 08:20:32 +0000 |
| commit | f2b62c03a28279cbeeb34d12037740a7e7703a6b (patch) | |
| tree | 4437422df05bf887bcdbe3fa9526c8a0409b1d7a /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | powerpc/powernv/ultravisor: Constify 'struct bin_attribute' (diff) | |
| download | kernel-f2b62c03a28279cbeeb34d12037740a7e7703a6b.tar.gz kernel-f2b62c03a28279cbeeb34d12037740a7e7703a6b.zip | |
powerpc/powernv/opal: 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-powerpc-v1-4-bbed8906f476@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
