summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorZhang Zekun <zhangzekun11@huawei.com>2024-09-30 15:56:28 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-05 14:02:14 +0100
commit55fdcd1f4aaafd8a0eed7256093306f50235075c (patch)
treed24033ec08c7baea88f5f1fc147a139128fcb399 /scripts
parentac8f0486370400f090b993c5ba83b3f603634345 (diff)
downloadlinux-55fdcd1f4aaafd8a0eed7256093306f50235075c.tar.gz
linux-55fdcd1f4aaafd8a0eed7256093306f50235075c.tar.bz2
linux-55fdcd1f4aaafd8a0eed7256093306f50235075c.zip
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions