Re: [PATCH] checkpatch: Warn on comparisons to true and false

From: Andy Whitcroft
Date: Wed Apr 10 2013 - 08:42:25 EST


On Wed, Apr 10, 2013 at 04:27:51AM -0700, Joe Perches wrote:

> like
> 0 == foo
> instead of
> foo == 0
>
> there were _way_ too many false positives of
> the $Expression sort that I didn't add that test.

Makes sense then as it is.

Thanks.

-apw
--
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/