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 cond
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
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:
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
---
scripts/coccinelle/misc/bugon.cocci |
4 matches
Mail list logo