]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Fix an underflow bug in __lmb_alloc_base
authorAndy Fleming <afleming@freescale.com>
Mon, 16 Jun 2008 18:58:55 +0000 (13:58 -0500)
committerWolfgang Denk <wd@denx.de>
Sat, 28 Jun 2008 20:22:05 +0000 (22:22 +0200)
commit7570a9941fc565922078679a72d246fe208d696d
tree91ed5c3837bb2c491fb4ef101c3371c5f58fb79a
parent63796c4e61b207d2e635729d41b7a7f7d188b03c
Fix an underflow bug in __lmb_alloc_base

__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@freescale.com>
lib_generic/lmb.c