From: Dmitry V. Krivenok Date: Mon, 30 Nov 2015 20:45:49 +0000 (+0300) Subject: PCI: iproc: Do not use 0x in front of %pap X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=57303e92f48a0e307fd86977ec9be5aa6a7ea681;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Bjorn Helgaas Acked-by: Ray Jui --- diff --git a/drivers/pci/host/pcie-iproc.c b/drivers/pci/host/pcie-iproc.c index eac719af16aa..d1ad883eac04 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; }