[U-Boot-Users] [PATCH] mkimage: make mmap() checks consistent

Wolfgang Denk wd at denx.de
Sat May 3 23:33:56 CEST 2008


In message <1209629585-23527-1-git-send-email-vapier at gentoo.org> you wrote:
> The mmap() related code is full of inconsistent casts/constants when it
> comes to error checking, and may break when building on some systems (like
> ones that do not implicitly define the caddr_t type).  Let's just avoid the
> whole mess by writing the code nice and clean in the first place.
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  tools/mkimage.c |   22 +++++++++-------------
>  1 files changed, 9 insertions(+), 13 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
A Vulcan can  no  sooner  be  disloyal  than  he  can  exist  without
breathing.
	-- Kirk, "The Menagerie", stardate 3012.4




More information about the U-Boot mailing list