diff options
| author | 2024-12-16 12:29:15 +0100 | |
|---|---|---|
| committer | 2025-01-02 15:07:46 -0500 | |
| commit | a8116aa2898b01fb17df346cce9e477ab8538c4c (patch) | |
| tree | c4274e4f5f9d18573ebfc407d8cd0e2080ed596e /include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com | |
| parent | scsi: ipr: Constify 'struct bin_attribute' (diff) | |
scsi: qedf: 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/20241216-sysfs-const-bin_attr-scsi-v1-8-f0a5e54b3437@weissschuh.net
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
