[MTD] [MAPS] fix plat-ram printk format
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Thu Apr 26 02:59:02 EDT 2007
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=06d63cc51d47f572009138a7f3ac34d95773405d
Commit: 06d63cc51d47f572009138a7f3ac34d95773405d
Parent: f6449f4ece2bf283500bda73edcbea82f2cb3a1b
Author: Randy Dunlap <randy.dunlap at oracle.com>
AuthorDate: Wed Apr 25 22:41:34 2007 -0700
Committer: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Thu Apr 26 07:28:58 2007 +0100
[MTD] [MAPS] fix plat-ram printk format
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 at oracle.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
drivers/mtd/maps/plat-ram.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/maps/plat-ram.c b/drivers/mtd/maps/plat-ram.c
index 2b6504e..894c0b2 100644
--- a/drivers/mtd/maps/plat-ram.c
+++ b/drivers/mtd/maps/plat-ram.c
@@ -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 */
More information about the linux-mtd-cvs
mailing list