Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1550644 > unrolled thread

Re: [PATCH 02/13] KVM: arm: fix gcc-4.5 build

Started byChristoffer Dall <christoffer.dall@linaro.org>
First post2017-01-04 11:40 +0100
Last post2017-01-04 11:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 02/13] KVM: arm: fix gcc-4.5 build Christoffer Dall <christoffer.dall@linaro.org> - 2017-01-04 11:40 +0100

#1550644 — Re: [PATCH 02/13] KVM: arm: fix gcc-4.5 build

FromChristoffer Dall <christoffer.dall@linaro.org>
Date2017-01-04 11:40 +0100
SubjectRe: [PATCH 02/13] KVM: arm: fix gcc-4.5 build
Message-ID<sVR98-3si-27@gated-at.bofh.it>
On Fri, Dec 16, 2016 at 11:56:23AM +0100, Arnd Bergmann wrote:
> Old gcc versions cannot used named initializers for anonymous
> unions, leading to a build failure here. This replaces the anonymous
> union with a named one, which allows us to build with at least gcc-4.3
> through 4.5. Versions 4.6 and higher are fine without this.
> 
> virt/kvm/arm/vgic/vgic-mmio-v2.c:295: error: unknown field 'read' specified in initializer
> virt/kvm/arm/vgic/vgic-mmio-v2.c:295: warning: missing braces around initializer
> virt/kvm/arm/vgic/vgic-mmio-v2.c:295: warning: (near initialization for 'vgic_v2_dist_registers[0].<anonymous>')
> virt/kvm/arm/vgic/vgic-mmio-v2.c:295: error: unknown field 'write' specified in initializer
> virt/kvm/arm/vgic/vgic-mmio-v2.c:298: error: unknown field 'read' specified in initializer
> 
> Fixes: 59c5ab40989a ("KVM: arm64: vgic-its: Introduce ITS emulation file with MMIO framework")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

If this series is moving ahead, I have no problems with this patch:

Acked-by: Christoffer Dall <christoffer.dall@linaro.org>

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web