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

From: Greg Kroah-Hartman
Date: Mon Sep 08 2014 - 15:50:40 EST


On Sun, Sep 07, 2014 at 06:18:31PM +0200, Julia Lawall wrote:
> From: Julia Lawall <Julia.Lawall@xxxxxxx>
>
> 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@xxxxxxx>
>
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/