From: Julia Lawall Date: Sun, 7 Sep 2014 16:18:33 +0000 (+0200) Subject: staging: lustre: obdclass: expand double GOTO macros X-Git-Tag: fixes-for-v3.18-merge-window~15^2~772 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09c8a87ce62e858a048ca958faffc16acacfbc4e;p=pandora-kernel.git staging: lustre: obdclass: expand double GOTO macros The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ identifier lbl; @@ if (...) GOTO(lbl,...); +else GOTO(lbl,...); @@ identifier lbl; expression e,e1,e2; @@ if (e) - GOTO(lbl,e1); -else GOTO(lbl,e2); + e1; +else e2; +goto lbl; @@ identifier lbl1,lbl2; expression e,e1,e2; @@ + e1=e2; if (e) - GOTO(lbl1,e1=e2); -GOTO(lbl2,e1=e2); + goto lbl1; +goto lbl2; // Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed