diff options
author | 2025-01-25 11:12:14 +0100 | |
---|---|---|
committer | 2025-02-21 09:20:30 +0100 | |
commit | 14e694dbf285e74af97d50212e3272d0d22ea653 (patch) | |
tree | 9a88298c1337cd30f45f10d47f6bea271c7da467 /rust/helpers | |
parent | cxl/port: Constify 'struct bin_attribute' (diff) | |
download | wireguard-linux-14e694dbf285e74af97d50212e3272d0d22ea653.tar.xz wireguard-linux-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 <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20250125-sysfs-const-bin_attr-dmi-v2-1-ece1895936f4@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions