OSDN Git Service

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)
commita20388be321469afb8b726b455c3e7c77a7304dd
tree87f9522b78d151816add13de69df23eb6e2d0938
parent52f0b3ee0b2caab04e7a1db1cb4009a277a802af
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