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] xen source files and linux coding style

To: <ncmike@xxxxxxxxxx>
Subject: RE: [Xen-devel] xen source files and linux coding style
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Wed, 25 Jan 2006 11:10:54 -0000
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 25 Jan 2006 11:19:37 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcYhli8FSkMOdPLJQfela4EjGi3TSAAAkLhA
Thread-topic: [Xen-devel] xen source files and linux coding style
 
> Due to my recent experience submitting a linux patch to lkml, 
> I have become more knowledgeable wrt linux coding style :) 
> I've noticed a couple of things in Xen and Xen-linux that we 
> should consider changing during normal development in 
> preparation for the upstream merge.

Our intention is that the coding style used for the linux sparse tree
(and merge tree) should certainly be consistent with that of the rest of
linux. This includes the front/back drivers.

However, xen has never used linux style. We've always used BSD style 4
space tabs for xen and the tools. I believe the tree to be in a
reasonably consistent state with respect to coding style, at least for
x86. [there are however a handfull of files that are so closely derived
from linux that we've left the original formatting to make diffs
easier.]

I personally don't find having a mix of coding styles in the tree
problematic, and make edits consistent with the rest of the file. The
emacs mode directives in many of the files make this even easier.

Ian

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>