Commit fc274a15 authored by Kumar Gala's avatar Kumar Gala

powerpc/fsl_rio: Fix compile warnings

We we build with resource_size_t as a 64-bit quantity we get:

arch/powerpc/sysdev/fsl_rio.c: In function 'fsl_rio_setup':
arch/powerpc/sysdev/fsl_rio.c:1029: warning: format '%08x' expects type 'unsigned int', but argument 4 has type 'resource_size_t'
arch/powerpc/sysdev/fsl_rio.c:1029: warning: format '%08x' expects type 'unsigned int', but argument 5 has type 'resource_size_t'
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 558ab308
...@@ -1026,8 +1026,7 @@ int fsl_rio_setup(struct of_device *dev) ...@@ -1026,8 +1026,7 @@ int fsl_rio_setup(struct of_device *dev)
return -EFAULT; return -EFAULT;
} }
dev_info(&dev->dev, "Of-device full name %s\n", dev->node->full_name); dev_info(&dev->dev, "Of-device full name %s\n", dev->node->full_name);
dev_info(&dev->dev, "Regs start 0x%08x size 0x%08x\n", regs.start, dev_info(&dev->dev, "Regs: %pR\n", &regs);
regs.end - regs.start + 1);
dt_range = of_get_property(dev->node, "ranges", &rlen); dt_range = of_get_property(dev->node, "ranges", &rlen);
if (!dt_range) { if (!dt_range) {
......
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