Messages in this thread | | | Date | Tue, 08 Jul 2014 16:22:04 -0700 (PDT) | Subject | Re: [PATCH] iaf_packet: use BUG_ON | From | David Miller <> |
| |
From: Himangi Saraogi <himangi774@gmail.com> Date: Wed, 9 Jul 2014 03:50:23 +0530
> Use BUG_ON(x) rather than if(x) BUG(); > > The semantic patch that fixes this problem is as follows: > > // <smpl> > @@ identifier x; @@ > -if (x) BUG(); > +BUG_ON(x); > // </smpl> > > Signed-off-by: Himangi Saraogi <himangi774@gmail.com> > Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Please repost this with a proper subject line, correcting "iaf_packet".
| |