From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755676Ab1HDXyF (ORCPT ); Thu, 4 Aug 2011 19:54:05 -0400 Received: from oproxy8-pub.bluehost.com ([69.89.22.20]:60651 "HELO oproxy8-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753687Ab1HDXyC (ORCPT ); Thu, 4 Aug 2011 19:54:02 -0400 Message-ID: <4E3B3117.5050308@xenotime.net> Date: Thu, 04 Aug 2011 16:53:59 -0700 From: Randy Dunlap Organization: YPO4 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-3.fc11 Thunderbird/3.0 MIME-Version: 1.0 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 Subject: Re: [Xen-devel] Re: linux-next: Tree for July 25 (xen) 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> In-Reply-To: <20110804224020.GA21492@dumpdata.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Identified-User: {1807:box742.bluehost.com:xenotime:xenotime.net} {sentby:smtp auth 50.53.38.135 authed with rdunlap@xenotime.net} Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 ‘xen_hypercall_names’) >>>>> arch/x86/xen/trace.c:45:1: error: ‘__HYPERVISOR_arch_4’ undeclared 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 ‘xen_hypercall_names’) >>>> >>>> Oh, that I haven't seen. Can you send me the .config for that please. >>> >>> 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. > > 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 > > #define N(x) [__HYPERVISOR_##x] = "("#x")" > static const char *xen_hypercall_names[] = { -- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***