diff options
author | Peiwei Hu <jlu.hpw@foxmail.com> | 2021-11-19 17:12:18 +0800 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-11-25 11:25:33 +1100 |
commit | 869fb7e5aecbc163003f93f36dcc26d0554319f6 (patch) | |
tree | b6cc48a5318097b107c0d6c7d806042e00f8c183 /arch/powerpc/lib/code-patching.c | |
parent | dd5cde457a5eb77088d1d9eecface47c0563cd43 (diff) |
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
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions