mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 02:09:42 +00:00
[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@oracle.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
f6449f4ece
commit
06d63cc51d
1 changed files with 2 additions and 1 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue