diff options
author | 2023-11-27 06:41:08 -0800 | |
---|---|---|
committer | 2023-12-21 22:16:21 +1100 | |
commit | e6beb47edb89ca9dc8906515e2dfbeb5913312c8 (patch) | |
tree | 9b94403c2816f03146c434eb69cb0275c22b567e /tools/perf/scripts/python/gecko.py | |
parent | selftests/powerpc: Fix spelling mistake "EACCESS" -> "EACCES" (diff) | |
download | wireguard-linux-e6beb47edb89ca9dc8906515e2dfbeb5913312c8.tar.xz wireguard-linux-e6beb47edb89ca9dc8906515e2dfbeb5913312c8.zip |
powerpc/powernv: Add error handling to opal_prd_range_is_valid
In the opal_prd_range_is_valid function within opal-prd.c,
error handling was missing for the of_get_address call.
This patch adds necessary error checking, ensuring that the
function gracefully handles scenarios where of_get_address fails.
Signed-off-by: Haoran Liu <liuhaoran14@163.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231127144108.29782-1-liuhaoran14@163.com
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions