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
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
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