Re: [PATCH] drivers: nouveau: Bool tests don't need comparison

From: Dan Carpenter
Date: Thu Dec 13 2012 - 03:16:59 EST


On Wed, Dec 12, 2012 at 02:54:10PM +0100, Laurent Navet wrote:
> Bool initializations should use true and false. Bool tests don't need
> comparisons. Based on contributions from Joe Perches, Rusty Russell
> and Bruce W Allan.
>
> The semantic patch that makes this output is available
> in scripts/coccinelle/misc/boolinit.cocci.
>
> More information about semantic patching is available at
> http://coccinelle.lip6.fr/
>

For some reason the commit message is indented by one space. Don't
do whatever caused that.

regards,
dan carpenter

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