powerpc/eeh: fix pr_debug()s in eeh_cache.c

Michael Ellerman mpe at ellerman.id.au
Mon Jul 11 20:19:32 AEST 2016


On Fri, 2016-24-06 at 05:54:22 UTC, Andrew Donnellan wrote:
> eeh_cache.c doesn't build cleanly with -DDEBUG when
> CONFIG_PHYS_ADDR_T_64BIT is set, as a couple of pr_debug()s use "%lx" for
> resource_size_t parameters.
> 
> Use "%pap" instead, as it's the correct format specifier for types deriving
> from phys_addr_t.
> 
> Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
> Cc: Russell Currey <ruscur at russell.cc>
> Cc: Gavin Shan <gwshan at linux.vnet.ibm.com>
> Reviewed-by: Gavin Shan <gwshan at linux.vnet.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/91dc068202a61741a458232de7

cheers


More information about the Linuxppc-dev mailing list