summaryrefslogtreecommitdiff
path: root/drivers/scsi/smartpqi
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2022-02-18 22:51:10 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2022-02-23 05:11:06 +0300
commit5597616333ea8a8d1327749176e70a4bb2e59c5c (patch)
tree4e2b7c5ffd9bb4bb45a5a33e2e8949e93f5117ec /drivers/scsi/smartpqi
parent504540d00fd5b4912dc3b9434d67a8902dad480d (diff)
downloadlinux-5597616333ea8a8d1327749176e70a4bb2e59c5c.tar.xz
scsi: qla2xxx: Stop using the SCSI pointer
Instead of using the SCp.ptr field to track whether or not a command is in flight, use the sp->type field to track this information. sp->type must be set for proper operation of the qla2xxx driver. See e.g. the switch (sp->type) statement in qla2x00_ct_entry(). This patch prepares for removal of the SCSI pointer from struct scsi_cmnd. Link: https://lore.kernel.org/r/20220218195117.25689-43-bvanassche@acm.org Cc: Nilesh Javali <njavali@marvell.com> Cc: Ewan D. Milne <emilne@redhat.com> Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Daniel Wagner <dwagner@suse.de> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/smartpqi')
0 files changed, 0 insertions, 0 deletions