lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ