From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julia Lawall Date: Fri, 10 Feb 2012 21:05:36 +0000 Subject: Re: [PATCH v2] scripts/coccinelle/misc/boolinit.cocci: semantic patch for bool issues Message-Id: List-Id: References: <1328905355-30874-1-git-send-email-Julia.Lawall@lip6.fr> <874nuye7aa.fsf@rustcorp.com.au> In-Reply-To: <874nuye7aa.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Rusty Russell Cc: Julia Lawall , Julia Lawall , kernel-janitors@vger.kernel.org, Gilles Muller , Nicolas Palix , cocci@diku.dk, linux-kernel@vger.kernel.org, Michal Marek , bruce.w.allan@intel.com, joe@perches.com On Sat, 11 Feb 2012, Rusty Russell wrote: > On Fri, 10 Feb 2012 21:22:35 +0100, Julia Lawall wrote: >> From: Julia Lawall >> >> Signed-off-by: Julia Lawall > > FWIW: > Reviewed-by: Rusty Russell > >> +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