From: mmarek@suse.cz (Michal Marek) Date: Tue, 05 Aug 2014 16:27:28 +0200 Subject: [Cocci] [PATCH] Coccinelle: Script to replace if and BUG with BUG_ON In-Reply-To: <20140720213635.GA12365@himangi-Dell> References: <20140720213635.GA12365@himangi-Dell> Message-ID: <53E0E9D0.9040500@suse.cz> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr On 2014-07-20 23:36, Himangi Saraogi wrote: > This script detects cases where BUG() follows an if condition on an > expression and replaces the if condition and BUG() with a BUG_ON having > the conditional expression of the if statement as argument. > > Signed-off-by: Himangi Saraogi > Acked-by: Julia Lawall Is this a result of some internal review, or where does Julia's Acked-by come from? I'm just wondering, because I haven't seen any previous version of this patch. Thanks, Michal