diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2009-05-27 04:43:03 +0400 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2009-05-29 16:27:05 +0400 |
commit | 88f3907f6f447899544beadf491dccb32015dacb (patch) | |
tree | 65566b6711d85b951d55982d3bcc0c7393d6ad73 /fs/jbd | |
parent | 884d05970bfbc3db368f23460dc4ce63257f240d (diff) | |
download | linux-88f3907f6f447899544beadf491dccb32015dacb.tar.xz |
dma-debug: fix debug_dma_sync_sg_for_cpu and debug_dma_sync_sg_for_device
DMA-mapping.txt says that debug_dma_sync_sg family must be called with
the _same_ one you passed into the dma_map_sg call, it should _NOT_ be
the 'count' value _returned_ from the dma_map_sg call.
debug_dma_sync_sg_for_cpu and debug_dma_sync_sg_for_device can't
handle this properly; they need to use the sg_mapped_ents in struct
dma_debug_entry as debug_dma_unmap_sg() does.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'fs/jbd')
0 files changed, 0 insertions, 0 deletions