From 665c94232973ae0c2f0e68ab8624bd1934f0ff5e Mon Sep 17 00:00:00 2001 From: vikke1234 Date: Fri, 14 Jul 2023 13:18:27 +0300 Subject: [PATCH] patterns/fdt: Fixed typo (#141) --- patterns/fdt.pat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patterns/fdt.pat b/patterns/fdt.pat index 04a4071..342f0ce 100644 --- a/patterns/fdt.pat +++ b/patterns/fdt.pat @@ -52,7 +52,7 @@ struct FDTStructureBlock { u32 nameoff; char value[len]; AlignTo<4>; - char name[] @ address(parent) + parent.header.off_dt_strings + nameoff; + char name[] @ addressof(parent) + parent.header.off_dt_strings + nameoff; } else if (token == FDTToken::FDT_NOP || token == FDTToken::FDT_END_NODE) { // Nothing to do } else {