commit | 3fb3378bb1eb2905065211ab51a7bcc2c5e7bd29 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon May 20 09:29:43 2019 +0200 |
committer | Joerg Roedel <jroedel@suse.de> | Mon May 27 17:31:11 2019 +0200 |
tree | 66fb2035ecb4af0af02c51c50b0f643fae640247 | |
parent | ee1ef05d02b03118e4c197e1193329f5b64246b7 [diff] |
iommu/dma: Refactor iommu_dma_get_sgtable Inline __iommu_dma_get_sgtable_page into the main function, and use the fact that __iommu_dma_get_pages return NULL for remapped contigous allocations to simplify the code flow a bit. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>