summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2006-11-29 00:40:46 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-11-29 00:40:46 +0100
commit998a43e72d20afa7566dad66fd866fe939a89c09 (patch)
tree3c782a3a9ac0cf513729a5d2ed52e5e4e92afeb1 /drivers
parentMerge git://git.infradead.org/~dwmw2/cafe-2.6 (diff)
downloadlinux-998a43e72d20afa7566dad66fd866fe939a89c09.tar.xz
linux-998a43e72d20afa7566dad66fd866fe939a89c09.zip
[MTD] Fix printk format warning in physmap. (resources again)
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 <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/maps/physmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/physmap.c b/drivers/mtd/maps/physmap.c
index d1717763f719..bb67c505b1a5 100644
--- a/drivers/mtd/maps/physmap.c
+++ b/drivers/mtd/maps/physmap.c
@@ -89,7 +89,7 @@ static int physmap_flash_probe(struct platform_device *dev)
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);