[Pdbg] [PATCH v3 1/4] libpdbg: Properties for / in system tree are attached to root node
Alistair Popple
alistair at popple.id.au
Wed Mar 4 14:35:17 AEDT 2020
Reviewed-by: Alistair Popple <alistair at popple.id.au>
On Wednesday, 4 March 2020 2:19:10 PM AEDT Amitay Isaacs wrote:
> Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
> ---
> libpdbg/device.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libpdbg/device.c b/libpdbg/device.c
> index 66527ed..48f2c58 100644
> --- a/libpdbg/device.c
> +++ b/libpdbg/device.c
> @@ -707,7 +707,7 @@ bool pdbg_targets_init(void *fdt)
> }
>
> /* Root node needs to be valid when this function returns */
> - pdbg_dt_root = dt_new_node("", NULL, 0);
> + pdbg_dt_root = dt_new_node("", dtb->system.fdt, 0);
> if (!pdbg_dt_root)
> return false;
More information about the Pdbg
mailing list