@@ -2991,7 +2991,7 @@ static void __init fixup_device_tree_efika_add_phy(void)/* Check if the phy-handle property exists - bail if it does */rv=prom_getprop(node,"phy-handle",prop,sizeof(prop));-if(!rv)+if(rv<=0)return;/*
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Date: 2021-11-19 09:46:48
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