Re: [PATCH] mm: don't access vm_flags as 'int'

From: Linus Torvalds
Date: Thu May 26 2011 - 13:54:33 EST


2011/5/26 KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>:
> The type of vma->vm_flags is 'unsigned long'. Neither 'int' nor
> 'unsigned int'. This patch fixes such misuse.

I applied this, except I also just made the executive decision to
replace things with "vm_flags_t" after all.

Which leaves a lot of "unsigned long" users that aren't converted, but
right now it doesn't matter, and it can be converted piecemeal as
people notice users..

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/