PCI: mvebu: Use '%pa' for printing 'phys_addr_t' type
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 29 Apr 2014 12:58:07 +0000 (09:58 -0300)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Apr 2014 16:47:25 +0000 (10:47 -0600)
commit9aa52850455f7e46bb9eb72ebb9d8a571bf11cce
tree5b8c54875aa8562f9586656cd3623336eec476c9
parent85802bbe755725b5bf92386b8a52eb6d089b581e
PCI: mvebu: Use '%pa' for printing 'phys_addr_t' type

Fix the following build warning that happens when building
multi_v7_defconfig with CONFIG_ARM_LPAE=y:

  drivers/pci/host/pci-mvebu.c:334:5: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'phys_addr_t' [-Wformat=]

Fix the warning by using '%pa' to printing 'phys_addr_t' type.  While at
it, also use the more standard notation [mem 0x-0x] for memory region.

[bhelgaas: make end address inclusive, remove extra spaces]
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
drivers/pci/host/pci-mvebu.c