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

scsi: imm: 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-46-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Bart Van Assche and committed by
Martin K. Petersen
09dce26c 7bced3fc

+1 -1
+1 -1
drivers/scsi/imm.c
··· 1096 1096 return 0; 1097 1097 } 1098 1098 1099 - static struct scsi_host_template imm_template = { 1099 + static const struct scsi_host_template imm_template = { 1100 1100 .module = THIS_MODULE, 1101 1101 .proc_name = "imm", 1102 1102 .show_info = imm_show_info,