summaryrefslogtreecommitdiff
path: root/drivers/scsi/mpi3mr
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2023-03-25 03:13:03 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2023-03-25 03:13:03 +0300
commit62d15dba0aa4448c15da9c9443018c70fc2527b2 (patch)
tree09817a55288ad1754dbd201488824382b9df622e /drivers/scsi/mpi3mr
parent9abb593e59ce0960a3282b3fd92b80d1aa426a0e (diff)
parent04d1fa4346ccedde68886a4d5a0003f3a322467b (diff)
downloadlinux-62d15dba0aa4448c15da9c9443018c70fc2527b2.tar.xz
Merge patch series "Constify most SCSI host templates"
Bart Van Assche <bvanassche@acm.org> says: It helps humans and the compiler if it is made explicit that SCSI host templates are not modified. Hence this patch series that constifies most SCSI host templates. Please consider this patch series for the next merge window. Link: https://lore.kernel.org/r/20230322195515.1267197-1-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpi3mr')
-rw-r--r--drivers/scsi/mpi3mr/mpi3mr_os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/mpi3mr/mpi3mr_os.c b/drivers/scsi/mpi3mr/mpi3mr_os.c
index 39ebaa8a0fc8..5db412ad9fd8 100644
--- a/drivers/scsi/mpi3mr/mpi3mr_os.c
+++ b/drivers/scsi/mpi3mr/mpi3mr_os.c
@@ -4795,7 +4795,7 @@ out:
return retval;
}
-static struct scsi_host_template mpi3mr_driver_template = {
+static const struct scsi_host_template mpi3mr_driver_template = {
.module = THIS_MODULE,
.name = "MPI3 Storage Controller",
.proc_name = MPI3MR_DRIVER_NAME,