[PATCH v2 3/6] lib: fix fdt_parse_plmt_node()
Bin Meng
bmeng.cn at gmail.com
Fri Dec 2 07:55:22 PST 2022
On Mon, Nov 28, 2022 at 5:16 PM Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> cpu_offset, cpu_intc_offset must be int to discover 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>
> ---
> v2:
> check correct variable
> ---
> lib/utils/fdt/fdt_helper.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
Reviewed-by: Bin Meng <bmeng at tinylab.org>
More information about the opensbi
mailing list