]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit07584b21a40ab843944cb1b287f329b328e851fc
tree7c8d9e51241df8bde636bbace2ad5a58752b5a53
parent7f632615390a4e89fe7de15e39168e0d9cac0720
[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