Re: [PATCH] FS: Making aproriate return type

From: Al Viro
Date: Thu May 11 2017 - 00:20:56 EST


On Thu, May 11, 2017 at 09:44:09AM +0530, Pushkar Jambhlekar wrote:
> unsigned_offsets function returns fmode_t but function definition returns int. sparse generate warning.
> Updating proper return type

You do realize that it's a predicate? This is actually one case where
bool would be appropriate...