Re: [PATCH 01/35] lmb: prepare x86 to use lmb to replace early_res

From: H. Peter Anvin
Date: Mon May 17 2010 - 14:10:33 EST


On 05/14/2010 01:09 AM, Benjamin Herrenschmidt wrote:
>
> No. That is not the point. Read the rest of my email !
>
> We need to -sanitize- those errors. _Maybe_ exposing LMB_ERROR is the
> right way to do so, but in that case, we need to make -all- function use
> the same error code. Right now, some fail with 0 and some with
> LMB_ERROR.
>

Using errnos like the rest of the kernel seems like the right thing to
do, IMO.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/