diff options
author | Sebastian Ott <sebott@redhat.com> | 2024-07-23 12:12:02 +0200 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2024-08-02 20:58:03 +0200 |
commit | 963a08e586bd45fd55f4c1752e98029ce83fc091 (patch) | |
tree | d846baf0364df3ea8bde78b09ddc00c47601e6f6 /arch/arm64/kvm/vgic/vgic-v3.c | |
parent | KVM: arm64: free kvm->arch.nested_mmus with kvfree() (diff) | |
download | linux-963a08e586bd45fd55f4c1752e98029ce83fc091.tar.xz linux-963a08e586bd45fd55f4c1752e98029ce83fc091.zip |
KVM: arm64: fix override-init warnings in W=1 builds
Add -Wno-override-init to the build flags for sys_regs.c,
handle_exit.c, and switch.c to fix warnings like the following:
arch/arm64/kvm/hyp/vhe/switch.c:271:43: warning: initialized field overwritten [-Woverride-init]
271 | [ESR_ELx_EC_CP15_32] = kvm_hyp_handle_cp15_32,
|
Signed-off-by: Sebastian Ott <sebott@redhat.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240723101204.7356-2-sebott@redhat.com
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'arch/arm64/kvm/vgic/vgic-v3.c')
0 files changed, 0 insertions, 0 deletions