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>
This commit is contained in:
Dmitry V. Krivenok 2015-11-30 23:45:49 +03:00 committed by Bjorn Helgaas
parent c1b98e41b3
commit 57303e92f4
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ static int iproc_pcie_setup_ob(struct iproc_pcie *pcie, u64 axi_addr,
if (size > max_size) { if (size > max_size) {
dev_err(pcie->dev, 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); &size, max_size);
return -EINVAL; return -EINVAL;
} }