WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] RE: [PATCH 3/3] code clean up



On 2011-11-9 20:18, Ian Campbell wrote:
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.
  
If so, I'd like to revert the change.

Thanks
Annie
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