Commit 4e85e3d9 authored by Arun Easi's avatar Arun Easi Committed by James Bottomley

[SCSI] qla2xxx: Check for SCSI status on underruns.

Signed-off-by: default avatarArun Easi <arun.easi@qlogic.com>
Signed-off-by: default avatarChad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent ad537689
...@@ -1741,7 +1741,7 @@ qla2x00_status_entry(scsi_qla_host_t *vha, struct rsp_que *rsp, void *pkt) ...@@ -1741,7 +1741,7 @@ qla2x00_status_entry(scsi_qla_host_t *vha, struct rsp_que *rsp, void *pkt)
resid, scsi_bufflen(cp)); resid, scsi_bufflen(cp));
cp->result = DID_ERROR << 16 | lscsi_status; cp->result = DID_ERROR << 16 | lscsi_status;
break; goto check_scsi_status;
} }
if (!lscsi_status && if (!lscsi_status &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment