diff options
author | Zhang Zekun <[email protected]> | 2024-09-30 15:56:28 +0800 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2024-11-15 00:29:46 +1100 |
commit | 83b5a407fbb73e6965adfb4bd0a803724bf87f96 (patch) | |
tree | 43a665e4ae2212686bcc99541c81eed824da708f /tools/perf/scripts/python/libxed.py | |
parent | 352268dc6da7b422022541c2cf846663110f775c (diff) |
powerpc/kexec: Fix return of uninitialized variable
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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions