X-GM-THRID: 5152931053568 X-Google-Groups: outreachy-kernel X-Google-Thread: 9ca63f596c,711868de202b757d X-Google-Attributes: gid9ca63f596c,domainid0,private,googlegroup X-Google-NewGroupId: yes X-Received: by 10.180.75.232 with SMTP id f8mr1245734wiw.0.1425153375007; Sat, 28 Feb 2015 11:56:15 -0800 (PST) X-BeenThere: outreachy-kernel@googlegroups.com Received: by 10.180.82.168 with SMTP id j8ls324247wiy.1.gmail; Sat, 28 Feb 2015 11:56:14 -0800 (PST) X-Received: by 10.180.39.164 with SMTP id q4mr1240591wik.5.1425153374744; Sat, 28 Feb 2015 11:56:14 -0800 (PST) Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr. [192.134.164.83]) by gmr-mx.google.com with ESMTPS id i7si360039wif.0.2015.02.28.11.56.14 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 28 Feb 2015 11:56:14 -0800 (PST) Received-SPF: neutral (google.com: 192.134.164.83 is neither permitted nor denied by domain of julia.lawall@lip6.fr) client-ip=192.134.164.83; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.134.164.83 is neither permitted nor denied by domain of julia.lawall@lip6.fr) smtp.mail=julia.lawall@lip6.fr X-IronPort-AV: E=Sophos;i="5.09,668,1418079600"; d="scan'208";a="123803258" Received: from unknown (HELO hadrien.local) ([207.164.135.98]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 28 Feb 2015 20:56:13 +0100 Date: Sat, 28 Feb 2015 14:56:10 -0500 (EST) From: Julia Lawall X-X-Sender: jll@hadrien To: Haneen Mohammed cc: outreachy-kernel@googlegroups.com Subject: Re: [Outreachy kernel] [PATCH 5/5] Staging: lustre: lustre: ldlm: Concatenate strings into single string In-Reply-To: <1425152027-31192-1-git-send-email-hamohammed.sa@gmail.com> Message-ID: References: <1425150717-30750-1-git-send-email-hamohammed.sa@gmail.com> <1425152027-31192-1-git-send-email-hamohammed.sa@gmail.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 28 Feb 2015, Haneen Mohammed wrote: > This patch concatenate two consecutive strings into one, addressing checkpatch.pl warning: > "Consecutive strings are generally better as a single string" > > Signed-off-by: Haneen Mohammed > --- > drivers/staging/lustre/lustre/ldlm/ldlm_pool.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c b/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c > index bfdb2b3..0d65d80 100644 > --- a/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c > +++ b/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c > @@ -688,8 +688,8 @@ static int lprocfs_pool_state_seq_show(struct seq_file *m, void *unused) > " GP: %d\n", > grant_step, grant_plan); > } > - seq_printf(m, " GR: %d\n" " CR: %d\n" " GS: %d\n" > - " G: %d\n" " L: %d\n", > + seq_printf(m, " GR: %d\n CR: %d\n GS: %d\n" > + " G: %d\n L: %d\n", The two lines are consecutive strings also. Checkpatch should have given you a warning on your result. julia > grant_rate, cancel_rate, grant_speed, > granted, limit); > > -- > 1.9.1 > > -- > You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. > To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com. > To post to this group, send email to outreachy-kernel@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1425152027-31192-1-git-send-email-hamohammed.sa%40gmail.com. > For more options, visit https://groups.google.com/d/optout. >