diff options
author | Joe Perches <joe@perches.com> | 2010-11-12 21:37:52 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-01-18 18:30:21 (GMT) |
commit | 0bec405e8ee390067e63265b3002aaac49d4eea8 (patch) | |
tree | 4f556448cd28294d736e65ac00ef5d6e22a00310 /arch/mips/txx9/generic/pci.c | |
parent | a1181caac965c660be2bd350a9deb763e6f4b738 (diff) | |
download | linux-fsl-qoriq-0bec405e8ee390067e63265b3002aaac49d4eea8.tar.xz |
MIPS: Use printf extension %pR for struct resource
Using %pR standardizes the struct resource output.
Signed-off-by: Joe Perches <joe@perches.com>
To: Jiri Kosina <trivial@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1772/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/txx9/generic/pci.c')
-rw-r--r-- | arch/mips/txx9/generic/pci.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/mips/txx9/generic/pci.c b/arch/mips/txx9/generic/pci.c index 96e69a0..85a87de 100644 --- a/arch/mips/txx9/generic/pci.c +++ b/arch/mips/txx9/generic/pci.c @@ -213,11 +213,8 @@ txx9_alloc_pci_controller(struct pci_controller *pcic, pcic->mem_offset = 0; /* busaddr == physaddr */ - printk(KERN_INFO "PCI: IO 0x%08llx-0x%08llx MEM 0x%08llx-0x%08llx\n", - (unsigned long long)pcic->mem_resource[1].start, - (unsigned long long)pcic->mem_resource[1].end, - (unsigned long long)pcic->mem_resource[0].start, - (unsigned long long)pcic->mem_resource[0].end); + printk(KERN_INFO "PCI: IO %pR MEM %pR\n", + &pcic->mem_resource[1], &pcic->mem_resource[0]); /* register_pci_controller() will request MEM resource */ release_resource(&pcic->mem_resource[0]); |