From: Eugeniu Rosca <erosca@de.adit-jv.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RESEND PATCH] core: ofnode: Add ofnode_get_addr_size_index
Date: Wed, 14 Aug 2019 11:47:41 +0200 [thread overview]
Message-ID: <20190814094741.GA17787@vmlxhi-102.adit-jv.com> (raw)
In-Reply-To: <a8590716-b363-3225-431e-b9b3fe008876@ti.com>
Hi Keerthy,
On Wed, Aug 14, 2019 at 01:53:50PM +0530, Keerthy wrote:
> Eugeniu,
>
> Could you kindly help me with the steps to reproduce the issue?
Sure. My pleasure. See [0].
> I am sending out a fix patch to convert all the size instances to fdt_size_t
> type.
>
> I have posted: https://patchwork.ozlabs.org/patch/1146830/
>
> I believe the above should fix the size mismatch.
The patch appears to fix the problem. Thanks!
[0] Steps to reproduce the issue reported in
https://patchwork.ozlabs.org/patch/1090094/#2212555
* Apply patch [1] to u-boot/master
* u-boot (master) gcc --version
gcc (Ubuntu 7.4.0-1ubuntu1~16.04~ppa1) 7.4.0
* u-boot (master) make defconfig all -j12
* u-boot (master) ./u-boot -d arch/sandbox/dts/test.dtb
[1] Dirty patch to enable ASAN in sandbox U-Boot (v2019.10-rc2):
diff --git a/Makefile b/Makefile
index 3b0864ae8eaa..b8ef4f267ed5 100644
--- a/Makefile
+++ b/Makefile
@@ -391,7 +391,7 @@ KBUILD_CPPFLAGS := -D__KERNEL__ -D__UBOOT__
KBUILD_CFLAGS := -Wall -Wstrict-prototypes \
-Wno-format-security \
- -fno-builtin -ffreestanding $(CSTD_FLAG)
+ -fno-builtin -ffreestanding $(CSTD_FLAG) -fsanitize=address
KBUILD_CFLAGS += -fshort-wchar -fno-strict-aliasing
KBUILD_AFLAGS := -D__ASSEMBLY__
@@ -768,6 +768,7 @@ PLATFORM_LIBGCC = arch/$(ARCH)/lib/lib.a
else
PLATFORM_LIBGCC := -L $(shell dirname `$(CC) $(c_flags) -print-libgcc-file-name`) -lgcc
endif
+PLATFORM_LIBS := -lasan $(PLATFORM_LIBS)
PLATFORM_LIBS += $(PLATFORM_LIBGCC)
ifdef CONFIG_CC_COVERAGE
--
Best Regards,
Eugeniu.
next prev parent reply other threads:[~2019-08-14 9:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-24 11:49 [U-Boot] [RESEND PATCH] core: ofnode: Add ofnode_get_addr_size_index Keerthy
2019-04-24 23:59 ` Simon Glass
2019-05-22 13:21 ` Simon Glass
2019-07-09 19:38 ` Eugeniu Rosca
2019-08-13 9:33 ` Simon Glass
2019-08-13 9:55 ` Keerthy
2019-08-14 8:23 ` Keerthy
2019-08-14 9:47 ` Eugeniu Rosca [this message]
2019-08-14 10:18 ` Keerthy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190814094741.GA17787@vmlxhi-102.adit-jv.com \
--to=erosca@de.adit-jv.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.