Re: [PATCH] Coccinelle: Script to replace if and BUG with BUG_ON
From: Michal Marek
Date: Wed Aug 06 2014 - 05:34:49 EST
On 2014-08-05 20:16, Julia Lawall wrote:
>
>
> 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.
OK, thanks for confirming. I'm going to merge this and the previous
patches by Himangi.
Michal
--
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/