From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: Re: [Xen-devel] Re: linux-next: Tree for July 25 (xen) Date: Thu, 04 Aug 2011 16:53:59 -0700 Message-ID: <4E3B3117.5050308@xenotime.net> References: <20110725162542.39ea8d8cbd51604523635c1a@canb.auug.org.au> <20110725144629.b752bf14.rdunlap@xenotime.net> <20110804193534.GB12729@elte.hu> <20110804195539.GA11198@dumpdata.com> <20110804131516.c4da6595.rdunlap@xenotime.net> <20110804223259.GB4370@dumpdata.com> <20110804224020.GA21492@dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from oproxy8-pub.bluehost.com ([69.89.22.20]:42703 "HELO oproxy8-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751612Ab1HDXyC (ORCPT ); Thu, 4 Aug 2011 19:54:02 -0400 In-Reply-To: <20110804224020.GA21492@dumpdata.com> Sender: linux-next-owner@vger.kernel.org List-ID: To: Konrad Rzeszutek Wilk Cc: Stephen Rothwell , xen-devel@lists.xensource.com, Andrew Morton , LKML , virtualization@lists.linux-foundation.org, Jeremy Fitzhardinge , linux-next@vger.kernel.org, "H. Peter Anvin" , Thomas Gleixner , Linus Torvalds , Ingo Molnar On 08/04/11 15:40, Konrad Rzeszutek Wilk wrote: > On Thu, Aug 04, 2011 at 06:32:59PM -0400, Konrad Rzeszutek Wilk wrote= : >>>>> These build failures are still triggering upstream: >>>>> >>>>> arch/x86/xen/trace.c:44:2: error: array index in initializer not= of integer type >>>>> arch/x86/xen/trace.c:44:2: error: (near initialization for =91xe= n_hypercall_names=92) >>>>> arch/x86/xen/trace.c:45:1: error: =91__HYPERVISOR_arch_4=92 unde= clared here (not in a function) >>>>> arch/x86/xen/trace.c:45:2: error: array index in initializer not= of integer type >>>>> arch/x86/xen/trace.c:45:2: error: (near initialization for =91xe= n_hypercall_names=92) >>>> >>>> Oh, that I haven't seen. Can you send me the .config for that plea= se. >>> >>> You can't be trying very hard then. I see lots of these (but no, >> >> Ah, I am getting it now. Thanks for reporting it. >=20 > This should do the trick: Acked-by: Randy Dunlap Thanks. > diff --git a/arch/x86/xen/trace.c b/arch/x86/xen/trace.c > index 734beba..520022d 100644 > --- a/arch/x86/xen/trace.c > +++ b/arch/x86/xen/trace.c > @@ -1,4 +1,5 @@ > #include > +#include > =20 > #define N(x) [__HYPERVISOR_##x] =3D "("#x")" > static const char *xen_hypercall_names[] =3D { --=20 ~Randy *** Remember to use Documentation/SubmitChecklist when testing your cod= e ***