Re: [PATCH] powerpc/prom_init: fix the improper check of prom_getprop

2021-11-25 Thread Michael Ellerman
On Fri, 19 Nov 2021 17:12:18 +0800, Peiwei Hu wrote: > prom_getprop() can return PROM_ERROR. Binary operator can not identify it. > > Applied to powerpc/next. [1/1] powerpc/prom_init: fix the improper check of prom_getprop https://git.kernel.org/powerpc/c/869fb7e5aecbc163003f93f36dcc26d05

[PATCH] powerpc/prom_init: fix the improper check of prom_getprop

2021-11-19 Thread Peiwei Hu
prom_getprop() can return PROM_ERROR. Binary operator can not identify it. Signed-off-by: Peiwei Hu --- arch/powerpc/kernel/prom_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index 18b04b08b983..f84506

Re: [PATCH] powerpc/prom_init: fix the improper check of prom_getprop

2021-11-19 Thread Andy Shevchenko
On Fri, Nov 19, 2021 at 05:12:18PM +0800, Peiwei Hu wrote: > prom_getprop() can return PROM_ERROR. Binary operator can not identify it. Fixes: 94d2dde738a5 ("[POWERPC] Efika: prune fixups and make them more carefull") ? P.S. Try to use my script [1] to send patches, it should be smart enough to