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
| ||
|
Message-ID: <1281294785.21680.3.camel@lb-tlvb-eilong.il.broadcom.com> Date: Sun, 8 Aug 2010 22:13:05 +0300 From: "Eilon Greenstein" <eilong@...adcom.com> To: "Julia Lawall" <julia@...u.dk> cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "kernel-janitors@...r.kernel.org" <kernel-janitors@...r.kernel.org>, yanivr@...adcom.com Subject: Re: [PATCH 32/42] drivers/net/bnx2x: Adjust confusing if indentation On Thu, 2010-08-05 at 13:26 -0700, Julia Lawall wrote: > From: Julia Lawall <julia@...u.dk> > > Outdent the code following the if. > > The semantic match that finds this problem is as follows: > (http://coccinelle.lip6.fr/) > > // <smpl> > @r disable braces4@ > position p1,p2; > statement S1,S2; > @@ > > ( > if (...) { ... } > | > if (...) S1@p1 S2@p2 > ) > > @script:python@ > p1 << r.p1; > p2 << r.p2; > @@ > > if (p1[0].column == p2[0].column): > cocci.print_main("branch",p1) > cocci.print_secs("after",p2) > // </smpl> > > Signed-off-by: Julia Lawall <julia@...u.dk> Acked-by: Eilon Greenstein <eilong@...adcom.com> > --- > This patch doesn't change the semantics of the code. But it might not be > what is intended. This is indeed just bad alignment, thanks for the fix -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists