summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorArun Easi <arun.easi@qlogic.com>2011-11-18 09:02:10 -0800
committerJames Bottomley <JBottomley@Parallels.com>2011-12-12 12:33:22 +0400
commit4e85e3d92fd1b52989882062f5cb143a31375b62 (patch)
treeed71583d21f23ebaf3faf4c774cd9b17daf629e9 /drivers/scsi
parentad537689c30d8e35300dcc93a109a966b8a89478 (diff)
downloadlinux-4e85e3d92fd1b52989882062f5cb143a31375b62.tar.gz
linux-4e85e3d92fd1b52989882062f5cb143a31375b62.tar.bz2
linux-4e85e3d92fd1b52989882062f5cb143a31375b62.zip
[SCSI] qla2xxx: Check for SCSI status on underruns.
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/scsi')
-rw-r--r--drivers/scsi/qla2xxx/qla_isr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
index 2516adf1aeea..7b91b290ffd6 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -1741,7 +1741,7 @@ qla2x00_status_entry(scsi_qla_host_t *vha, struct rsp_que *rsp, void *pkt)
resid, scsi_bufflen(cp));
cp->result = DID_ERROR << 16 | lscsi_status;
- break;
+ goto check_scsi_status;
}
if (!lscsi_status &&