[PATCH v2 4/6] lib: fix fdt_parse_plicsw_node()

Yu-Chien Peter Lin peterlin at andestech.com
Tue Nov 29 02:44:41 PST 2022


On Mon, Nov 28, 2022 at 10:14:18AM +0100, Heinrich Schuchardt wrote:
> cpu_offset and cpu_intc_offset must be int to detect failed invocations of
> fdt_node_offset_by_phandle() or fdt_parent_offset().
> 
> After determining cpu_offset we have to check this value and not
> cpu_intc_offset.
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>

Looks good to me

Reviewed-by: Yu Chien Peter Lin <peterlin at andestech.com>



More information about the opensbi mailing list