]> 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)
commitad9536603b101ea9a91d156c142c896d2ee06b39
tree87f9522b78d151816add13de69df23eb6e2d0938
parentfdffa5cdaa1d6208b39c3d863cf8d5b9d33575f2
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