OSDN Git Service

arm64: remove the dummy_dma_ops mapping_error method
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Nov 2018 18:04:31 +0000 (19:04 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Dec 2018 14:56:41 +0000 (06:56 -0800)
commit52f0b3ee0b2caab04e7a1db1cb4009a277a802af
tree0af52cfd338669d2964403d70e2872e7ee09ec45
parentfb1b53f16c5e457eac8837407da37f29bf0a509a
arm64: remove the dummy_dma_ops mapping_error method

Just return DMA_MAPPING_ERROR from __dummy_map_page 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/arm64/mm/dma-mapping.c