diff options
author | Tejun Heo <htejun@gmail.com> | 2005-08-07 07:53:40 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-10 19:34:58 +0200 |
commit | fae009847c9ea3d668bbee21ce1d76764eca5039 (patch) | |
tree | b0272cf5f64ce8e0e7ae15018e9318ac7b0ad732 /COPYING | |
parent | [PATCH] Fix ide-disk.c oops caused by hwif == NULL (diff) | |
download | linux-fae009847c9ea3d668bbee21ce1d76764eca5039.tar.xz linux-fae009847c9ea3d668bbee21ce1d76764eca5039.zip |
[PATCH] sata: fix sata_sx4 dma_prep to not use sg->length
sata_sx4 directly references sg->length to calculate total_len in
pdc20621_dma_prep(). This is incorrect as dma_map_sg() could have
merged multiple sg's into one and, in such case, sg->length doesn't
reflect true size of the entry. This patch makes it use
sg_dma_len(sg).
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions