[PATCH 0/5] scsi: constify struct class usage

From: Ricardo B. Marliere
Date: Sat Mar 02 2024 - 11:47:39 EST


This is a simple and straight forward cleanup series that aims to make the
class structures in scsi constant. This has been possible since 2023 [1].

To: Doug Gilbert <dgilbert@xxxxxxxxxxxx>
To: James E.J. Bottomley <jejb@xxxxxxxxxxxxx>
To: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
To: Manoj N. Kumar <manoj@xxxxxxxxxxxxx>
To: Matthew R. Ochs <mrochs@xxxxxxxxxxxxx>
To: Uma Krishnan <ukrishn@xxxxxxxxxxxxx>
To: Kai Mäkisara <Kai.Makisara@xxxxxxxxxxx>
Cc: linux-scsi@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx

[1]: https://lore.kernel.org/all/2023040248-customary-release-4aec@gregkh/

Signed-off-by: Ricardo B. Marliere <ricardo@xxxxxxxxxxxx>
---
Ricardo B. Marliere (5):
scsi: sg: make sg_sysfs_class constant
scsi: pmcraid: make pmcraid_class constant
scsi: cxlflash: make cxlflash_class constant
scsi: ch: make ch_sysfs_class constant
scsi: st: make st_sysfs_class constant

drivers/scsi/ch.c | 20 ++++++++++----------
drivers/scsi/cxlflash/main.c | 17 ++++++++++-------
drivers/scsi/pmcraid.c | 20 +++++++++++---------
drivers/scsi/sg.c | 18 +++++++++---------
drivers/scsi/st.c | 4 ++--
5 files changed, 42 insertions(+), 37 deletions(-)
---
base-commit: 7b020ab8a0096db229749d6618b64659cf699331
change-id: 20240302-class_cleanup-scsi-f39456b95153

Best regards,
--
Ricardo B. Marliere <ricardo@xxxxxxxxxxxx>