Staging: lustre: mgc: Replace comma with a semicolon
authorShraddha Barke <shraddha.6596@gmail.com>
Tue, 4 Aug 2015 17:50:51 +0000 (23:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 19:18:01 +0000 (12:18 -0700)
Replace comma between expression statements by a semicolon.
The semantic patch used is as follows:

@@
expression e1,e2;
@@
e1
- ,
+ ;
e2;

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/mgc/mgc_request.c

index 562bd95bdcb9845c8b8930e04720d8a7a3a92c6b..019ee2f256aa1b94b90f7c0f23af9aeebbe2a585 100644 (file)
@@ -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);