aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-06-09 10:12:34 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-06-09 10:12:34 -0400
commitf24ff6bf8c903bc0c645bf87fbe87f9a6d9f634f (patch)
tree7138c0fad5b093e6e6762bfb31e5e3414685e428 /drivers/mtd
parent4ed0156f774cf50252e7f51032d1cc857fe86879 (diff)
[MTD] Prepare physmap for 64-bit-resources
Fallout from the incoming 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 <vgoyal@in.ibm.com> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/maps/physmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/maps/physmap.c b/drivers/mtd/maps/physmap.c
index bc82f702aa3c..433c3cac3ca9 100644
--- a/drivers/mtd/maps/physmap.c
+++ b/drivers/mtd/maps/physmap.c
@@ -89,9 +89,9 @@ static int physmap_flash_probe(struct platform_device *dev)
89 if (physmap_data == NULL) 89 if (physmap_data == NULL)
90 return -ENODEV; 90 return -ENODEV;
91 91
92 printk(KERN_NOTICE "physmap platform flash device: %.8lx at %.8lx\n", 92 printk(KERN_NOTICE "physmap platform flash device: %.8llx at %.8llx\n",
93 dev->resource->end - dev->resource->start + 1, 93 (unsigned long long)dev->resource->end - dev->resource->start + 1,
94 dev->resource->start); 94 (unsigned long long)dev->resource->start);
95 95
96 info = kmalloc(sizeof(struct physmap_flash_info), GFP_KERNEL); 96 info = kmalloc(sizeof(struct physmap_flash_info), GFP_KERNEL);
97 if (info == NULL) { 97 if (info == NULL) {