lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 08 Jul 2014 16:22:04 -0700 (PDT) From: David Miller <davem@...emloft.net> To: himangi774@...il.com Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org, julia.lawall@...6.fr Subject: Re: [PATCH] iaf_packet: use BUG_ON From: Himangi Saraogi <himangi774@...il.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@...il.com> > Acked-by: Julia Lawall <julia.lawall@...6.fr> Please repost this with a proper subject line, correcting "iaf_packet". -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists