]> git.baikalelectronics.ru Git - kernel.git/commit
parisc/sba_iommu: remove the mapping_error dma_map_ops method
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Nov 2018 18:00:17 +0000 (19:00 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Dec 2018 14:56:41 +0000 (06:56 -0800)
commite5f19b68faca4e56dd117884a6d82940b6356391
tree0066511731ed08c54c4b7ef89e217221d8825b88
parent48d9aa0bcd920bdbcefcf2edfe79b67095996699
parisc/sba_iommu: remove the mapping_error dma_map_ops method

The SBA iommu code already returns (~(dma_addr_t)0x0) on mapping
failures, so we can switch over to returning DMA_MAPPING_ERROR 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>
drivers/parisc/sba_iommu.c