summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorDmitry V. Krivenok <krivenok.dmitry@gmail.com>2015-11-30 23:45:49 +0300
committerBjorn Helgaas <bhelgaas@google.com>2015-11-30 19:44:21 -0600
commit57303e92f48a0e307fd86977ec9be5aa6a7ea681 (patch)
treea78499efa0db7053b3ebb3ae177818abd169d73e /drivers/pci
parentc1b98e41b356a1807d7083d958790da2027c0d9d (diff)
downloadop-kernel-dev-57303e92f48a0e307fd86977ec9be5aa6a7ea681.zip
op-kernel-dev-57303e92f48a0e307fd86977ec9be5aa6a7ea681.tar.gz
PCI: iproc: Do not use 0x in front of %pap
The "%pap" format adds a "0x" prefix, so using "0x%pap" results in output of "0x0x...". Drop the "0x" prefix in the format string. [bhelgaas: changelog] Signed-off-by: Dmitry V. Krivenok <krivenok.dmitry@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Ray Jui <rjui@broadcom.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/host/pcie-iproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pcie-iproc.c b/drivers/pci/host/pcie-iproc.c
index eac719a..d1ad883 100644
--- a/drivers/pci/host/pcie-iproc.c
+++ b/drivers/pci/host/pcie-iproc.c
@@ -245,7 +245,7 @@ static int iproc_pcie_setup_ob(struct iproc_pcie *pcie, u64 axi_addr,
if (size > max_size) {
dev_err(pcie->dev,
- "res size 0x%pap exceeds max supported size 0x%llx\n",
+ "res size %pap exceeds max supported size 0x%llx\n",
&size, max_size);
return -EINVAL;
}
OpenPOWER on IntegriCloud