]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/scsi/stex.c
[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)
commit968a5763fb7247feb0e69573a2975a7a0c094267
tree7c8d9e51241df8bde636bbace2ad5a58752b5a53
parent80dc3e062a8f82acd5852df15f6b4bc3359de871
[SCSI] stex: use resid for xfer len information

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