From: David Woodhouse Date: Fri, 9 Jan 2009 14:17:50 +0000 (+0000) Subject: [MTD] [MAPS] Fix printk format warning in nettel.c X-Git-Tag: v2.6.29-rc1~33^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=85795dac740e63e81aeec8d49aada54ab07656b5;p=linux-2.6-omap-h63xx.git [MTD] [MAPS] Fix printk format warning in nettel.c MTD size is 64-bit now... Pointed out by Randy Dunlap Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/maps/nettel.c b/drivers/mtd/maps/nettel.c index df682667604..a97133eb9d7 100644 --- a/drivers/mtd/maps/nettel.c +++ b/drivers/mtd/maps/nettel.c @@ -357,8 +357,8 @@ static int __init nettel_init(void) *intel1par = 0; } - printk(KERN_NOTICE "SNAPGEAR: Intel flash device size = %dK\n", - (intel_mtd->size >> 10)); + printk(KERN_NOTICE "SNAPGEAR: Intel flash device size = %lldKiB\n", + (unsigned long long)(intel_mtd->size >> 10)); intel_mtd->owner = THIS_MODULE;