[PATCH 3/4] handoff-data: set flags of moved handoff data entry

Sascha Hauer s.hauer at pengutronix.de
Wed Oct 30 04:30:38 PDT 2024


When moving handoff data around we have to initialize the flags field
of the moved entry.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 pbl/handoff-data.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pbl/handoff-data.c b/pbl/handoff-data.c
index 17b0512132..a0a04cad0c 100644
--- a/pbl/handoff-data.c
+++ b/pbl/handoff-data.c
@@ -115,6 +115,7 @@ void handoff_data_move(void *dest)
 
 		newde->size = hde->size;
 		newde->cookie = hde->cookie;
+		newde->flags = hde->flags;
 		list_add_tail(&newde->list, &hdnew->entries);
 	}
 

-- 
2.39.5




More information about the barebox mailing list