]> git.karo-electronics.de Git - linux-beck.git/commitdiff
PCI: iproc: Do not use 0x in front of %pap
authorDmitry V. Krivenok <krivenok.dmitry@gmail.com>
Mon, 30 Nov 2015 20:45:49 +0000 (23:45 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 1 Dec 2015 01:44:21 +0000 (19:44 -0600)
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>
drivers/pci/host/pcie-iproc.c

index eac719af16aa835fa61f8ee96cd5c87ee737d520..d1ad883eac04066c80e717e6023aa1f59951e3fa 100644 (file)
@@ -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;
        }