Re: [PATCH] staging: lustre: mdc: expand the GOTO macro

2014-08-28 Thread Julia Lawall
On Thu, 28 Aug 2014, Dan Carpenter wrote: > Thanks. These are nice. We need to get rid of the GOTO() macro > entirely. I will. The whole patch is 11,000 lines (including the context code, @@s etc), and I didn't have the patience to check all of that at once... julia

Re: [PATCH] staging: lustre: mdc: expand the GOTO macro

2014-08-28 Thread Dan Carpenter
Thanks. These are nice. We need to get rid of the GOTO() macro entirely. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH] staging: lustre: mdc: expand the GOTO macro

2014-08-28 Thread Julia Lawall
From: Julia Lawall The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ identifier lbl; identifier rc; constant c; @@ - GOTO(lbl,\(rc\|c\)); + goto lbl; @@ identifier lbl; expression rc; @@ - GOTO(lbl,rc); + rc; + goto lbl; // Signed-off-by: Julia Law