[SCSI] stex: use resid for xfer len information
authorEd Lin <ed.lin@promise.com>
Thu, 5 Jul 2007 19:09:06 +0000 (12:09 -0700)
committerJames Bottomley <jejb@mulgrave.localdomain>
Sat, 14 Jul 2007 23:59:10 +0000 (18:59 -0500)
The original implementation in stex_ys_commands() is inappropriate.
For xfer len information, we should use resid instead.

Signed-off-by: Ed Lin <ed.lin@promise.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/stex.c

Simple merge