Skip to content

Commit

Permalink
[SCSI] qla2xxx: Check for SCSI status on underruns.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arun Easi authored and James Bottomley committed Dec 12, 2011
1 parent ad53768 commit 4e85e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/qla2xxx/qla_isr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit 4e85e3d

Please sign in to comment.