Subject: [PATCH -next] i2c: fix i2c-ismt.c printk format warning

From: Randy Dunlap <[email-masked]>
Date: Fri, 15 Feb 2013 10:51:40 -0800

From: Randy Dunlap <[email-masked]>

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 <[email-masked]>
Cc:	Bill E. Brown <[email-masked]>
Cc:	Jean Delvare <[email-masked]>
Cc:	Seth Heasley <[email-masked]>
Cc:	Neil Horman <[email-masked]>
Cc:	Wolfram Sang <[email-masked]>
Cc:	[email-masked]
---
 drivers/i2c/busses/i2c-ismt.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20130215.orig/drivers/i2c/busses/i2c-ismt.c
+++ linux-next-20130215/drivers/i2c/busses/i2c-ismt.c
@@ -530,7 +530,7 @@ static int ismt_access(struct i2c_adapte
 		}
 
 		dev_dbg(dev, " dma_addr = 0x%016llX\n",
-			dma_addr);
+			(unsigned long long)dma_addr);
 
 		desc->dptr_low = lower_32_bits(dma_addr);
 		desc->dptr_high = upper_32_bits(dma_addr);