Tag: 022484c17253aea84aa2603068ea065ca59bb5e5

drivers/net: Adjust confusing if indentation

Author: Julia Lawall <julia@diku.dk> In amd8111e.c, indent the branch of an if. In eepro.c, outdent the code following the if. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r disable braces4@ position p1,p2; statement S1,S2; @@ ( if (…) { … } | if (…) S1@p1 S2@p2 ) @script:python@ p1