]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit - arch/ia64/hp/common/sba_iommu.c
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)
commit07256950cd69a31d79bfd605a7023c61cf09b161
tree56afd02800351b0f6769adef9effeeb3d61c8577
parent52aee3e83d44bcf586bc466c07feeb5a6cf91be0
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