kernel_samsung_a53x/arch/powerpc/kexec
Zhang Zekun a0961c2731 powerpc/kexec: Fix return of uninitialized variable
[ Upstream commit 83b5a407fbb73e6965adfb4bd0a803724bf87f96 ]

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

Fixes: 2e6bd221d96f ("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-17 13:24:09 +01:00
..
core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
crash.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
elf_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
file_load.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
file_load_64.c powerpc/kexec: Fix return of uninitialized variable 2024-12-17 13:24:09 +01:00
ima.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ranges.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
relocate_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00