Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1198937 > unrolled thread

[PATCH] Staging : lustre :Replace comma with a semicolon

Started byShraddha Barke <shraddha.6596@gmail.com>
First post2015-08-03 17:20 +0200
Last post2015-08-04 02:40 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH]  Staging : lustre :Replace comma with a semicolon Shraddha Barke <shraddha.6596@gmail.com> - 2015-08-03 17:20 +0200
    Re: [PATCH]  Staging : lustre :Replace comma with a semicolon Dan Carpenter <dan.carpenter@oracle.com> - 2015-08-03 17:40 +0200
      Re: [PATCH] Staging : lustre :Replace comma with a semicolon Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-08-03 18:10 +0200
      Re: [PATCH] Staging : lustre :Replace comma with a semicolon Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-08-04 02:40 +0200

#1198937 — [PATCH] Staging : lustre :Replace comma with a semicolon

FromShraddha Barke <shraddha.6596@gmail.com>
Date2015-08-03 17:20 +0200
Subject[PATCH] Staging : lustre :Replace comma with a semicolon
Message-ID<pTpGW-6PV-33@gated-at.bofh.it>
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>
---
 drivers/staging/lustre/lustre/mgc/mgc_request.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/lustre/lustre/mgc/mgc_request.c b/drivers/staging/lustre/lustre/mgc/mgc_request.c
index 562bd95..019ee2f 100644
--- a/drivers/staging/lustre/lustre/mgc/mgc_request.c
+++ b/drivers/staging/lustre/lustre/mgc/mgc_request.c
@@ -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);
 
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1198961

FromDan Carpenter <dan.carpenter@oracle.com>
Date2015-08-03 17:40 +0200
Message-ID<pTq0h-7cM-1@gated-at.bofh.it>
In reply to#1198937
The spacing in the subject lines is whacky.

-Subject: [PATCH]  Staging : lustre :Replace comma with a semicolon
+Subject: [PATCH] Staging: lustre: Replace comma with a semicolon

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1199000 — Re: [PATCH] Staging : lustre :Replace comma with a semicolon

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-08-03 18:10 +0200
SubjectRe: [PATCH] Staging : lustre :Replace comma with a semicolon
Message-ID<pTqtk-80P-19@gated-at.bofh.it>
In reply to#1198961
On Mon, Aug 03, 2015 at 09:22:51PM +0530, Shraddha Barke wrote:
> Should I resend the patches?
> 

Why wouldn't you?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1199340 — Re: [PATCH] Staging : lustre :Replace comma with a semicolon

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-08-04 02:40 +0200
SubjectRe: [PATCH] Staging : lustre :Replace comma with a semicolon
Message-ID<pTyqS-2Fj-9@gated-at.bofh.it>
In reply to#1198961
On Mon, Aug 03, 2015 at 09:22:51PM +0530, Shraddha Barke wrote:
> Should I resend the patches?
> 

You have sent a bunch of patches, and I don't know what order to apply
them in, or what ones should be applied and which should not.

So please resend all of the outstanding patches that I have not applied,
in a patch series, properly numbered, so that I know what order to apply
them in, and how many there are.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web