Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f1f3ece authored by Ravi Anand's avatar Ravi Anand Committed by James Bottomley
Browse files

[SCSI] qla2xxx: Pass the command's data residual to upper-layer callers.

parent 2bfd2e13
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
			}