powerpc/eeh: Fix pr_debug()s in eeh_cache.c
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>
Fri, 24 Jun 2016 05:54:22 +0000 (15:54 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 8 Jul 2016 12:09:50 +0000 (22:09 +1000)
commit91dc068202a61741a458232de7de0627d6ac9952
tree0af45412fcdbaa71082d80957024c518f7286f3e
parenta203658b5ed37c11e5016d3fbbbab9ce018c1b78
powerpc/eeh: Fix pr_debug()s in eeh_cache.c

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@au1.ibm.com>
Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/eeh_cache.c