diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2009-01-09 15:17:50 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-01-09 15:17:50 +0100 |
commit | 85795dac740e63e81aeec8d49aada54ab07656b5 (patch) | |
tree | 98647a7b6fa3c9b317b9f812c5e4b0fe982e2fe5 /drivers/mtd/maps/nettel.c | |
parent | [MTD] [NAND] add cmdline parsing (mtdparts=) support to cafe_nand (diff) | |
download | linux-85795dac740e63e81aeec8d49aada54ab07656b5.tar.xz linux-85795dac740e63e81aeec8d49aada54ab07656b5.zip |
[MTD] [MAPS] Fix printk format warning in nettel.c
MTD size is 64-bit now...
Pointed out by Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/mtd/maps/nettel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/maps/nettel.c b/drivers/mtd/maps/nettel.c index df682667604a..a97133eb9d70 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; |