diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-15 14:18:59 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 09:20:31 +0100 |
| commit | 05a9896fa9e15466456a1b1dc9d2eacdf3551b79 (patch) | |
| tree | 05d2ed8e9ec8e61950e0871330d54ef2401c5c71 /net/lapb/lapb_timer.c | |
| parent | ae7a15fb2920844e61cc71199cd1a08795716c54 (diff) | |
pcmcia: cistpl: 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>
Link: https://lore.kernel.org/r/20241215-sysfs-const-bin_attr-pcmcia-v1-1-ebb82e47d834@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
