Re: [PATCH] powerpc/powernv: Add error handling to opal_prd_range_is_valid

2023-12-31 Thread Michael Ellerman
On Mon, 27 Nov 2023 06:41:08 -0800, Haoran Liu wrote: > 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 fai

[PATCH] powerpc/powernv: Add error handling to opal_prd_range_is_valid

2023-11-27 Thread Haoran Liu
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 --- arch/powerpc/platforms/po