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

From: [email-masked] (Arnd Bergmann)
Date: Tue, 10 Apr 2012 11:31:56 +0000

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 <[email-masked]>
> Acked-by: Kyungmin Park <[email-masked]>

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