Files
linux-bredos/arch/powerpc/kexec
Zhang Zekun 1dd2d5630f powerpc/kexec: Fix return of uninitialized variable
[ Upstream commit 83b5a407fb ]

of_property_read_u64() can fail and leave the variable uninitialized,
which will then be used. Return error if reading the property failed.

Fixes: 2e6bd221d9 ("powerpc/kexec_file: Enable early kernel OPAL calls")
Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://patch.msgid.link/20240930075628.125138-1-zhangzekun11@huawei.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-09 10:32:21 +01:00
..
2022-09-26 22:47:37 +10:00
2022-09-26 22:47:37 +10:00