mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
powerpc/prom_init: Fix improper check of prom_getprop()
[ Upstream commit869fb7e5ae] prom_getprop() can return PROM_ERROR. Binary operator can not identify it. Fixes:94d2dde738("[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 Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
e459a89df3
commit
49a237c73a
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue