From: Ian Campbell <Ian.Campbell@citrix.com>
To: Paul Durrant <Paul.Durrant@citrix.com>
Cc: "annie.li@oracle.com" <annie.li@oracle.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"konrad.wilk@oracle.com" <konrad.wilk@oracle.com>,
"jeremy@goop.org" <jeremy@goop.org>,
"kurt.hackel@oracle.com" <kurt.hackel@oracle.com>
Subject: Re: [Xen-devel] RE: [PATCH 3/3] code clean up
Date: Wed, 9 Nov 2011 12:18:23 +0000 [thread overview]
Message-ID: <1320841103.955.120.camel@zakaz.uk.xensource.com> (raw)
In-Reply-To: <291EDFCB1E9E224A99088639C4762022B4543AB1BE@LONPMAILBOX01.citrite.net>
On Wed, 2011-11-09 at 11:15 +0000, Paul Durrant wrote:
> Annie,
>
> Why was this split out as a separate patch? Can it not be folded into patch 2 since the line it re-formats was introduced there?
It is not generally necessary to split string constants in order to meet
the 80 column (soft) limit in Linux code. Some people frown on it
because it breaks grep'ability.
Ian.
>
> Paul
>
> > -----Original Message-----
> > From: annie.li@oracle.com [mailto:annie.li@oracle.com]
> > Sent: 09 November 2011 08:16
> > To: xen-devel@lists.xensource.com; linux-kernel@vger.kernel.org;
> > konrad.wilk@oracle.com; jeremy@goop.org
> > Cc: kurt.hackel@oracle.com; Paul Durrant; annie.li@oracle.com
> > Subject: [PATCH 3/3] code clean up
> >
> > From: Annie Li <annie.li@oracle.com>
> >
> > Signed-off-by: Annie Li <annie.li@oracle.com>
> > ---
> > drivers/xen/grant-table.c | 3 ++-
> > 1 files changed, 2 insertions(+), 1 deletions(-)
> >
> > diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c
> > index a3294a26..458c00d 100644
> > --- a/drivers/xen/grant-table.c
> > +++ b/drivers/xen/grant-table.c
> > @@ -708,7 +708,8 @@ static void gnttab_request_version(void) {
> > int rc;
> > struct gnttab_set_version gsv;
> > - const char *str = "we need grant tables version 2, but only
> > version 1 is available\n";
> > + const char *str = "we need grant tables version 2, "
> > + "but only version 1 is
> > available\n";
> >
> > gsv.version = 2;
> > rc = HYPERVISOR_grant_table_op(GNTTABOP_set_version, &gsv,
> > 1);
> > --
> > 1.7.6
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2011-11-09 12:18 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-09 8:12 patches of upstreaming grant table version 2 ANNIE LI
2011-11-09 8:14 ` [PATCH 1/3] Introducing grant table V2 stucture annie.li
2011-11-09 11:11 ` Paul Durrant
2011-11-09 14:49 ` Konrad Rzeszutek Wilk
2011-11-09 14:56 ` Paul Durrant
[not found] ` <4EBAA3B1.8010401@oracle.com>
2011-11-09 16:22 ` [Xen-devel] " Ian Campbell
2011-11-10 1:56 ` ANNIE LI
[not found] ` <4EBAA566.80909@oracle.com>
2011-11-09 16:14 ` Paul Durrant
2011-11-10 1:50 ` [Xen-devel] " ANNIE LI
2011-11-09 13:28 ` [Xen-devel] " Ian Campbell
2011-11-09 8:15 ` [PATCH 2/3] Grant tables v2 implementation annie.li
2011-11-09 13:32 ` [Xen-devel] " Ian Campbell
2011-11-09 8:16 ` [PATCH 3/3] code clean up annie.li
2011-11-09 11:15 ` Paul Durrant
2011-11-09 12:18 ` Ian Campbell [this message]
2011-11-09 9:05 ` [Xen-devel] patches of upstreaming grant table version 2 ANNIE LI
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1320841103.955.120.camel@zakaz.uk.xensource.com \
--to=ian.campbell@citrix.com \
--cc=Paul.Durrant@citrix.com \
--cc=annie.li@oracle.com \
--cc=jeremy@goop.org \
--cc=konrad.wilk@oracle.com \
--cc=kurt.hackel@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®