]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0ba5cb23d3546b80f7662e7752abe059d224c33f
tree286052f7a2bb6190b77d3c3a6ac18859fd8d1c37
parentb07c2549246aad64505f49fbe0efa9aab69d204c
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