Peiwei Hu 869fb7e5ae powerpc/prom_init: Fix improper check of prom_getprop()
prom_getprop() can return PROM_ERROR. Binary operator can not identify
it.

Fixes: 94d2dde738a5 ("[POWERPC] Efika: prune fixups and make them more carefull")
Signed-off-by: Peiwei Hu <jlu.hpw@foxmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/tencent_BA28CC6897B7C95A92EB8C580B5D18589105@qq.com
2021-11-25 11:25:33 +11:00
..
2021-04-30 12:22:28 -07:00
2021-11-25 11:25:29 +11:00
2021-11-06 14:36:12 -07:00
2021-09-03 11:22:50 -07:00
2020-12-04 01:01:09 +11:00
2021-09-03 11:22:50 -07:00
2021-04-30 11:20:40 -07:00
2021-09-03 15:33:47 -07:00
2021-02-09 00:10:50 +11:00
2021-11-16 21:24:16 +11:00
2021-11-02 22:22:13 -07:00
2021-08-19 09:02:55 +09:00