086-PCI-iproc-Do-not-use-0x-in-front-of-pap.patch 964 B

123456789101112131415161718192021222324252627
  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. The "%pap" format adds a "0x" prefix, so using "0x%pap" results in output
  6. of "0x0x...". Drop the "0x" prefix in the format string.
  7. [bhelgaas: changelog]
  8. Signed-off-by: Dmitry V. Krivenok <krivenok.dmitry@gmail.com>
  9. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
  10. Acked-by: Ray Jui <rjui@broadcom.com>
  11. ---
  12. drivers/pci/host/pcie-iproc.c | 2 +-
  13. 1 file changed, 1 insertion(+), 1 deletion(-)
  14. --- a/drivers/pci/host/pcie-iproc.c
  15. +++ b/drivers/pci/host/pcie-iproc.c
  16. @@ -245,7 +245,7 @@ static int iproc_pcie_setup_ob(struct ip
  17. if (size > max_size) {
  18. dev_err(pcie->dev,
  19. - "res size 0x%pap exceeds max supported size 0x%llx\n",
  20. + "res size %pap exceeds max supported size 0x%llx\n",
  21. &size, max_size);
  22. return -EINVAL;
  23. }