linux/arch/powerpc/platforms/4xx
Michael Ellerman 52b88fa1e8 powerpc/4xx/ocm: Fix phys_addr_t printf warnings
Currently the code produces several warnings, eg:

  arch/powerpc/platforms/4xx/ocm.c:240:38: error: format '%llx'
  expects argument of type 'long long unsigned int', but argument 3
  has type 'phys_addr_t {aka unsigned int}'
     seq_printf(m, "PhysAddr     : 0x%llx\n", ocm->phys);
                                   ~~~^     ~~~~~~~~~

Fix it by using the special %pa[p] format for printing phys_addr_t.
Note we need to pass the value by reference for the special specifier
to work.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-12-30 14:00:47 +11:00
..
cpm.c powerpc/4xx: Constify cpm_suspend_ops 2017-08-31 19:56:33 +10:00
gpio.c powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
hsta_msi.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
machine_check.c
Makefile
msi.c powerpc/4xx: Fix error return path in ppc4xx_msi_probe() 2018-08-03 20:08:20 +10:00
ocm.c powerpc/4xx/ocm: Fix phys_addr_t printf warnings 2018-12-30 14:00:47 +11:00
pci.c powerpc/4xx: Delete an unnecessary return statement in two functions 2018-12-21 11:32:49 +11:00
pci.h
soc.c powerpc: 4xx: get cpu node with of_get_cpu_node 2018-09-28 14:25:58 -05:00
uic.c powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00