From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx115.postini.com [74.125.245.115]) by kanga.kvack.org (Postfix) with SMTP id 1A1986B00E8 for ; Tue, 10 Apr 2012 07:32:12 -0400 (EDT) From: Arnd Bergmann Subject: Re: [PATCHv8 03/10] ARM: dma-mapping: introduce ARM_DMA_ERROR constant Date: Tue, 10 Apr 2012 11:31:56 +0000 References: <1334055852-19500-1-git-send-email-m.szyprowski@samsung.com> <1334055852-19500-4-git-send-email-m.szyprowski@samsung.com> In-Reply-To: <1334055852-19500-4-git-send-email-m.szyprowski@samsung.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201204101131.56412.arnd@arndb.de> Sender: owner-linux-mm@kvack.org List-ID: To: Marek Szyprowski Cc: linux-arm-kernel@lists.infradead.org, linaro-mm-sig@lists.linaro.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, iommu@lists.linux-foundation.org, Kyungmin Park , Joerg Roedel , Russell King - ARM Linux , Chunsang Jeong , Krishna Reddy , KyongHo Cho , Andrzej Pietrasiewicz , Benjamin Herrenschmidt , Konrad Rzeszutek Wilk , Hiroshi Doyu , Subash Patel 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 > Acked-by: Kyungmin Park 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 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org