aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-16 13:30:54 +0100
committerGeert Uytterhoeven <geert@linux-m68k.org>2025-01-08 18:04:36 +0100
commit738fa3feb2e38bb603616093ff2e089f5bf8e103 (patch)
tree14cf8c8c097688a83406f09be0cda299f39e8eae /scripts/generate_rust_analyzer.py
parentm68k: atari: Use str_on_off() helper in atari_nvram_proc_read() (diff)
downloadwireguard-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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions