| Date | Mon, 12 Apr 2010 21:31:45 -0700 | From | Yinghai <> | Subject | Re: [PATCH 06/39] lmb: Seperate __lmb_find_base() from __lmb_alloc_base() |
| |
On 04/12/2010 08:58 PM, Benjamin Herrenschmidt wrote: > On Thu, 2010-04-08 at 23:03 -0700, Yinghai Lu wrote: > >> + return -1ULL; >> +} > > Defininf some kind of LMB_ERROR would be nicer.
ok, also __lmb_alloc_base could return 0 when fail to get one.
replace that 0 with LMB_ERROR aka -1ULL?
Yinghai
|