From: Andrew Morton Fallout from the 64-bit-resource stuff: drivers/mtd/maps/physmap.c: In function 'physmap_flash_probe': drivers/mtd/maps/physmap.c:94: warning: format '%.8lx' expects type 'long unsigned int', but argument 2 has type 'resource_size_t' drivers/mtd/maps/physmap.c:94: warning: format '%.8lx' expects type 'long unsigned int', but argument 3 has type 'resource_size_t' Cc: Vivek Goyal Cc: Greg KH Cc: David Woodhouse Signed-off-by: Andrew Morton --- drivers/mtd/maps/physmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN drivers/mtd/maps/physmap.c~kconfigurable-resources-mtd-fixes drivers/mtd/maps/physmap.c --- devel/drivers/mtd/maps/physmap.c~kconfigurable-resources-mtd-fixes 2006-05-17 13:40:03.000000000 -0700 +++ devel-akpm/drivers/mtd/maps/physmap.c 2006-05-17 13:40:37.000000000 -0700 @@ -89,9 +89,9 @@ static int physmap_flash_probe(struct pl if (physmap_data == NULL) return -ENODEV; - printk(KERN_NOTICE "physmap platform flash device: %.8lx at %.8lx\n", - dev->resource->end - dev->resource->start + 1, - dev->resource->start); + 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->start); info = kmalloc(sizeof(struct physmap_flash_info), GFP_KERNEL); if (info == NULL) { _