Staging: lustre: Replace comma with a semicolon
PATCH 1/3 Staging: lustre: Replace comma with a semicolon
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(-)
drivers/staging/lustre/lustre/libcfs/libcfs_string.c +1 -1
@@ -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)); }
Signature · 1 line
2.1.0
PATCH 2/3 Staging: lustre: Replace comma with a semicolon.
Replace comma between expression statements by a semicolon. The semantic patch used is as follows:
@@
expression e1,e2;
@@
e1
- ,
+ ;
e2;
--- drivers/staging/lustre/lustre/mgc/mgc_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/lustre/lustre/mgc/mgc_request.c +1 -1
@@ -1232,7 +1232,7 @@ static int mgc_apply_recover_logs(struct obd_device *mgc, pos +=sprintf (obdname + pos,"-%s%04x" , is_ost ?"OST" :"MDT" , entry->mne_index); - cname = is_ost ?"osc" :"mdc" , + cname = is_ost ?"osc" :"mdc" ; pos +=sprintf (obdname + pos,"-%s-%s" , cname, inst);lustre_cfg_bufs_reset (&bufs, obdname);
Signature · 1 line
2.1.0
PATCH 3/3 Staging: netlogic: Replace comma with a semicolon
In reply to Shraddha BarkeReplace comma between expression statements by a semicolon. The semantic patch used is as follows:
@@
expression e1,e2;
@@
e1
- ,
+ ;
e2;
--- drivers/staging/netlogic/platform_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/netlogic/platform_net.c +1 -1
@@ -163,7 +163,7 @@ static void xls_gmac_init(void)switch (nlm_prom_info.board_major_version) {case 12 :/* first block RGMII or XAUI, use RGMII */ - ndata0.phy_interface =PHY_INTERFACE_MODE_RGMII , + ndata0.phy_interface =PHY_INTERFACE_MODE_RGMII ; ndata0.tx_stnid[0 ] =FMN_STNID_GMAC0_TX0 ; ndata0.phy_addr[0 ] =0 ;
Signature · 1 line
2.1.0
1 and 2 need to have different subjects (the [PATCH] part is not enough, because it will go away).
julia
Quoted 31 lines · Shraddha Barke
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(-)drivers/staging/lustre/lustre/libcfs/libcfs_string.c +1
-2@@ -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
A message that is not in the archive (sent off-list or not yet received): CAO393AAXwnkejsq=8gRzCdVhRaZyEaPCESePAHAXeOscaqEn5g@mail.gmail.com
Quoted 3 lines · Shraddha Barke
Should I resend the entire patch series as v2 ? Or only the first two patches?
The entire series. You can say under the --- that there is no change in the cases where there is no change.
julia