diff options
| author | Haoran Liu <[email protected]> | 2023-11-27 14:41:08 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2023-12-21 11:16:21 +0000 |
| commit | e6beb47edb89ca9dc8906515e2dfbeb5913312c8 (patch) | |
| tree | 9b94403c2816f03146c434eb69cb0275c22b567e /scripts/gcc-plugins/structleak_plugin.c | |
| parent | selftests/powerpc: Fix spelling mistake "EACCESS" -> "EACCES" (diff) | |
| download | kernel-e6beb47edb89ca9dc8906515e2dfbeb5913312c8.tar.gz kernel-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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions
