[U-Boot] [PATCH v2] Use do_div from div64.h for vsprintf
Wolfgang Denk
wd at denx.de
Mon Jul 27 00:10:25 CEST 2009
Dear Dirk Behme,
In message <1248277916-4623-1-git-send-email-dirk.behme at googlemail.com> you wrote:
> Use do_div from div64.h for vsprintf in case of 64bit division.
> For 32bit division, do_div from div64.h can't be used as it
> needs a 64bit parameter.
>
> Signed-off-by: Dirk Behme <dirk.behme at googlemail.com>
> CC: Simon Kagstrom <simon.kagstrom at netinsight.net>
> ---
>
> This patch replaces first version
>
> http://lists.denx.de/pipermail/u-boot/2009-July/055599.html
>
> due to compiler warnings
>
> http://lists.denx.de/pipermail/u-boot/2009-July/056994.html
>
> lib_generic/vsprintf.c | 7 ++++---
> 1 file changed, 4 insertions(+), 3 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 could end up being oddly sad and full of a strange, diffuse com-
passion which would lead you to believe that it might be a good idea
to wipe out the whole human race and start again with amoebas.
- Terry Pratchett, _Guards! Guards!_
More information about the U-Boot
mailing list