[Bridge] [PATCH 00/25] treewide: Use bool function return values of true/false not 1/0

Joe Perches joe at perches.com
Tue Mar 31 00:14:48 UTC 2015


On Mon, 2015-03-30 at 17:07 -0700, Casey Schaufler wrote:
> On 3/30/2015 4:45 PM, Joe Perches wrote:
> > Joe Perches (25):
> >   arm: Use bool function return values of true/false not 1/0

[etc...]

> Why, and why these in particular?

bool functions are probably better returning
bool values instead of 1 and 0.

Especially when the functions intermix returning
returning 1/0 and true/false.

(there are only a couple of those though)

These are all the remaining instances in the
kernel tree.



More information about the Bridge mailing list