From: christoffer.dall@linaro.org (Christoffer Dall)
To: linux-arm-kernel@lists.infradead.org
Subject: Build error: kvm/reset.c
Date: Mon, 19 Aug 2013 13:54:42 -0700 [thread overview]
Message-ID: <20130819205442.GC21832@cbox> (raw)
In-Reply-To: <20130815114150.GC23006@n2100.arm.linux.org.uk>
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:
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,
};
-Christoffer
next prev parent reply other threads:[~2013-08-19 20:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-15 11:41 Build error: kvm/reset.c Russell King - ARM Linux
2013-08-19 20:54 ` Christoffer Dall [this message]
2013-08-19 21:07 ` Russell King - ARM Linux
2013-08-19 21:16 ` Christoffer Dall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130819205442.GC21832@cbox \
--to=christoffer.dall@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).