[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210314224503.GA2000@duo.ucw.cz>
Date: Sun, 14 Mar 2021 23:45:03 +0100
From: Pavel Machek <pavel@....cz>
To: robh@...nel.org, kernel list <linux-kernel@...r.kernel.org>
Subject: compile error in scripts/dtc/libfdt/fdt.c
Hi!
I get failure building ARM kernel. I can workaround it with. Are
system fdt headers used, or something like that?
I failed to copy the error message, but FDT_ERR_ALIGNMENT was
undefined symbol.
This is on 5.12-rc3.
BR,
Pavel
diff --git a/scripts/dtc/libfdt/fdt.c b/scripts/dtc/libfdt/fdt.c
index 3e893073da05..d15f437567d9 100644
--- a/scripts/dtc/libfdt/fdt.c
+++ b/scripts/dtc/libfdt/fdt.c
@@ -24,7 +24,7 @@ int32_t fdt_ro_probe_(const void *fdt)
/* The device tree must be at an 8-byte aligned address */
if ((uintptr_t)fdt & 7)
- return -FDT_ERR_ALIGNMENT;
+ return -FDT_ERR_INTERNAL;
if (fdt_magic(fdt) == FDT_MAGIC) {
/* Complete tree */
--
http://www.livejournal.com/~pavelmachek
Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)
Powered by blists - more mailing lists