From: Randy Dunlap (may be a gcc phenomenon) Fix printk format warning: drivers/mtd/maps/physmap.c:93: warning: long long unsigned int format, long unsigned int arg (arg 2) Signed-off-by: Randy Dunlap Cc: David Woodhouse Signed-off-by: Andrew Morton --- drivers/mtd/maps/physmap.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/mtd/maps/physmap.c~mtd-fix-printk-format-warning drivers/mtd/maps/physmap.c --- a/drivers/mtd/maps/physmap.c~mtd-fix-printk-format-warning +++ a/drivers/mtd/maps/physmap.c @@ -89,7 +89,7 @@ static int physmap_flash_probe(struct pl return -ENODEV; printk(KERN_NOTICE "physmap platform flash device: %.8llx at %.8llx\n", - (unsigned long long)dev->resource->end - dev->resource->start + 1, + (unsigned long long)(dev->resource->end - dev->resource->start + 1), (unsigned long long)dev->resource->start); info = kmalloc(sizeof(struct physmap_flash_info), GFP_KERNEL); _