projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bfd2e1
)
[SCSI] qla2xxx: Pass the command's data residual to upper-layer callers.
author
Ravi Anand
<ravi.anand@qlogic.com>
Fri, 31 Jul 2009 22:09:23 +0000
(15:09 -0700)
committer
James Bottomley
<James.Bottomley@suse.de>
Sat, 22 Aug 2009 22:52:15 +0000
(17:52 -0500)
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>
drivers/scsi/qla2xxx/qla_isr.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_isr.c
b/drivers/scsi/qla2xxx/qla_isr.c
index 245e7afb4c4dcf897c54029f8a3940408a2a4fbe..f966d540d2cd975f908970924953bb1c3bce4cd2 100644
(file)
--- 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)
cp->device->id, cp->device->lun, resid,
scsi_bufflen(cp)));
+ scsi_set_resid(cp, resid);
cp->result = DID_ERROR << 16;
break;
}