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 <chunk...@gmail.com>
> Tested-by: Christian Lamparter <chunk...@gmail.com>
> Signed-off-by: Michael Ellerman <m...@ellerman.id.au>

Applied to powerpc fixes.

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

cheers

Reply via email to