1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/zorro
Thomas Weißschuh 738fa3feb2 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>
2025-01-08 18:04:36 +01:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
gen-devlist.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
names.c zorro: Include zorro.h in names.c 2023-08-21 13:27:44 +02:00
proc.c proc: remove PDE_DATA() completely 2022-01-22 08:33:37 +02:00
zorro-driver.c zorro: make match function take a const pointer 2024-07-10 10:25:54 +02:00
zorro-sysfs.c zorro: Constify 'struct bin_attribute' 2025-01-08 18:04:36 +01:00
zorro.c zorro: Use str_plural() in amiga_zorro_probe() 2024-06-24 12:16:33 +02:00
zorro.h zorro: Make zorro_bus_type const 2024-02-19 11:10:55 +01:00
zorro.ids misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00