[U-Boot] [PATCH] utx8245: fix build breakage due to assert()

Wolfgang Denk wd at denx.de
Sat Sep 10 22:42:34 CEST 2011


Dear Wolfgang Denk,

In message <1315663665-24926-1-git-send-email-wd at denx.de> you wrote:
> Commit 21726a7 "Add assert() for debug assertions" broke building the
> utx8245 board:
> 
> dlmalloc.c: In function 'do_check_chunk':
> dlmalloc.c:1660: error: 'sz' undeclared (first use in this function)
> dlmalloc.c:1660: error: (Each undeclared identifier is reported only once
> dlmalloc.c:1660: error: for each function it appears in.)
> dlmalloc.c: In function 'do_check_free_chunk':
> dlmalloc.c:1689: error: 'next' undeclared (first use in this function)
> dlmalloc.c: In function 'do_check_malloced_chunk':
> dlmalloc.c:1748: error: 'sz' undeclared (first use in this function)
> dlmalloc.c:1750: error: 'room' undeclared (first use in this function)
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> ---
>  common/dlmalloc.c |    6 ------
>  1 files changed, 0 insertions(+), 6 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You can't evaluate a man by logic alone.
	-- McCoy, "I, Mudd", stardate 4513.3


More information about the U-Boot mailing list