OSDN Git Service

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)
commit44899aa31ff64fac370667cb71400ddb434b8951
tree424e4a7b9da2443f28e181c2cf0ae453e584ec46
parent122da4e081be6e854625de21278f5ab6ce103ba9
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