Re: [PATCH] add likely around access_ok for uaccess

From: Andrew Morton
Date: Sun Sep 14 2003 - 15:01:06 EST


Manfred Spraul <manfred@xxxxxxxxxxxxxxxx> wrote:
>
> What happens if access_ok is used outside of an if statement?

Seems OK. Even this compiles:

int x;

x = likely(y == 0);
-
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/