aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx
diff options
context:
space:
mode:
authorRavi Anand <ravi.anand@qlogic.com>2009-07-31 18:09:23 -0400
committerJames Bottomley <James.Bottomley@suse.de>2009-08-22 18:52:15 -0400
commit8f1f3ece891e8fe6ee69fa27617b60cb26e37bec (patch)
treeb0fc9220012f246677679cfab859f7d909d35ff7 /drivers/scsi/qla2xxx
parent2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0 (diff)
[SCSI] qla2xxx: Pass the command's data residual to upper-layer callers.
Signed-off-by: Ravi Anand <ravi.anand@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
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 245e7afb4c4d..f966d540d2cd 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -1223,6 +1223,7 @@ qla2x00_status_entry(scsi_qla_host_t *vha, struct rsp_que *rsp, void *pkt)
1223 cp->device->id, cp->device->lun, resid, 1223 cp->device->id, cp->device->lun, resid,
1224 scsi_bufflen(cp))); 1224 scsi_bufflen(cp)));
1225 1225
1226 scsi_set_resid(cp, resid);
1226 cp->result = DID_ERROR << 16; 1227 cp->result = DID_ERROR << 16;
1227 break; 1228 break;
1228 } 1229 }