summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-22 21:20:50 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-10 10:15:11 +0100
commitc1ecb860a48d0bf56b0fc8391c5d59b0c3b42516 (patch)
tree8d79f60f1961de9400e3b0c0436fa9d8f59a57f0 /scripts/lib/kdoc/kdoc_files.py
parent2a8d6abdf5cfdc7df934968f2e8292d050f20b20 (diff)
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>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions