diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2009-05-27 02:43:02 +0200 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2009-05-29 14:26:55 +0200 |
commit | 884d05970bfbc3db368f23460dc4ce63257f240d (patch) | |
tree | d4dbd2376fc75baf5312e30799e5937e68da9746 /REPORTING-BUGS | |
parent | dma-debug: use sg_dma_address accessor instead of using dma_address directly (diff) | |
download | linux-884d05970bfbc3db368f23460dc4ce63257f240d.tar.xz linux-884d05970bfbc3db368f23460dc4ce63257f240d.zip |
dma-debug: use sg_dma_len accessor
debug_dma_map_sg() and debug_dma_unmap_sg() use length in struct
scatterlist while debug_dma_sync_sg_for_cpu() and
debug_dma_sync_sg_for_device() use dma_length. This causes bugs
warnings on some IOMMU implementations since these values are not
same; the length doesn't represent the dma length.
We always need to use sg_dma_len() accessor to get the dma length of a
scatterlist entry.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions