mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 21:52:04 +00:00
ARM: shmobile: APMU: Fix warnings due to improper printk formats
Use the %pr printk specifier to print resource variables. This fixes warnings on platforms where resource_size_t has a different size than int. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
c4ca5d80e0
commit
56ff873122
@ -75,8 +75,7 @@ static void apmu_init_cpu(struct resource *res, int cpu, int bit)
|
||||
apmu_cpus[cpu].iomem = ioremap_nocache(res->start, resource_size(res));
|
||||
apmu_cpus[cpu].bit = bit;
|
||||
|
||||
pr_debug("apmu ioremap %d %d 0x%08x 0x%08x\n", cpu, bit,
|
||||
res->start, resource_size(res));
|
||||
pr_debug("apmu ioremap %d %d %pr\n", cpu, bit, res);
|
||||
}
|
||||
|
||||
static struct {
|
||||
|
Loading…
Reference in New Issue
Block a user