powerpc/4xx/ocm: Fix fix for phys_addr_t printf warnings
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 11 Jan 2019 12:53:46 +0000 (23:53 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 11 Jan 2019 12:57:20 +0000 (23:57 +1100)
commitfcf5036f09694d09d946c0455f329894a6482a4d
tree0e53c7caa8314d970d93d0236c40c38943686b74
parent6bca515917515b66b7e1dfc1d1d3b7bd8058315c
powerpc/4xx/ocm: Fix fix for phys_addr_t printf warnings

My recent commit to fix the printf warnings in ocm.c got the format
specifier wrong, because I copied it from the documentation without
realising the square brackets are not meant as literals.

This results in the address being suffixed with a literal "[p]".

Actually tested this time:

  # cat info /sys/kernel/debug/ppc4xx_ocm
  PhysAddr     : 0x0000000400040000
  ...
  NC.PhysAddr  : 0x0000000400040000
  ...
  C.PhysAddr   : 0x0000000000000000

Fixes: 52b88fa1e8c7 ("powerpc/4xx/ocm: Fix phys_addr_t printf warnings")
Reported-by: Christian Lamparter <chunkeey@gmail.com>
Tested-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/4xx/ocm.c