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

From: Rusty Russell
Date: Fri Feb 10 2012 - 15:58:08 EST


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!

Thanks,
Rusty.
--
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/