On Sun, Aug 26, 2012 at 11:52:36PM +0400, Cyrill Gorcunov wrote: > - unsigned f_mode = file->f_mode; > + unsigned int f_mode = file->f_mode; This changes nothing; unsigned and unsigned int are exactly the same. fmode_t isn't, from sparse POV, and that's what you want to use here. -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html