Commit 06d63cc5 authored by Randy Dunlap's avatar Randy Dunlap Committed by David Woodhouse

[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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent f6449f4e
...@@ -169,7 +169,8 @@ static int platram_probe(struct platform_device *pdev) ...@@ -169,7 +169,8 @@ static int platram_probe(struct platform_device *pdev)
goto exit_free; 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 */ /* setup map parameters */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment