Re: [PATCH v2] scripts/coccinelle/misc/boolinit.cocci: semanticpatch for bool issues

From: Julia Lawall
Date: Fri Feb 10 2012 - 16:05:37 EST




On Sat, 11 Feb 2012, Rusty Russell wrote:

On Fri, 10 Feb 2012 21:22:35 +0100, Julia Lawall <Julia.Lawall@xxxxxxx> wrote:
From: Julia Lawall <Julia.Lawall@xxxxxxx>

Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxx>

FWIW:
Reviewed-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>

+coccilib.report.print_report(p2[0],"WARNING: Assignment of bool to non-0/1 constant")

IMHO, this one should be an error!

OK, I've changed that one.

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