aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-4.4/086-PCI-iproc-Do-not-use-0x-in-front-of-pap.patch
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-01-19 21:53:23 +0000
committerRafał Miłecki <zajec5@gmail.com>2016-01-19 21:53:23 +0000
commitb9fb3d4524906c566c0872826ce05065a5cadcc5 (patch)
tree410f8fd6b5bf9bd3591aea31b44ac73a473134e1 /target/linux/bcm53xx/patches-4.4/086-PCI-iproc-Do-not-use-0x-in-front-of-pap.patch
parent76b903a415671a1606146e6da6d34e85aa25ddeb (diff)
downloadupstream-b9fb3d4524906c566c0872826ce05065a5cadcc5.tar.gz
upstream-b9fb3d4524906c566c0872826ce05065a5cadcc5.tar.bz2
upstream-b9fb3d4524906c566c0872826ce05065a5cadcc5.zip
bcm53xx: update iProc patches (V5 accepted in helgaas/pci.git next)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48375
Diffstat (limited to 'target/linux/bcm53xx/patches-4.4/086-PCI-iproc-Do-not-use-0x-in-front-of-pap.patch')
-rw-r--r--target/linux/bcm53xx/patches-4.4/086-PCI-iproc-Do-not-use-0x-in-front-of-pap.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-4.4/086-PCI-iproc-Do-not-use-0x-in-front-of-pap.patch b/target/linux/bcm53xx/patches-4.4/086-PCI-iproc-Do-not-use-0x-in-front-of-pap.patch
new file mode 100644
index 0000000000..5736af80e7
--- /dev/null
+++ b/target/linux/bcm53xx/patches-4.4/086-PCI-iproc-Do-not-use-0x-in-front-of-pap.patch
@@ -0,0 +1,27 @@
+From 57303e92f48a0e307fd86977ec9be5aa6a7ea681 Mon Sep 17 00:00:00 2001
+From: "Dmitry V. Krivenok" <krivenok.dmitry@gmail.com>
+Date: Mon, 30 Nov 2015 23:45:49 +0300
+Subject: [PATCH] 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>
+---
+ drivers/pci/host/pcie-iproc.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- 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 ip
+
+ 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;
+ }