diff options
author | 2024-12-16 13:22:54 +0100 | |
---|---|---|
committer | 2025-02-21 09:20:32 +0100 | |
commit | 5d0fbf548cbfcd1d7559b2daddedbeaa212d477f (patch) | |
tree | 0a72203270c8e501b2c1e7e46ad9d9c937edba2c /scripts/lib/kdoc/kdoc_parser.py | |
parent | firmware: qemu_fw_cfg: constify 'struct bin_attribute' (diff) | |
download | wireguard-linux-5d0fbf548cbfcd1d7559b2daddedbeaa212d477f.tar.xz wireguard-linux-5d0fbf548cbfcd1d7559b2daddedbeaa212d477f.zip |
rapidio: 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>
Link: https://lore.kernel.org/r/20241216-sysfs-const-bin_attr-rapidio-v1-1-0f47f4719683@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions