Re: [PATCH] powerpc/prom: fix early DEBUG messages

2018-12-14 Thread Christophe Leroy
Le 14/12/2018 à 07:22, Michael Ellerman a écrit : Christophe Leroy writes: diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index fe758cedb93f..d8e56e03c9c6 100644 --- a/arch/powerpc/kernel/prom.c +++ b/arch/powerpc/kernel/prom.c @@ -749,7 +749,11 @@ void __init

Re: [PATCH] powerpc/prom: fix early DEBUG messages

2018-12-13 Thread Michael Ellerman
Christophe Leroy writes: > diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c > index fe758cedb93f..d8e56e03c9c6 100644 > --- a/arch/powerpc/kernel/prom.c > +++ b/arch/powerpc/kernel/prom.c > @@ -749,7 +749,11 @@ void __init early_init_devtree(void *params) >

[PATCH] powerpc/prom: fix early DEBUG messages

2018-12-13 Thread Christophe Leroy
This patch fixes early DEBUG messages in prom.c: - Use %px instead of %p to see the addresses - Use %x instead of %llx when phys_addr_t is not 64 bits. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/prom.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git