Tom Rix
aa4d7812cf
scsi: target: core: Remove unused 'prod_len' variable
...
clang with W=1 reports:
drivers/target/target_core_spc.c:229:6: error: variable
'prod_len' set but not used [-Werror,-Wunused-but-set-variable]
u32 prod_len;
^
This variable is not used so remove it.
Signed-off-by: Tom Rix <trix@redhat.com >
Link: https://lore.kernel.org/r/20230329132421.1809362-1-trix@redhat.com
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-04-02 21:35:52 -04:00
Jason Yan
0e4b1791d9
scsi: libsas: Abort all in-flight requests when device is gone
...
When a disk is removed with in-flight I/O, the application needs to wait
for 30 seconds (depending on the timeout configuration) to hear back from
the kernel. Xingui tried to fix this issue by aborting the ATA link for
SATA devices[1], however this approach left the SAS devices unresolved.
Try to fix this issue by aborting all in-flight requests when the device is
gone. This is implemented by iterating over the tagset.
[1] https://lore.kernel.org/lkml/234e04db-7539-07e4-a6b8-c6b05f78193d@opensource.wdc.com/T/
Cc: Xingui Yang <yangxingui@huawei.com >
Cc: John Garry <john.g.garry@oracle.com >
Cc: Damien Le Moal <damien.lemoal@opensource.wdc.com >
Cc: Hannes Reinecke <hare@suse.com >
Signed-off-by: Jason Yan <yanaijie@huawei.com >
Link: https://lore.kernel.org/r/20230330110930.175539-1-yanaijie@huawei.com
Reviewed-by: John Garry <john.g.garry@oracle.com >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-04-02 21:19:12 -04:00
Stanley Chu
543a827b1d
scsi: core: Clean up struct ufs_saved_pwr_info
...
The "is_valid" field of the struct ufs_saved_pwr_info is no longer used,
and this struct can be replaced by struct ufs_pa_layer_attr without any
changes to the functionality.
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com >
Link: https://lore.kernel.org/r/20230330012918.13748-1-stanley.chu@mediatek.com
Reviewed-by: Avri Altman <avri.altman@wdc.com >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-04-02 21:14:45 -04:00
Martin K. Petersen
f467b865cf
Merge branch '6.3/scsi-fixes' into 6.4/scsi-staging
...
Pull in the fixes branch to resolve an mpi3mr conflict reported by
sfr.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-31 21:45:14 -04:00
Jerry Snitselaar
d684a7a26f
scsi: mpt3sas: Don't print sense pool info twice
...
_base_allocate_sense_dma_pool() already prints out the sense pool
information, so don't print it a second time after calling it in
_base_allocate_memory_pools(). In addition the version in
_base_allocate_memory_pools() was using the wrong size value, sz, which was
last assigned when doing some nvme calculations instead of sense_sz to
determine the pool size in kilobytes.
Cc: Sathya Prakash <sathya.prakash@broadcom.com >
Cc: Sreekanth Reddy <sreekanth.reddy@broadcom.com >
Cc: Suganath Prabu Subramani <suganath-prabu.subramani@broadcom.com >
Cc: MPT-FusionLinux.pdl@broadcom.com
Cc: "Martin K. Petersen" <martin.petersen@oracle.com >
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com >
Fixes: 970ac2bb70 ("scsi: mpt3sas: Force sense buffer allocations to be within same 4 GB region")
Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com >
Link: https://lore.kernel.org/r/20230324193204.567932-1-jsnitsel@redhat.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 21:07:42 -04:00
Damien Le Moal
f0aa59a33d
scsi: core: Improve scsi_vpd_inquiry() checks
...
Some USB-SATA adapters have broken behavior when an unsupported VPD page is
probed: Depending on the VPD page number, a 4-byte header with a valid VPD
page number but with a 0 length is returned. Currently, scsi_vpd_inquiry()
only checks that the page number is valid to determine if the page is
valid, which results in receiving only the 4-byte header for the
non-existent page. This error manifests itself very often with page 0xb9
for the Concurrent Positioning Ranges detection done by sd_read_cpr(),
resulting in the following error message:
sd 0:0:0:0: [sda] Invalid Concurrent Positioning Ranges VPD page
Prevent such misleading error message by adding a check in
scsi_vpd_inquiry() to verify that the page length is not 0.
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com >
Link: https://lore.kernel.org/r/20230322022211.116327-1-damien.lemoal@opensource.wdc.com
Reviewed-by: Benjamin Block <bblock@linux.ibm.com >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 21:01:32 -04:00
Tomas Henzl
2309df2711
scsi: megaraid_sas: Fix crash after a double completion
...
When a physical disk is attached directly "without JBOD MAP support" (see
megasas_get_tm_devhandle()) then there is no real error handling in the
driver. Return FAILED instead of SUCCESS.
Fixes: 18365b1385 ("megaraid_sas: Task management support")
Signed-off-by: Tomas Henzl <thenzl@redhat.com >
Link: https://lore.kernel.org/r/20230324150134.14696-1-thenzl@redhat.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 20:58:29 -04:00
Tomas Henzl
0808ed6ebb
scsi: megaraid_sas: Fix fw_crash_buffer_show()
...
If crash_dump_buf is not allocated then crash dump can't be available.
Replace logical 'and' with 'or'.
Signed-off-by: Tomas Henzl <thenzl@redhat.com >
Link: https://lore.kernel.org/r/20230324135249.9733-1-thenzl@redhat.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 20:54:34 -04:00
Lizhe
882f4adac9
scsi: target: tcm_loop: Remove redundant driver match function
...
If there is no driver match function, the driver core assumes that each
candidate pair (driver, device) matches. See driver_match_device().
pseudo_lld_bus_match() always returns 1 and is therefore equivalent to not
registering a match function. Remove it.
Signed-off-by: Lizhe <sensor1010@163.com >
Link: https://lore.kernel.org/r/20230319043518.297490-1-sensor1010@163.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 20:44:14 -04:00
Zheng Wang
f486893288
scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition
...
mptlan_probe() calls mpt_register_lan_device() which initializes the
&priv->post_buckets_task workqueue. A call to
mpt_lan_wake_post_buckets_task() will subsequently start the work.
During driver unload in mptlan_remove() the following race may occur:
CPU0 CPU1
|mpt_lan_post_receive_buckets_work()
mptlan_remove() |
free_netdev() |
kfree(dev); |
|
| dev->mtu
| //use
Fix this by finishing the work prior to cleaning up in mptlan_remove().
[mkp: we really should remove mptlan instead of attempting to fix it]
Signed-off-by: Zheng Wang <zyytlz.wz@163.com >
Link: https://lore.kernel.org/r/20230318081635.796479-1-zyytlz.wz@163.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 20:38:50 -04:00
Danila Chernetsov
75cb113cd4
scsi: megaraid: Fix mega_cmd_done() CMDID_INT_CMDS
...
When cmdid == CMDID_INT_CMDS, the 'cmds' pointer is NULL but is
dereferenced below.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 0f2bb84d2a ("[SCSI] megaraid: simplify internal command handling")
Signed-off-by: Danila Chernetsov <listdansp@mail.ru >
Link: https://lore.kernel.org/r/20230317175109.18585-1-listdansp@mail.ru
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 20:27:17 -04:00
Martin K. Petersen
62d15dba0a
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 >
2023-03-24 20:13:03 -04:00
Bart Van Assche
04d1fa4346
scsi: usb: uas: Declare two host templates and host template pointers const
...
Improve source code documentation by constifying host templates that are
not modified.
Acked-by: Alan Stern <stern@rowland.harvard.edu > (for usb-storage)
Acked-by: Oliver Neukum <oneukum@suse.com >
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Cc: Oliver Neukum <oneukum@suse.com >
Cc: linux-usb@vger.kernel.org
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
Link: https://lore.kernel.org/r/20230322195515.1267197-81-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:20:00 -04:00
Bart Van Assche
f2e2fe3dec
scsi: ufs: 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-80-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:20:00 -04:00
Bart Van Assche
8e2ab8cda5
scsi: target: tcm-loop: 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-79-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:20:00 -04:00
Bart Van Assche
f8adf8e99a
scsi: rts5208: Declare SCSI host template const
...
Make it explicit that the SCSI host template is not modified.
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
Link: https://lore.kernel.org/r/20230322195515.1267197-78-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:20:00 -04:00
Bart Van Assche
65e5447a10
scsi: xen-scsifront: Declare SCSI host template const
...
Make it explicit that the SCSI host template is not modified.
Reviewed-by: Juergen Gross <jgross@suse.com >
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
Link: https://lore.kernel.org/r/20230322195515.1267197-77-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:20:00 -04:00
Bart Van Assche
a5b78e81c7
scsi: wd719x: 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-76-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:59 -04:00
Bart Van Assche
273ab25195
scsi: virtio-scsi: 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-75-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:59 -04:00
Bart Van Assche
d2c16f8f1e
scsi: sym53c8xx: 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-74-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:59 -04:00
Bart Van Assche
08d6075192
scsi: stex: 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-73-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:59 -04:00
Bart Van Assche
8fb5b37e07
scsi: snic: 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-72-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:59 -04:00
Bart Van Assche
077126d6b9
scsi: smartpqi: 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-71-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:59 -04:00
Bart Van Assche
4517353a04
scsi: sgiwd93: 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-70-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:59 -04:00
Bart Van Assche
7c7a141917
scsi: qlogicpti: 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-69-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:59 -04:00
Bart Van Assche
421c20b766
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 >
2023-03-24 19:19:59 -04:00
Bart Van Assche
796e8f8082
scsi: qla1280: 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-67-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:59 -04:00
Bart Van Assche
4fe61364e7
scsi: ps3rom: Declare SCSI host template const
...
Make it explicit that the SCSI host template is not modified.
Tested-by: Geoff Levand <geoff@infradead.org >
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
Link: https://lore.kernel.org/r/20230322195515.1267197-66-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:58 -04:00
Bart Van Assche
d23901a8d7
scsi: ppa: 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-65-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:58 -04:00
Bart Van Assche
4e9e0a51aa
scsi: pmcraid: 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-64-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:58 -04:00
Bart Van Assche
8fe69e4abd
scsi: pcmcia-pm8001: Declare SCSI host template const
...
Make it explicit that the SCSI host template is not modified.
Acked-by: Jack Wang <jinpu.wang@ionos.com >
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
Link: https://lore.kernel.org/r/20230322195515.1267197-63-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:58 -04:00
Bart Van Assche
54aefe23a6
scsi: pcmcia-sym53c500: 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-62-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:58 -04:00
Bart Van Assche
36242912e2
scsi: nsp32: 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-61-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:58 -04:00
Bart Van Assche
914fa37a8a
scsi: myrs: 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-60-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:58 -04:00
Bart Van Assche
8e64d59d1f
scsi: myrb: 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-59-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:58 -04:00
Bart Van Assche
8a098ba4d9
scsi: mvumi: 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-58-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:58 -04:00
Bart Van Assche
f01feece6b
scsi: mvsas: Declare SCSI host template const
...
Make it explicit that the SCSI host template is not modified.
Reviewed-by: John Garry <john.g.garry@oracle.com >
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
Link: https://lore.kernel.org/r/20230322195515.1267197-57-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:57 -04:00
Bart Van Assche
c9ac4e73b3
scsi: mvme147: 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-56-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:57 -04:00
Bart Van Assche
1785ced8bd
scsi: mpt3sas: 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-55-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:57 -04:00
Bart Van Assche
b85f82f3c9
scsi: mpi3mr: 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-54-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:57 -04:00
Bart Van Assche
0fabb7fbad
scsi: mesh: 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-53-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:57 -04:00
Bart Van Assche
264e222b00
scsi: megaraid: 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-52-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:57 -04:00
Bart Van Assche
5e328664ed
scsi: mac53c94: 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-51-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:57 -04:00
Bart Van Assche
80602aca4f
scsi: iscsi: Declare SCSI host template const
...
Make it explicit that the SCSI host template is not modified.
Reviewed-by: Mike Christie <michael.christie@oracle.com >
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
Link: https://lore.kernel.org/r/20230322195515.1267197-50-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:57 -04:00
Bart Van Assche
eb60d17a0e
scsi: isci: Declare SCSI host template const
...
Make it explicit that the ISCI host template is not modified.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
Link: https://lore.kernel.org/r/20230322195515.1267197-49-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:57 -04:00
Bart Van Assche
4ea4394e71
scsi: ipr: Declare SCSI host template const
...
Make it explicit that the SCSI host template is not modified.
Acked-by: Brian King <brking@linux.vnet.ibm.com >
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
Link: https://lore.kernel.org/r/20230322195515.1267197-48-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:57 -04:00
Bart Van Assche
4ba116af0f
scsi: initio: 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-47-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:56 -04:00
Bart Van Assche
09dce26c4a
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 >
2023-03-24 19:19:56 -04:00
Bart Van Assche
7bced3fc28
scsi: ibmvfc: Declare SCSI host template const
...
Make it explicit that the SCSI host template is not modified.
Acked-by: Tyrel Datwyler <tyreld@linux.ibm.com >
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
Link: https://lore.kernel.org/r/20230322195515.1267197-45-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:56 -04:00
Bart Van Assche
9194970bec
scsi: hptiop: 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-44-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
2023-03-24 19:19:56 -04:00