diff options
| author | Thomas Weißschuh <[email protected]> | 2024-11-22 10:31:15 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-02-21 08:20:32 +0000 |
| commit | e965efc4aa14d9195d26a956a6bff5041110a155 (patch) | |
| tree | 84f4c17f577fe90b199dfb382c1e2ae2972f1103 /samples/rust/rust_driver_pci.rs | |
| parent | rapidio: constify 'struct bin_attribute' (diff) | |
| download | kernel-e965efc4aa14d9195d26a956a6bff5041110a155.tar.gz kernel-e965efc4aa14d9195d26a956a6bff5041110a155.zip | |
efi: rci2: mark bin_attribute as __ro_after_init
The attribute is only modified during __init phase.
Protect it against accidental or intentional modifications afterwards.
Signed-off-by: Thomas Weißschuh <[email protected]>
Link: https://lore.kernel.org/r/20241122-sysfs-const-bin_attr-rci2-v1-1-3db1ec9aa203@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'samples/rust/rust_driver_pci.rs')
0 files changed, 0 insertions, 0 deletions
