[MTD] [MAPS] Fix printk format warning in nettel.c
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Jan 9 09:59:01 EST 2009
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=85795dac740e63e81aeec8d49aada54ab07656b5
Commit: 85795dac740e63e81aeec8d49aada54ab07656b5
Parent: 68874414def891ec1319ae19a1c7e9c00854d872
Author: David Woodhouse <David.Woodhouse at intel.com>
AuthorDate: Fri Jan 9 14:17:50 2009 +0000
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Jan 9 14:17:50 2009 +0000
[MTD] [MAPS] Fix printk format warning in nettel.c
MTD size is 64-bit now...
Pointed out by Randy Dunlap <randy.dunlap at oracle.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
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 df68266..a97133e 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;
More information about the linux-mtd-cvs
mailing list