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

Attachment: signature.asc
Description: PGP signature

Reply via email to