Re: [RFC] gfp flags annotations

From: Alexey Dobriyan
Date: Sat Oct 08 2005 - 20:03:36 EST


On Sat, Oct 08, 2005 at 04:34:36PM -0700, Linus Torvalds wrote:
> 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?

See [*] in Al's RFC.

The amount of endian warnings on allmodconfig is in >10K range. gfp_t
ones would simply be lost in noise.

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