Re: [RFC] gfp flags annotations

From: Linus Torvalds
Date: Sat Oct 08 2005 - 18:40:06 EST




On Thu, 6 Oct 2005, Al Viro wrote:
>
> a) typedef unsigned int __nocast gfp_t;

Btw, since you did a typedef, any reason why it isn't marked __bitwise
too? It would seem that all valid uses of it are bit tests with predefined
values, ie a __bitwise restriction would seem very natural, no?

Linus
-
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/