]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
arm64: remove DMA_ERROR_CODE
authorChristoph Hellwig <hch@lst.de>
Sun, 21 May 2017 10:21:50 +0000 (12:21 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 20 Jun 2017 09:13:08 +0000 (11:13 +0200)
commite0d60ac10ec01647bbdd3963831515dde17f2d70
tree2c9eb32852a9c1059f249bf9dd780166779480a0
parent50f5c08b016bb4c6d34667d7ab9d5ee35e85261f
arm64: remove DMA_ERROR_CODE

The dma alloc interface returns an error by return NULL, and the
mapping interfaces rely on the mapping_error method, which the dummy
ops already implement correctly.

Thus remove the DMA_ERROR_CODE define.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
arch/arm64/include/asm/dma-mapping.h
arch/arm64/mm/dma-mapping.c