mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 1/3] Staging: lustre: Replace comma with a semicolon
@ 2015-08-04 13:06 Shraddha Barke
  2015-08-04 13:06 ` [PATCH v2 2/3] Staging: lustre: Replace comma between expression statements by " Shraddha Barke
  2015-08-04 13:06 ` [PATCH v2 3/3] Staging: netlogic: Replace comma with " Shraddha Barke
  0 siblings, 2 replies; 5+ messages in thread
From: Shraddha Barke @ 2015-08-04 13:06 UTC (permalink / raw)
  To: linux-kernel, Julia Lawall, Joe Perches, Jiayi Ye,
	Greg Kroah-Hartman, Andreas Dilger, Oleg Drokin, devel,
	HPDD-discuss
  Cc: Shraddha Barke

Replace comma between expression statements by a semicolon.
The semantic patch used is as follows:

@@
expression e1,e2;
@@
e1
- ,
+ ;
e2;
---
Changes in v2:
  -No changes made.
 
 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-08-04 13:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-04 13:06 [PATCH v2 1/3] Staging: lustre: Replace comma with a semicolon Shraddha Barke
2015-08-04 13:06 ` [PATCH v2 2/3] Staging: lustre: Replace comma between expression statements by " Shraddha Barke
2015-08-04 13:34   ` Julia Lawall
     [not found]     ` <CAO393AAyJ-OTz+yfGsHdaKeyyXT3Y8EMoxgVJzoZCjXRB=UJGg@mail.gmail.com>
2015-08-04 13:45       ` Julia Lawall
2015-08-04 13:06 ` [PATCH v2 3/3] Staging: netlogic: Replace comma with " Shraddha Barke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®