diff options
author | 2024-12-16 12:30:10 +0100 | |
---|---|---|
committer | 2024-12-18 20:05:06 +0200 | |
commit | 8ab3bf4764136e8ad8d1064c304be50297bcf9ad (patch) | |
tree | 922097efe2fab9ccf98c4c81bbe2c4cc02ed7c79 /net/wireless | |
parent | wifi: brcmfmac: clarify unmodifiable headroom log message (diff) | |
download | linux-rng-8ab3bf4764136e8ad8d1064c304be50297bcf9ad.tar.xz linux-rng-8ab3bf4764136e8ad8d1064c304be50297bcf9ad.zip |
wifi: wlcore: sysfs: 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>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20241216-sysfs-const-bin_attr-net-v1-3-ec460b91f274@weissschuh.net
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions