[PATCHv8 03/10] ARM: dma-mapping: introduce ARM_DMA_ERROR constant

Arnd Bergmann arnd at arndb.de
Tue Apr 10 07:31:56 EDT 2012


On Tuesday 10 April 2012, Marek Szyprowski wrote:
> Replace all uses of ~0 with ARM_DMA_ERROR, what should make the code
> easier to read.
> 
> Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>
> Acked-by: Kyungmin Park <kyungmin.park at samsung.com>

I like the idea, but why not name this DMA_ERROR_CODE like the other
architectures do? I think in the long run we should put the definition
into a global header file.

	Arnd



More information about the linux-arm-kernel mailing list