bcm53xx: enable earlyprintk and all RAM on DIR-885L
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-4.4 / 086-PCI-iproc-Do-not-use-0x-in-front-of-pap.patch
1 From 57303e92f48a0e307fd86977ec9be5aa6a7ea681 Mon Sep 17 00:00:00 2001
2 From: "Dmitry V. Krivenok" <krivenok.dmitry@gmail.com>
3 Date: Mon, 30 Nov 2015 23:45:49 +0300
4 Subject: [PATCH] PCI: iproc: Do not use 0x in front of %pap
5
6 The "%pap" format adds a "0x" prefix, so using "0x%pap" results in output
7 of "0x0x...". Drop the "0x" prefix in the format string.
8
9 [bhelgaas: changelog]
10 Signed-off-by: Dmitry V. Krivenok <krivenok.dmitry@gmail.com>
11 Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
12 Acked-by: Ray Jui <rjui@broadcom.com>
13 ---
14 drivers/pci/host/pcie-iproc.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 --- a/drivers/pci/host/pcie-iproc.c
18 +++ b/drivers/pci/host/pcie-iproc.c
19 @@ -245,7 +245,7 @@ static int iproc_pcie_setup_ob(struct ip
20
21 if (size > max_size) {
22 dev_err(pcie->dev,
23 - "res size 0x%pap exceeds max supported size 0x%llx\n",
24 + "res size %pap exceeds max supported size 0x%llx\n",
25 &size, max_size);
26 return -EINVAL;
27 }