[U-Boot-Users] [PATCH v3 3/4] Fix an underflow bug in __lmb_alloc_base
Wolfgang Denk
wd at denx.de
Sun Jul 6 00:32:01 CEST 2008
In message <1213642736-20713-3-git-send-email-afleming at freescale.com> you wrote:
> __lmb_alloc_base can underflow if it fails to find free space. This was fixed
> in linux with commit d9024df02ffe74d723d97d552f86de3b34beb8cc. This patch
> merely updates __lmb_alloc_base to resemble the current version in Linux.
>
> Signed-off-by: Andy Fleming <afleming at freescale.com>
> ---
> Rebased off the top of tree to ease application.
>
> lib_generic/lmb.c | 34 +++++++++++++++++++---------------
> 1 files changed, 19 insertions(+), 15 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
Vulcans believe peace should not depend on force.
-- Amanda, "Journey to Babel", stardate 3842.3
More information about the U-Boot
mailing list