Re: [RFC] gfp flags annotations

From: Al Viro
Date: Sat Oct 08 2005 - 20:07:31 EST

On Sun, Oct 09, 2005 at 05:13:15AM +0400, Alexey Dobriyan wrote:
> 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.

I've done that in the latter chunks, will send the next few in about half an
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at