On Sun, 24 Feb 2008, FUJITA Tomonori wrote:
> sg driver rounds up the length in struct scatterlist to be a multiple
> of 512 in some conditions. So LLDs can't use the data length in a sg
> list to calculate residual. Instead, the length in struct scsi_cmnd
> should be used.
Thanks!
> --- a/driver
sg driver rounds up the length in struct scatterlist to be a multiple
of 512 in some conditions. So LLDs can't use the data length in a sg
list to calculate residual. Instead, the length in struct scsi_cmnd
should be used.
Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]>
Cc: Geert Uytterhoeven <
2 matches
Mail list logo