]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] sym53c8xx: fix resid calculation
authorTony Battersby <tonyb@cybernetics.com>
Tue, 6 Nov 2007 21:07:04 +0000 (16:07 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 8 Feb 2008 00:02:34 +0000 (18:02 -0600)
This patch fixes the calculation of the data transfer residual for the
case of a command that is supposed to transfer an odd number of bytes on
a wide bus but transfers nothing instead.

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Cc: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

No differences found