]> git.baikalelectronics.ru Git - kernel.git/commit
alpha: remove the mapping_error dma_map_ops method
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Nov 2018 18:04:03 +0000 (19:04 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Dec 2018 14:56:42 +0000 (06:56 -0800)
commit4d49bbe2f2383524d60e444465fe0058a8dafeba
tree87f9522b78d151816add13de69df23eb6e2d0938
parentff6002952c0e4541256b4a680bd1d9e37479129e
alpha: 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/alpha/kernel/pci_iommu.c