Re: [PATCH] Coccinelle: Script to replace if and BUG with BUG_ON

From: Julia Lawall
Date: Tue Aug 05 2014 - 14:17:35 EST




On Tue, 5 Aug 2014, Michal Marek wrote:

> 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 <himangi774@xxxxxxxxx>
> > Acked-by: Julia Lawall <julia.lawall@xxxxxxx>
>
> 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.

She sent it to me first. It's OK with me.

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/