From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D9A4BDDEF1 for ; Wed, 18 Feb 2009 17:19:21 +1100 (EST) Subject: Re: setup_64.c:450: warning: format '%lx' expects type 'long unsigned int' From: Benjamin Herrenschmidt To: Stephen Rothwell In-Reply-To: <20090218171657.0cf35552.sfr@canb.auug.org.au> References: <1234937030.14060.442.camel@pasglop> <20090218171657.0cf35552.sfr@canb.auug.org.au> Content-Type: text/plain Date: Wed, 18 Feb 2009 17:18:49 +1100 Message-Id: <1234937929.14060.443.camel@pasglop> Mime-Version: 1.0 Cc: Geert Uytterhoeven , Linux/PPC Development List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2009-02-18 at 17:16 +1100, Stephen Rothwell wrote: > On Wed, 18 Feb 2009 17:03:50 +1100 Benjamin Herrenschmidt wrote: > > > > On Tue, 2009-02-17 at 14:21 +0100, Geert Uytterhoeven wrote: > > > and ASM_CONST() appends "UL" to the constant. > > > > > We probably want to add a ASM_ULL_CONST() for that... > > Except physaddr_t is sometimes 32 bits and sometime 64 bits in the 32 bit > kernel ... Oh well, one cast that won't go away then. Ben.