|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] RE: [PATCH 3/3] code clean up
To: |
Paul Durrant <Paul.Durrant@xxxxxxxxxx> |
Subject: |
Re: [Xen-devel] RE: [PATCH 3/3] code clean up |
From: |
Ian Campbell <Ian.Campbell@xxxxxxxxxx> |
Date: |
Wed, 9 Nov 2011 12:18:23 +0000 |
Cc: |
"jeremy@xxxxxxxx" <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "konrad.wilk@xxxxxxxxxx" <konrad.wilk@xxxxxxxxxx>, "kurt.hackel@xxxxxxxxxx" <kurt.hackel@xxxxxxxxxx>, "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>, "annie.li@xxxxxxxxxx" <annie.li@xxxxxxxxxx> |
Delivery-date: |
Wed, 09 Nov 2011 04:19:57 -0800 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<291EDFCB1E9E224A99088639C4762022B4543AB1BE@xxxxxxxxxxxxxxxxxxxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
Organization: |
Citrix Systems, Inc. |
References: |
<4EBA35D3.3020506@xxxxxxxxxx> <1320826574-29427-1-git-send-email-annie.li@xxxxxxxxxx> <291EDFCB1E9E224A99088639C4762022B4543AB1BE@xxxxxxxxxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
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@xxxxxxxxxx [mailto:annie.li@xxxxxxxxxx]
> > Sent: 09 November 2011 08:16
> > To: xen-devel@xxxxxxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
> > konrad.wilk@xxxxxxxxxx; jeremy@xxxxxxxx
> > Cc: kurt.hackel@xxxxxxxxxx; Paul Durrant; annie.li@xxxxxxxxxx
> > Subject: [PATCH 3/3] code clean up
> >
> > From: Annie Li <annie.li@xxxxxxxxxx>
> >
> > Signed-off-by: Annie Li <annie.li@xxxxxxxxxx>
> > ---
> > 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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|