From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 27 Feb 2024 15:26:16 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1reyPP-00AlBN-39 for lore@lore.pengutronix.de; Tue, 27 Feb 2024 15:26:15 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1reyPO-00042K-K8; Tue, 27 Feb 2024 15:26:14 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1reyPM-000409-Ky for oss-tools@pengutronix.de; Tue, 27 Feb 2024 15:26:12 +0100 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1reyPM-003Dba-5e for oss-tools@pengutronix.de; Tue, 27 Feb 2024 15:26:12 +0100 Received: from mfe by dude02.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1reyPM-00AA1u-0L for oss-tools@pengutronix.de; Tue, 27 Feb 2024 15:26:12 +0100 From: Marco Felsch To: oss-tools@pengutronix.de Date: Tue, 27 Feb 2024 15:26:05 +0100 Message-Id: <20240227142611.2421711-1-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [OSS-Tools] [PATCH dt-utils 0/6] barebox-state sync X-BeenThere: oss-tools@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: Pengutronix Public Open-Source-Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "OSS-Tools" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: oss-tools-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Hi, this re-sync the barebox_state user-space tool with the barebox code. The reason for the sync is to avoid error prints in case of fresh initialized barebox state backends. While on it, I ported a few other commit as well to align the code with barebox. Regards, Marco Marco Felsch (6): state: align state_backend_bucket_direct_create with barebox state: don't mix goto labels and statements on same line state: drop null pointer checks around of_delete_node treewide: rename struct device_d to device state: make uninitialized state less verbose state: backend_bucket_direct: add debug prints on read/write src/barebox-state.c | 4 +++- src/barebox-state/backend_bucket_circular.c | 4 ++-- src/barebox-state/backend_bucket_direct.c | 25 +++++++++++++++------ src/barebox-state/backend_format_dtb.c | 4 ++-- src/barebox-state/backend_format_raw.c | 11 +++++---- src/barebox-state/backend_storage.c | 24 ++++++++++++-------- src/barebox-state/state.c | 19 +++++++++------- src/barebox-state/state.h | 24 ++++++++++++-------- src/barebox-state/state_variables.c | 9 +++++--- src/dt/common.h | 22 +++++++++--------- src/dt/dt.h | 8 +++---- src/libdt.c | 2 +- 12 files changed, 93 insertions(+), 63 deletions(-) -- 2.39.2