Skip to content

Commit

Permalink
[MTD] [MAPS] fix plat-ram printk format
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and David Woodhouse committed Apr 26, 2007
1 parent f6449f4 commit 06d63cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/mtd/maps/plat-ram.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit 06d63cc

Please sign in to comment.