summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorArun Easi <arun.easi@qlogic.com>2012-02-09 20:14:03 +0100
committerJames Bottomley <JBottomley@Parallels.com>2012-02-18 15:40:20 +0100
commita55aac79de0ea6fc52d35f535867b6573a5ff0f8 (patch)
treec9388a6b197855e98e01a3c0637c57a12d950deb /drivers
parent[SCSI] isci: Fix NULL ptr dereference when no firmware is being loaded (diff)
downloadlinux-a55aac79de0ea6fc52d35f535867b6573a5ff0f8.tar.xz
linux-a55aac79de0ea6fc52d35f535867b6573a5ff0f8.zip
[SCSI] qla2xxx: Propagate up abort failures.
Signed-off-by: Arun Easi <arun.easi@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 4ed1e4a96b95..b4b185c7bad6 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -877,6 +877,7 @@ qla2xxx_eh_abort(struct scsi_cmnd *cmd)
spin_unlock_irqrestore(&ha->hardware_lock, flags);
if (ha->isp_ops->abort_command(sp)) {
+ ret = FAILED;
ql_dbg(ql_dbg_taskm, vha, 0x8003,
"Abort command mbx failed cmd=%p.\n", cmd);
} else {