summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx
diff options
context:
space:
mode:
authorArun Easi <arun.easi@qlogic.com>2012-08-22 14:21:32 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-09-24 12:10:54 +0400
commitfb6e4668320c49d2b7483e6104a674fafcaa30c9 (patch)
treea796d6399e0635928a21c6e391586fac93ecf117 /drivers/scsi/qla2xxx
parent9e522cd8f3dd7d19b644fc9cfc372bebde9f0053 (diff)
downloadblackbird-op-linux-fb6e4668320c49d2b7483e6104a674fafcaa30c9.tar.gz
blackbird-op-linux-fb6e4668320c49d2b7483e6104a674fafcaa30c9.zip
[SCSI] qla2xxx: Fix incorrect status reporting on DIF errors.
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/qla2xxx')
-rw-r--r--drivers/scsi/qla2xxx/qla_isr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
index 7614e14def92..c93cd6508347 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -2162,6 +2162,7 @@ check_scsi_status:
case CS_DIF_ERROR:
logit = qla2x00_handle_dif_error(sp, sts24);
+ res = cp->result;
break;
case CS_TRANSPORT:
OpenPOWER on IntegriCloud