Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: DMA-mapping: fix memory leak in IOMMU dma-mapping implementation
This patch removes page_address() usage in IOMMU-aware dma-mapping implementation and replaced it with direct use of the cpu virtual address provided by the caller. page_address() returned incorrect address for pages remapped in atomic pool, what caused memory leak. Reported-by: Hiroshi Doyu <[email protected]> Signed-off-by: Marek Szyprowski <[email protected]> Tested-by: Hiroshi Doyu <[email protected]>
- Loading branch information