lkml.org 
[lkml]   [2014]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/7] staging: lustre: lov: expand the GOTO macro
On Sun, Sep 07, 2014 at 06:18:31PM +0200, Julia Lawall wrote:
> From: Julia Lawall <Julia.Lawall@lip6.fr>
>
> 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>
>
> ---
> drivers/staging/lustre/lustre/lov/lov_obd.c | 154 ++++++++++------
> drivers/staging/lustre/lustre/lov/lov_object.c | 13 -
> drivers/staging/lustre/lustre/lov/lov_pack.c | 23 +-
> drivers/staging/lustre/lustre/lov/lov_page.c | 12 -
> drivers/staging/lustre/lustre/lov/lov_pool.c | 38 ++--
> drivers/staging/lustre/lustre/lov/lov_request.c | 226 +++++++++++++++---------
> 6 files changed, 304 insertions(+), 162 deletions(-)

There were some patches ahead of yours in this area that prevented this
patch from applying.

Can you refresh this against my latest tree (staging-next branch of
staging.git on git.kernel.org) and resend?

thanks,

greg k-h


\
 
 \ /
  Last update: 2014-09-08 22:21    [W:0.050 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site