From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.osdl.org (smtp.osdl.org [65.172.181.4]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.osdl.org", Issuer "OSDL Hostmaster" (not verified)) by ozlabs.org (Postfix) with ESMTP id 756A067D7F for ; Thu, 28 Jul 2005 06:20:20 +1000 (EST) Date: Wed, 27 Jul 2005 13:18:57 -0700 From: Andrew Morton To: Matt Porter Message-Id: <20050727131857.78a56972.akpm@osdl.org> In-Reply-To: <11224856623638@foobar.com> References: <11224856623638@foobar.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: linux-kernel@vger.kernel.org, linuxppc-embedded@ozlabs.org Subject: Re: [PATCH][1/3] ppc32: add 440ep support List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Matt Porter wrote: > > +static u64 dma_mask = 0xffffffffULL; I'm sure you're totally uninterested in this, but the above will probably generate warnings on (say) ppc64, where u64 is implemented as unsigned long. I usually chuck a simple `-1' in there and the compiler always gets it right, regardless of signedness and size and architecture.