Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: arcmsr: Declare SCSI host template const

Make it explicit that the SCSI host template is not modified.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230322195515.1267197-22-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Bart Van Assche and committed by
Martin K. Petersen
34f5d2dc dbb26f2b

+1 -1
+1 -1
drivers/scsi/arcmsr/arcmsr_hba.c
··· 152 152 return scsi_change_queue_depth(sdev, queue_depth); 153 153 } 154 154 155 - static struct scsi_host_template arcmsr_scsi_host_template = { 155 + static const struct scsi_host_template arcmsr_scsi_host_template = { 156 156 .module = THIS_MODULE, 157 157 .name = "Areca SAS/SATA RAID driver", 158 158 .info = arcmsr_info,