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

Andy Shevchenko andriy.shevchenko at linux.intel.com
Fri Nov 19 20:46:35 AEDT 2021


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 not
include my name, for example.

[1]: https://github.com/andy-shev/home-bin-tools/blob/master/ge2maintainer.sh

-- 
With Best Regards,
Andy Shevchenko




More information about the Linuxppc-dev mailing list