]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Use DMA_ERROR_CODE to denote failed allocation
authorSean Paul <seanpaul@chromium.org>
Wed, 1 Oct 2014 15:31:50 +0000 (16:31 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 2 Oct 2014 10:57:08 +0000 (11:57 +0100)
commit09b6e392b808fcf11c6fa1a960ce44ef3f0b517a
treeb8f83b91f49aa176451390fecee5fb4a0c6a3ef4
parentc2f7b278232bb283ed3eef5e74e252a4fd5edc49
arm64: Use DMA_ERROR_CODE to denote failed allocation

This patch replaces the static assignment of ~0 to dma_handle with
DMA_ERROR_CODE to be consistent with other platforms.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/dma-mapping.c