diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 20:55:02 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-25 00:19:59 +0100 |
commit | 421c20b7668e31a63c9dc1dad0e5ee79b5ae9027 (patch) | |
tree | 36a2c8924de3bffa6b4b4cf23dfbf37fc4753a9f /drivers/scsi/qla2xxx/qla_os.c | |
parent | scsi: qla1280: Declare SCSI host template const (diff) | |
download | linux-421c20b7668e31a63c9dc1dad0e5ee79b5ae9027.tar.xz linux-421c20b7668e31a63c9dc1dad0e5ee79b5ae9027.zip |
scsi: qla2xxx: 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-68-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 545167627e48..08e7873abb3d 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c @@ -5004,8 +5004,8 @@ qla2x00_mem_free(struct qla_hw_data *ha) ha->vp_map = NULL; } -struct scsi_qla_host *qla2x00_create_host(struct scsi_host_template *sht, - struct qla_hw_data *ha) +struct scsi_qla_host *qla2x00_create_host(const struct scsi_host_template *sht, + struct qla_hw_data *ha) { struct Scsi_Host *host; struct scsi_qla_host *vha = NULL; |