Skip to content

Commit

Permalink
PCI: iproc: Do not use 0x in front of %pap
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dmitry V. Krivenok authored and Bjorn Helgaas committed Dec 1, 2015
1 parent c1b98e4 commit 57303e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/host/pcie-iproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 57303e9

Please sign in to comment.