* [PATCH -mm] MTD: fix plat-ram printk format
@ 2007-04-26 5:41 Randy Dunlap
2007-04-26 6:29 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2007-04-26 5:41 UTC (permalink / raw)
To: linux-mtd; +Cc: akpm, dwmw2
From: Randy Dunlap <randy.dunlap@oracle.com>
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>
---
drivers/mtd/maps/plat-ram.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- linux-2.6.21-rc7-mm1.orig/drivers/mtd/maps/plat-ram.c
+++ linux-2.6.21-rc7-mm1/drivers/mtd/maps/plat-ram.c
@@ -169,7 +169,8 @@ static int platram_probe(struct platform
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 */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH -mm] MTD: fix plat-ram printk format
2007-04-26 5:41 [PATCH -mm] MTD: fix plat-ram printk format Randy Dunlap
@ 2007-04-26 6:29 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2007-04-26 6:29 UTC (permalink / raw)
To: Randy Dunlap; +Cc: akpm, linux-mtd
On Wed, 2007-04-25 at 22:41 -0700, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> 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>
Applied; thanks.
--
dwmw2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-26 6:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-26 5:41 [PATCH -mm] MTD: fix plat-ram printk format Randy Dunlap
2007-04-26 6:29 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox