[MTD] [MAPS] fix plat-ram printk format
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 26 Apr 2007 05:41:34 +0000 (22:41 -0700)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 26 Apr 2007 06:28:58 +0000 (07:28 +0100)
drivers/mtd/maps/plat-ram.c:172: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'resource_size_t'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/maps/plat-ram.c

index 2b6504ecbbd16a362331000f501ee5371f5ed862..894c0b27128982fc5d52a6fc79a7b32efecc320f 100644 (file)
@@ -169,7 +169,8 @@ static int platram_probe(struct platform_device *pdev)
                goto exit_free;
        }
 
-       dev_dbg(&pdev->dev, "got platform resource %p (0x%lx)\n", res, res->start);
+       dev_dbg(&pdev->dev, "got platform resource %p (0x%llx)\n", res,
+               (unsigned long long)res->start);
 
        /* setup map parameters */