diff options
author | Joe Perches <joe@perches.com> | 2010-11-12 14:49:19 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-12-09 15:36:30 +1100 |
commit | 518fdae26a530d3f0f11e3650348ab75e5891cfd (patch) | |
tree | 19a7827e0757c68e5982c1b4a2cb4328dbd236a2 /arch/powerpc/kernel | |
parent | ae9fd31a3668ca97e8f37698b927ae7c0b70807a (diff) | |
download | op-kernel-dev-518fdae26a530d3f0f11e3650348ab75e5891cfd.zip op-kernel-dev-518fdae26a530d3f0f11e3650348ab75e5891cfd.tar.gz |
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>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/pci_64.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c index d43fc65..8515776 100644 --- a/arch/powerpc/kernel/pci_64.c +++ b/arch/powerpc/kernel/pci_64.c @@ -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; } |