]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: lmv: expand the GOTO macro
authorJulia Lawall <Julia.Lawall@lip6.fr>
Wed, 27 Aug 2014 21:01:34 +0000 (23:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 19:08:43 +0000 (12:08 -0700)
commitcf900bb3ecabccb9d19c29275897be22129f2a2b
tree687eb8a664c9c983e9ee7a2838f51432d55b2a88
parent63b3f7f605338d9f5aadbd595c20227754b88cb3
staging: lustre: lmv: expand the GOTO macro

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
identifier lbl;
identifier rc;
constant c;
@@

- GOTO(lbl,\(rc\|c\));
+ goto lbl;

@@
identifier lbl;
expression rc;
@@

- GOTO(lbl,rc);
+ rc;
+ goto lbl;
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lmv/lmv_intent.c
drivers/staging/lustre/lustre/lmv/lmv_obd.c