]> git.baikalelectronics.ru Git - kernel.git/commit
s390: remove the mapping_error dma_map_ops method
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Nov 2018 17:58:15 +0000 (18:58 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Dec 2018 14:56:39 +0000 (06:56 -0800)
commit7fd1f49bffa6170991c4f456381036fbbd284fb2
tree424e4a7b9da2443f28e181c2cf0ae453e584ec46
parent32c68dbe77b499e799165d881094ad845d431fce
s390: remove the mapping_error dma_map_ops method

S390 already returns (~(dma_addr_t)0x0) on mapping failures, so we can
switch over to returning DMA_MAPPING_ERROR 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/s390/pci/pci_dma.c