diff options
| author | Thomas Weißschuh <[email protected]> | 2025-01-25 10:12:14 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-02-21 08:20:30 +0000 |
| commit | 14e694dbf285e74af97d50212e3272d0d22ea653 (patch) | |
| tree | 9a88298c1337cd30f45f10d47f6bea271c7da467 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | cxl/port: Constify 'struct bin_attribute' (diff) | |
| download | kernel-14e694dbf285e74af97d50212e3272d0d22ea653.tar.gz kernel-14e694dbf285e74af97d50212e3272d0d22ea653.zip | |
firmware: dmi: Mark bin_attributes as __ro_after_init
The attributes are only modified during the __init phase.
Protect them against accidental or intentional modifications afterwards.
Signed-off-by: Thomas Weißschuh <[email protected]>
Link: https://lore.kernel.org/r/20250125-sysfs-const-bin_attr-dmi-v2-1-ece1895936f4@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
