ARM: dma-mapping: introduce DMA_ERROR_CODE constant
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 29 Feb 2012 13:45:28 +0000 (14:45 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 21 May 2012 13:06:12 +0000 (15:06 +0200)
commit553ac78877242b6d8b591323731df304140d0f99
treefe826ee0134b8a97df9350648f85a94edd06f042
parent6b6f770b573903f8a7d1cfab1fc662685653f413
ARM: dma-mapping: introduce DMA_ERROR_CODE constant

Replace all uses of ~0 with DMA_ERROR_CODE, what should make the code
easier to read.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Tested-By: Subash Patel <subash.ramaswamy@linaro.org>
arch/arm/common/dmabounce.c
arch/arm/include/asm/dma-mapping.h
arch/arm/mm/dma-mapping.c