summaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-16 14:29:09 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2025-01-02 23:07:45 +0300
commit1cf448bd2e6ab15ab89a36f304c4fbddad0f76b9 (patch)
tree8d8c52bfdad9ca5a05a7892223e436d5c262a5d7 /lib/crypto/mpi/mpi-sub-ui.c
parente4dab5d1ded3a9315951a3d662af4b0238b780c3 (diff)
downloadlinux-1cf448bd2e6ab15ab89a36f304c4fbddad0f76b9.tar.xz
scsi: 3w-sas: 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-2-f0a5e54b3437@weissschuh.net Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions