summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Easi2012-08-22 20:21:32 +0200
committerJames Bottomley2012-09-24 10:10:54 +0200
commitfb6e4668320c49d2b7483e6104a674fafcaa30c9 (patch)
treea796d6399e0635928a21c6e391586fac93ecf117
parent[SCSI] qla2xxx: T10 DIF - ISP83xx changes. (diff)
downloadkernel-qcow2-linux-fb6e4668320c49d2b7483e6104a674fafcaa30c9.tar.gz
kernel-qcow2-linux-fb6e4668320c49d2b7483e6104a674fafcaa30c9.tar.xz
kernel-qcow2-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>
-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: