[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.10.1508041331380.2327@hadrien>
Date: Tue, 4 Aug 2015 13:32:03 +0200 (CEST)
From: Julia Lawall <julia.lawall@...6.fr>
To: Shraddha Barke <shraddha.6596@...il.com>
cc: linux-kernel@...r.kernel.org, Julia Lawall <Julia.Lawall@...6.fr>,
Joe Perches <joe@...ches.com>, Jiayi Ye <yejiayily@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Andreas Dilger <andreas.dilger@...el.com>,
Oleg Drokin <oleg.drokin@...el.com>,
devel@...verdev.osuosl.org, HPDD-discuss@...1.01.org
Subject: Re: [PATCH 1/3] Staging: lustre: Replace comma with a semicolon
1 and 2 need to have different subjects (the [PATCH] part is not enough,
because it will go away).
julia
On Tue, 4 Aug 2015, Shraddha Barke wrote:
> Replace comma between expression statements by a semicolon.
> The semantic patch used is as follows:
>
> @@
> expression e1,e2;
> @@
> e1
> - ,
> + ;
> e2;
> ---
> drivers/staging/lustre/lustre/libcfs/libcfs_string.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/lustre/lustre/libcfs/libcfs_string.c b/drivers/staging/lustre/lustre/libcfs/libcfs_string.c
> index 4dde8e0..efe5e66 100644
> --- a/drivers/staging/lustre/lustre/libcfs/libcfs_string.c
> +++ b/drivers/staging/lustre/lustre/libcfs/libcfs_string.c
> @@ -400,7 +400,7 @@ cfs_expr_list_free(struct cfs_expr_list *expr_list)
> struct cfs_range_expr *expr;
>
> expr = list_entry(expr_list->el_exprs.next,
> - struct cfs_range_expr, re_link),
> + struct cfs_range_expr, re_link);
> list_del(&expr->re_link);
> LIBCFS_FREE(expr, sizeof(*expr));
> }
> --
> 2.1.0
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists