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] USB virt 2.6 split driver patch series

To: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] USB virt 2.6 split driver patch series
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Tue, 22 Nov 2005 09:37:50 -0600
Cc: NAHieu <nahieu@xxxxxxxxx>, harry <harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 22 Nov 2005 15:38:04 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20051122110710.GA29624@xxxxxxxxx>
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>
References: <1132581661.31295.134.camel@xxxxxxxxxxxxxxxxxxxxx> <5d7aca950511210641n23d79fduc2e462c3dcd07810@xxxxxxxxxxxxxx> <1132586050.31295.145.camel@xxxxxxxxxxxxxxxxxxxxx> <5d7aca950511210727i741148efl71f025577680d994@xxxxxxxxxxxxxx> <1132587554.31295.154.camel@xxxxxxxxxxxxxxxxxxxxx> <5d7aca950511210902j5002bbfdxe52b1a32517d6c8b@xxxxxxxxxxxxxx> <1132593451.31295.171.camel@xxxxxxxxxxxxxxxxxxxxx> <5d7aca950511211759i63ed353al8f95ea411bbd49ff@xxxxxxxxxxxxxx> <5d7aca950511211800j9799a2dy3186ef4133213417@xxxxxxxxxxxxxx> <1132655069.5956.5.camel@xxxxxxxxxxxxxxxxxxxxx> <20051122110710.GA29624@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)
Vincent Hanquez wrote:

On Tue, Nov 22, 2005 at 10:24:29AM +0000, harry wrote:
Also identifiers with two leading underscores are reserved by
ANSI C for the C compiler implementation so I think it's not a good idea
to use them.

This rule is not valid in kernelspace, using 2 leading underscores is
common practice.
Harry's right, it's not allowed by the C standard.

FWIW, I don't think it's all that common to use underscores to denote functions as private when you can just mark them static.

Regards,

Anthony Liguori




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

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