public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/11] scsi: Constify 'struct bin_attribute'
@ 2024-12-16 11:29 Thomas Weißschuh
  2024-12-16 11:29 ` [PATCH 01/11] scsi: core: " Thomas Weißschuh
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Thomas Weißschuh @ 2024-12-16 11:29 UTC (permalink / raw)
  To: James E.J. Bottomley, Martin K. Petersen, Adam Radford,
	Bradley Grove, Tyrel Datwyler, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy, Naveen N Rao, Madhavan Srinivasan, James Smart,
	Dick Kennedy, Brian King, Saurav Kashyap, Javed Hasan,
	GR-QLogic-Storage-Upstream, Nilesh Javali, Manish Rangankar
  Cc: linux-scsi, linux-kernel, linuxppc-dev, Thomas Weißschuh

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>
---
Thomas Weißschuh (11):
      scsi: core: Constify 'struct bin_attribute'
      scsi: 3w-sas: Constify 'struct bin_attribute'
      scsi: arcmsr: Constify 'struct bin_attribute'
      scsi: esas2r: Constify 'struct bin_attribute'
      scsi: ibmvfc: Constify 'struct bin_attribute'
      scsi: lpfc: Constify 'struct bin_attribute'
      scsi: ipr: Constify 'struct bin_attribute'
      scsi: qedf: Constify 'struct bin_attribute'
      scsi: qedi: Constify 'struct bin_attribute'
      scsi: qla2xxx: Constify 'struct bin_attribute'
      scsi: qla4xxx: Constify 'struct bin_attribute'

 drivers/scsi/3w-sas.c             | 12 +++---
 drivers/scsi/arcmsr/arcmsr_attr.c | 12 +++---
 drivers/scsi/esas2r/esas2r.h      | 12 +++---
 drivers/scsi/esas2r/esas2r_main.c | 32 ++++++++--------
 drivers/scsi/ibmvscsi/ibmvfc.c    |  6 +--
 drivers/scsi/ipr.c                | 26 ++++++-------
 drivers/scsi/lpfc/lpfc_attr.c     | 20 +++++-----
 drivers/scsi/qedf/qedf_attr.c     | 10 ++---
 drivers/scsi/qedf/qedf_dbg.h      |  2 +-
 drivers/scsi/qedi/qedi_dbg.h      |  2 +-
 drivers/scsi/qla2xxx/qla_attr.c   | 80 +++++++++++++++++++--------------------
 drivers/scsi/qla4xxx/ql4_attr.c   | 12 +++---
 drivers/scsi/scsi_sysfs.c         | 16 ++++----
 13 files changed, 121 insertions(+), 121 deletions(-)
---
base-commit: 2d8308bf5b67dff50262d8a9260a50113b3628c6
change-id: 20241215-sysfs-const-bin_attr-scsi-bf43eb2f7f9e

Best regards,
-- 
Thomas Weißschuh <linux@weissschuh.net>


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-01-10 21:18 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-16 11:29 [PATCH 00/11] scsi: Constify 'struct bin_attribute' Thomas Weißschuh
2024-12-16 11:29 ` [PATCH 01/11] scsi: core: " Thomas Weißschuh
2024-12-16 11:29 ` [PATCH 02/11] scsi: 3w-sas: " Thomas Weißschuh
2024-12-16 11:29 ` [PATCH 03/11] scsi: arcmsr: " Thomas Weißschuh
2024-12-16 11:29 ` [PATCH 04/11] scsi: esas2r: " Thomas Weißschuh
2024-12-16 11:29 ` [PATCH 05/11] scsi: ibmvfc: " Thomas Weißschuh
2024-12-16 11:29 ` [PATCH 06/11] scsi: lpfc: " Thomas Weißschuh
2024-12-16 11:29 ` [PATCH 07/11] scsi: ipr: " Thomas Weißschuh
2024-12-16 11:29 ` [PATCH 08/11] scsi: qedf: " Thomas Weißschuh
2024-12-16 11:29 ` [PATCH 09/11] scsi: qedi: " Thomas Weißschuh
2024-12-16 11:29 ` [PATCH 10/11] scsi: qla2xxx: " Thomas Weißschuh
2024-12-16 11:29 ` [PATCH 11/11] scsi: qla4xxx: " Thomas Weißschuh
2025-01-02 20:10 ` [PATCH 00/11] scsi: " Martin K. Petersen
2025-01-10 21:16 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox