]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
staging: lustre: libcfs: expand the GOTO macro
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 7 Sep 2014 16:18:30 +0000 (18:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 19:45:28 +0000 (12:45 -0700)
commitfc5c7f3dd68b4ce1d7bfac82b30c7d7a13e609b1
tree8a0f990d0b80294642a3da0533000bd34be70f04
parent82604f8c97730e2962ab4cc4704fdbe105cfb6df
staging: lustre: libcfs: 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/libcfs/module.c
drivers/staging/lustre/lustre/libcfs/upcall_cache.c