diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2018-12-05 13:14:01 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-12-05 16:49:10 +0300 |
commit | a1da439cc0d929891f0f7372c9e03530c809068c (patch) | |
tree | a5b96286aa000411d10f7650df08405da3d84067 /include/linux/dma-mapping.h | |
parent | f04b951f6c7eccd85ea7750a5fafa68fb98d6bfa (diff) | |
download | linux-a1da439cc0d929891f0f7372c9e03530c809068c.tar.xz |
dma-mapping: fix lack of DMA address assignment in generic remap allocator
Commit bfd56cd60521 ("dma-mapping: support highmem in the generic remap
allocator") replaced dma_direct_alloc_pages() with __dma_direct_alloc_pages(),
which doesn't set dma_handle and zero allocated memory. Fix it by doing this
directly in the caller function.
Fixes: bfd56cd60521 ("dma-mapping: support highmem in the generic remap allocator")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/dma-mapping.h')
0 files changed, 0 insertions, 0 deletions