ia64/sn: remove the mapping_error dma_map_ops method
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Nov 2018 18:18:10 +0000 (19:18 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Dec 2018 14:56:44 +0000 (06:56 -0800)
commit608b9761a06089ac22bb157bc70d16e9df12ca7c
tree286052f7a2bb6190b77d3c3a6ac18859fd8d1c37
parent07256950cd69a31d79bfd605a7023c61cf09b161
ia64/sn: 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/sn/pci/pci_dma.c