powerpc/pci: Use printf extension %pR for struct resource
Using %pR standardizes the struct resource output. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:

committed by
Benjamin Herrenschmidt

parent
ae9fd31a36
commit
518fdae26a
@@ -193,8 +193,7 @@ int __devinit pcibios_map_io_space(struct pci_bus *bus)
|
||||
hose->io_resource.start += io_virt_offset;
|
||||
hose->io_resource.end += io_virt_offset;
|
||||
|
||||
pr_debug(" hose->io_resource=0x%016llx...0x%016llx\n",
|
||||
hose->io_resource.start, hose->io_resource.end);
|
||||
pr_debug(" hose->io_resource=%pR\n", &hose->io_resource);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user