]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: lov: expand the GOTO macro
authorJulia Lawall <Julia.Lawall@lip6.fr>
Tue, 9 Sep 2014 13:44:08 +0000 (15:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Sep 2014 21:42:37 +0000 (14:42 -0700)
commit28ac060d3f3b4b5b276c74d101857ea6e915d106
tree973d953f95b8c635458df20deb8c7b14a63e4671
parent5c7013c743c9770ed77b29052fd9277a5ae33c06
staging: lustre: lov: 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/lov/lov_obd.c
drivers/staging/lustre/lustre/lov/lov_object.c
drivers/staging/lustre/lustre/lov/lov_pack.c
drivers/staging/lustre/lustre/lov/lov_page.c
drivers/staging/lustre/lustre/lov/lov_pool.c
drivers/staging/lustre/lustre/lov/lov_request.c