summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla4xxx/ql4_mbx.c
diff options
context:
space:
mode:
authorKaren Higgins <karen.higgins@qlogic.com>2009-07-15 20:03:01 (GMT)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-07-30 13:50:01 (GMT)
commit612f73488785829d4f34aad00bfe30b904c94c9e (patch)
treeecd72c97495798efeb209c63de4607a94059da1b /drivers/scsi/qla4xxx/ql4_mbx.c
parentdca05c4c07c48da0509708d9e562578d269e90e5 (diff)
downloadlinux-fsl-qoriq-612f73488785829d4f34aad00bfe30b904c94c9e.tar.xz
[SCSI] qla4xxx: Fix srb lookup in qla4xxx_eh_device_reset
eh_device_reset may be called from scsi error handler or sg_reset, etc. When called from sg_reset, there will not be an associated srb. The driver should lookup the corresponding device handle given information from the supplied cmd structure and should not assume that there exists an srb. Signed-off-by: Karen Higgins <karen.higgins@qlogic.com> Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_mbx.c')
0 files changed, 0 insertions, 0 deletions