Subject: Re: powerpc/4xx/ocm: Fix fix for phys_addr_t printf warnings

From: Michael Ellerman <[email-masked]>
Date: Thu, 17 Jan 2019 11:27:28 +1100 (AEDT)

On Mon, 2019-01-14 at 00:32:55 UTC, Michael Ellerman wrote:
> 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 <[email-masked]>
> Tested-by: Christian Lamparter <[email-masked]>
> Signed-off-by: Michael Ellerman <[email-masked]>

Applied to powerpc fixes.

https://git.kernel.org/powerpc/c/fcf5036f09694d09d946c0455f329894

cheers