From: Ian Jackson Subject: Re: [PATCH] [Linux] ia64, xencomm: fix 1028:6f7bda25a4de Date: Thu, 16 Sep 2010 18:08:12 +0100 Message-ID: <19602.20220.54824.18727@mariner.uk.xensource.com> References: <19594.28699.580800.264948@mariner.uk.xensource.com> <20100913.170710.356441561.kuwa@jp.fujitsu.com> <4C8DFF3A0200007800015A0F@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: KUWAMURA Shin'ya Cc: xen-devel@lists.xensource.com, JBeulich@novell.com, xen-ia64-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org KUWAMURA Shin'ya writes ("[Xen-devel] Re: [PATCH] [Linux] ia64, xencomm: fix 1028:6f7bda25a4de"): > On Mon, 13 Sep 2010 09:38:50 +0100 > JBeulich@novell.com("Jan Beulich") said: > > Even more, a few lines down in the same source file __XEN__ > > already gets #define-d, so the first choice imo would be to simply > > move that definition up. Or does this cause any *more* problems > > than the warning above (which I think needs to be dealt with > > regardless)? Jan's suggestion seems sensible. > Thank you for your advice. > > I fixed this warning by adding an #include line. I attached the patch. ... > +#include > +#define __XEN_TOOLS__ Why do you choose to #define __XEN_TOOLS__ rather than __XEN__ (which latter is already defined in this file, as Jan notes) ? Does moving the definition of __XEN__ further up cause other problems ? Ian.