diff options
author | 2024-12-16 13:30:54 +0100 | |
---|---|---|
committer | 2025-01-08 18:04:36 +0100 | |
commit | 738fa3feb2e38bb603616093ff2e089f5bf8e103 (patch) | |
tree | 14cf8c8c097688a83406f09be0cda299f39e8eae /net/lapb/lapb_subr.c | |
parent | m68k: atari: Use str_on_off() helper in atari_nvram_proc_read() (diff) | |
download | wireguard-linux-738fa3feb2e38bb603616093ff2e089f5bf8e103.tar.xz wireguard-linux-738fa3feb2e38bb603616093ff2e089f5bf8e103.zip |
zorro: 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>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/20241216-sysfs-const-bin_attr-zorro-v1-1-220a38d49507@weissschuh.net
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions