From: Hollis Blanchard Subject: Re: [patch] [3/3] dom0_ops explicitly sized types Date: Thu, 25 May 2006 14:02:10 -0500 Message-ID: <1148583731.15517.16.camel@basalt.austin.ibm.com> References: <1148509900.26460.22.camel@basalt.austin.ibm.com> <1148511175.26460.35.camel@basalt.austin.ibm.com> <1148511400.26460.39.camel@basalt.austin.ibm.com> <1148511874.26460.47.camel@basalt.austin.ibm.com> <20060525153957.GO6710@rhun.ibm.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060525153957.GO6710@rhun.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Muli Ben-Yehuda Cc: xen-ppc-devel@lists.xensource.com, xen-devel , John Levon List-Id: xen-devel@lists.xenproject.org On Thu, 2006-05-25 at 18:39 +0300, Muli Ben-Yehuda wrote: > On Wed, May 24, 2006 at 06:04:34PM -0500, Hollis Blanchard wrote: > > > Replace 'long' in the dom0_ops and privcmd structures with uint64_t. > > I am all in favor of identifying interfaces using explicitly sized > types. The standard kernel style is to use u64 not uint64_t though. (There is plenty of uint.._t in Linux.) I assume you're referring specifically to the privcmd structure change, which is the only Linux-specific part of the patch. The privcmd structure is shared between userspace and the kernel. Since "u64" is a kernel type, we need to use "uint64_t", which has meaning in userspace. -- Hollis Blanchard IBM Linux Technology Center