Andrew Morton <[EMAIL PROTECTED]> wrote:

> To me, "val_outside" means "true if the value is outside":
> 
> bool val_outside(val, start, len)
> {
>       return val < start || val > (start+len-1);
> }
> 
> that's what my function does.

Seconded.  Again, I would suggest calling it something like limit_check() or
range_check().

David
-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to