From: Wolfram Sang Subject: Re: [PATCH -next] i2c: fix i2c-ismt.c printk format warning Date: Fri, 15 Feb 2013 20:48:44 +0100 Message-ID: <20130215194844.GE4351@the-dreams.de> References: <20130215184255.5ba8a085004f4aadb9faf82c@canb.auug.org.au> <511E83BC.3050007@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <511E83BC.3050007@infradead.org> Sender: linux-next-owner@vger.kernel.org To: Randy Dunlap Cc: Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, "Bill E. Brown" , Jean Delvare , Seth Heasley , Neil Horman , linux-i2c@vger.kernel.org List-Id: linux-i2c@vger.kernel.org On Fri, Feb 15, 2013 at 10:51:40AM -0800, Randy Dunlap wrote: > From: Randy Dunlap > > Fix printk format warning. dma_addr_t can be 32-bit or 64-bit, > so cast it to long long for printing. This also matches the > printk format specifier that is already used. > > drivers/i2c/busses/i2c-ismt.c:532:3: warning: format '%llX' expects argument of type 'long long unsigned int', but argument 4 has type 'dma_addr_t' [-Wformat] > > Signed-off-by: Randy Dunlap Thanks, applied to next.