[PATCH 1/3] mm: add __nocast attribute to vm_flags

From: KOSAKI Motohiro
Date: Tue Apr 12 2011 - 22:19:59 EST


> > On Tue, Apr 12, 2011 at 10:12 AM, KOSAKI Motohiro
> > <kosaki.motohiro@xxxxxxxxxxxxxx> wrote:
> > > After next year? All developers don't have to ignore compiler warnings!
> >
> > At least add vm_flags_t which is sparse-checked, just like we do with gfp_t.
>
> Good idea.

Alexy, I have to deeply thank you. Your suggestion help to find two
hidden vm_flags usage. (I'll post them as reply of this mail)

Now, i386 allyesconfig build doesn't detect nocast violation. Then, I
believe we don't have a big overlooking anymore.