summaryrefslogtreecommitdiff
path: root/scripts/genksyms
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2008-02-25 13:23:45 (GMT)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-03-03 19:06:37 (GMT)
commit67768f675ffa587d6081ed1d259e796823023926 (patch)
tree5b414048a5a236194ce196e50b3a0a5049ebc83b /scripts/genksyms
parent00da714b31b944400ee789e477f58247cff30b1b (diff)
downloadlinux-fsl-qoriq-67768f675ffa587d6081ed1d259e796823023926.tar.xz
[SCSI] ps3rom: fix wrong resid calculation bug
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. [Geert: the variable buflen already contains scsi_bufflen(cmd)] Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'scripts/genksyms')
0 files changed, 0 insertions, 0 deletions