]> 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)
commit1f997317f333be041e03e9d924df5f4ee8129c1b
tree56afd02800351b0f6769adef9effeeb3d61c8577
parent91015d0ce0d38d85d69a97da06c82e6e070a8a04
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