]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MTD] [MAPS] Fix printk format warning in nettel.c
authorDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 9 Jan 2009 14:17:50 +0000 (14:17 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 9 Jan 2009 14:17:50 +0000 (14:17 +0000)
MTD size is 64-bit now...

Pointed out by Randy Dunlap <randy.dunlap@oracle.com>

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/nettel.c

index df682667604a1300e68118a17803980b9085196f..a97133eb9d70ec8356e991d3a63fb888000d4c31 100644 (file)
@@ -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;