]> git.baikalelectronics.ru Git - kernel.git/commit
ia64/sba_iommu: remove the mapping_error dma_map_ops method
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Nov 2018 18:16:38 +0000 (19:16 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Dec 2018 14:56:44 +0000 (06:56 -0800)
commitb07c2549246aad64505f49fbe0efa9aab69d204c
tree56afd02800351b0f6769adef9effeeb3d61c8577
parent68d9954794284d6b17ae2a5fea371379f8d887c8
ia64/sba_iommu: remove the mapping_error dma_map_ops method

Return DMA_MAPPING_ERROR instead of 0 on a dma mapping failure and let
the core dma-mapping code handle the rest.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/ia64/hp/common/sba_iommu.c