Re: [PATCH 3/7] staging: lustre: lov: expand the GOTO macro

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

Re: [PATCH 3/7] staging: lustre: lov: expand the GOTO macro

2014-09-08 Thread Greg Kroah-Hartman
On Sun, Sep 07, 2014 at 06:18:31PM +0200, Julia Lawall wrote: > 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; > > @@ > id

[PATCH 3/7] staging: lustre: lov: expand the GOTO macro

2014-09-07 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