From patchwork Wed Mar 4 03:19:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1248764 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48XJyj5wcJz9sSG for ; Wed, 4 Mar 2020 14:19:41 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=ozlabs.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.a=rsa-sha256 header.s=201707 header.b=BilsyoWC; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 48XJyh2x0fzDqJH for ; Wed, 4 Mar 2020 14:19:40 +1100 (AEDT) X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 48XJyG5Y8GzDqRj for ; Wed, 4 Mar 2020 14:19:18 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.a=rsa-sha256 header.s=201707 header.b=BilsyoWC; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 48XJyG3PjHz9sSG; Wed, 4 Mar 2020 14:19:18 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1583291958; bh=f88ITAGXlhootC2vb0n7n39cqDOjWXloG37XQbRPNQ0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BilsyoWC+0fwe5FjX1IBkA5zYIBcdOPnWmkOhKK66dagV+PawtiOXcT/WKLUChZTr Zf7V9LxgTmG2IK+F3qnOdCJdVohfCT267i+5dMy/XcGwZYJUNyIoOjRCjuKXqGgpRD dnOULLm3NyVIMouBQfSFX7gSvfNwwrOrKLkdLa+uKvruhOmLHap7DJ3KESVhYfG8HZ RIiGtxJW5HK8ZjeePfEyfKr8svcgelCn1a8vhGgKZTqUytWNfkQz4G+QeKgXa4gglM kFNZMiFElj7xs6bR1QJbFOfHSB2VrCW2CY6fCXCQfEpjoLX9LVvOUJA+nsjMbPx6pB zC/OLi8OgfLTQ== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Wed, 4 Mar 2020 14:19:10 +1100 Message-Id: <20200304031913.150094-2-amitay@ozlabs.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200304031913.150094-1-amitay@ozlabs.org> References: <20200304031913.150094-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH v3 1/4] libpdbg: Properties for / in system tree are attached to root node X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Amitay Isaacs Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" Signed-off-by: Amitay Isaacs Reviewed-by: Alistair Popple --- 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;