linux-kernelorg-stable/drivers/base/firmware_loader
Thomas Weißschuh c1ecb860a4 firmware_loader: 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: Russ Weight <russ.weight@linux.dev>
Link: https://lore.kernel.org/r/20241222-sysfs-const-bin_attr-firmware-v1-1-c35e56bfb4eb@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-10 10:15:11 +01:00
..
builtin module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
Kconfig rust: add firmware abstractions 2024-06-18 18:45:12 +02:00
Makefile
fallback.c
fallback.h
fallback_platform.c
fallback_table.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
firmware.h
main.c firmware_loader: Fix possible resource leak in fw_log_firmware_info() 2024-11-13 07:13:50 +01:00
sysfs.c firmware_loader: Constify 'struct bin_attribute' 2025-01-10 10:15:11 +01:00
sysfs.h module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
sysfs_upload.c
sysfs_upload.h