From patchwork Mon Aug 19 20:54:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 2846704 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 14321BF546 for ; Mon, 19 Aug 2013 20:55:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4D96D201B2 for ; Mon, 19 Aug 2013 20:55:44 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 45CD220181 for ; Mon, 19 Aug 2013 20:55:43 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VBWTw-0003Ar-1A; Mon, 19 Aug 2013 20:55:20 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VBWTp-0001HC-9H; Mon, 19 Aug 2013 20:55:13 +0000 Received: from mail-pd0-f180.google.com ([209.85.192.180]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VBWTj-0001FI-35 for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2013 20:55:08 +0000 Received: by mail-pd0-f180.google.com with SMTP id y10so5696186pdj.25 for ; Mon, 19 Aug 2013 13:54:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=0M0OjMOTNyaUkYmTLtv3A0HeOTiCOSi5hSag4O3UTq8=; b=b+B+20mHQXT0tlrqvjJNP749wbeoiNRWq9BetVJLGnqMXoD6DC1VsiafjehkLmuRQU iYLu4pZckQQM0xbFj57MODqQ7xINkJ3+xVOkfFiq1VKRfGHhUiRhLeHSink0Eg6BWHsk mlpVYREq0WWPbNQAMzEBfKvAAp8uL1volbQRty6cceYLC5hytqdDiomxJvhutFW0yqZ6 BLv1xkXlf05mTE2Y610s+7NuRpa5WEdQXPWSczvcO0ISAZxtAXHprzbU73m+dU5hfOoL L+DHFx+iZmwuGUMThcjLKkK0Z7DqmiTTCtCm11bJQ0AvfmG5qSS7IgdI3vTeeAZVTMG7 /n3Q== X-Gm-Message-State: ALoCoQnYkvjlE4UeTOof4CIo59sGN0Y8GZofESLEYgX+WjmejgCIjvfRrflDlsDb/192vHnGD8uB X-Received: by 10.68.250.5 with SMTP id yy5mr15330912pbc.93.1376945682972; Mon, 19 Aug 2013 13:54:42 -0700 (PDT) Received: from localhost (c-67-169-183-77.hsd1.ca.comcast.net. [67.169.183.77]) by mx.google.com with ESMTPSA id zq10sm12808431pab.6.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 19 Aug 2013 13:54:41 -0700 (PDT) Date: Mon, 19 Aug 2013 13:54:42 -0700 From: Christoffer Dall To: Russell King - ARM Linux Subject: Re: Build error: kvm/reset.c Message-ID: <20130819205442.GC21832@cbox> References: <20130815114150.GC23006@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20130815114150.GC23006@n2100.arm.linux.org.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130819_165507_282650_1D6E0281 X-CRM114-Status: GOOD ( 15.37 ) X-Spam-Score: -1.9 (-) Cc: kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Thu, Aug 15, 2013 at 12:41:50PM +0100, Russell King - ARM Linux wrote: > Last night's omap4430-sdp randconfig failed with this error in the KVM code: > > arch/arm/kvm/reset.c:43:2: error: unknown field 'irq' specified in initializer > > Configs etc at http://www.arm.linux.org.uk/developer/build/ > > Tree is my tip plus arm-soc tip plus Linus' tip. hmmm, I'm wondering if this is actually related to: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676 Can you tell me which GCC version you are using? I have been unable to reproduce this in any way (unfortunately it seems the randconfig generating this error is also not available anymore), but this patch may solve the issue: -Christoffer diff --git a/arch/arm/kvm/reset.c b/arch/arm/kvm/reset.c index b7840e7..71e08ba 100644 --- a/arch/arm/kvm/reset.c +++ b/arch/arm/kvm/reset.c @@ -40,7 +40,7 @@ static struct kvm_regs a15_regs_reset = { }; static const struct kvm_irq_level a15_vtimer_irq = { - .irq = 27, + { .irq = 27 }, .level = 1, };