From: Bart Van Assche Date: Wed, 22 Mar 2023 19:54:31 +0000 (-0700) Subject: scsi: fnic: Declare host template const X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bf3614bd7e8a3727d29b01e76596daa7c40f5be0;p=linux.git scsi: fnic: Declare host template const Make it explicit that the SCSI host template is not modified. Signed-off-by: Bart Van Assche Link: https://lore.kernel.org/r/20230322195515.1267197-37-bvanassche@acm.org Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/fnic/fnic_main.c b/drivers/scsi/fnic/fnic_main.c index 1077110ab273f..984bc5fc55e29 100644 --- a/drivers/scsi/fnic/fnic_main.c +++ b/drivers/scsi/fnic/fnic_main.c @@ -95,7 +95,7 @@ static int fnic_slave_alloc(struct scsi_device *sdev) return 0; } -static struct scsi_host_template fnic_host_template = { +static const struct scsi_host_template fnic_host_template = { .module = THIS_MODULE, .name = DRV_NAME, .queuecommand = fnic_queuecommand,