projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6449f4
)
[MTD] [MAPS] fix plat-ram printk format
author
Randy Dunlap
<randy.dunlap@oracle.com>
Thu, 26 Apr 2007 05:41:34 +0000
(22:41 -0700)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/maps/plat-ram.c
b/drivers/mtd/maps/plat-ram.c
index 2b6504ecbbd16a362331000f501ee5371f5ed862..894c0b27128982fc5d52a6fc79a7b32efecc320f 100644
(file)
--- 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 */