Jimi Xenidis
2007-Jan-22 15:46 UTC
[Xen-devel] Re: [Xen-staging] [xen-unstable] [XEN] Avoid void* arithmetic in kexec ELF note manipulations.
On Jan 22, 2007, at 10:34 AM, Xen staging patchbot-unstable wrote:> # HG changeset patch > # User Ian Campbell <ian.campbell@xensource.com> > # Date 1169479744 0 > # Node ID 66cc1685d95726d93dceeee1e64f34416be2f742 > # Parent 207523704fb15ae92b1852bb7e1f0e739ed01fb3 > [XEN] Avoid void* arithmetic in kexec ELF note manipulations.hmm, when this came up for PPC I thought we all agreed that GCC void* arithmetic was legal and Linux code requires it http://lists.xensource.com/archives/html/xen-devel/2006-08/ msg01517.html Are we changing that? -JX _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2007-Jan-22 15:56 UTC
Re: [Xen-devel] Re: [Xen-staging] [xen-unstable] [XEN] Avoid void* arithmetic in kexec ELF note manipulations.
On 22/1/07 15:46, "Jimi Xenidis" <jimix@watson.ibm.com> wrote:> hmm, when this came up for PPC I thought we all agreed that GCC void* > arithmetic was legal and Linux code requires it > http://lists.xensource.com/archives/html/xen-devel/2006-08/ > msg01517.html > > Are we changing that?Not really. But I''d say that char* arithmetic is a bit clearer, and if someone wants to spend their time getting rid of void* arithmetic in non-linux files then that''s okay by me. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel