Skip to contentSkip to conversation

Staging: lustre: Replace comma with a semicolon

PATCH New Shraddha Barke 1 participant 1 message Aug 3, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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
index 562bd95..019ee2f 100644
@@ -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