]> git.baikalelectronics.ru Git - kernel.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)
commitad787674d82d0c3e96d1380f5909fa2518abfaaa
tree2c9eb32852a9c1059f249bf9dd780166779480a0
parent5a114c9a212e2fa027b3b4c502ad25adb1943ef6
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