Merge patch series "scsi: Constify 'struct bin_attribute'"
authorMartin K. Petersen <martin.petersen@oracle.com>
Thu, 2 Jan 2025 20:08:42 +0000 (15:08 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 2 Jan 2025 20:08:42 +0000 (15:08 -0500)
Thomas Weißschuh <linux@weissschuh.net> says:

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.

Link: https://lore.kernel.org/r/20241216-sysfs-const-bin_attr-scsi-v1-0-f0a5e54b3437@weissschuh.net
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1  2 
drivers/scsi/3w-sas.c
drivers/scsi/ibmvscsi/ibmvfc.c
drivers/scsi/ipr.c
drivers/scsi/scsi_sysfs.c

Simple merge
Simple merge
Simple merge
Simple merge