Re: [PATCH 2/9] hw/intc/arm_gicv3_kvm: silence the compiler warnings

2020-10-28 Thread Peter Maydell
On Wed, 28 Oct 2020 at 04:19, Chen Qun wrote: > > When using -Wimplicit-fallthrough in our CFLAGS, the compiler showed warning: > hw/intc/arm_gicv3_kvm.c: In function ‘kvm_arm_gicv3_put’: > hw/intc/arm_gicv3_kvm.c:484:13: warning: this statement may fall through > [-Wimplicit-fallthrough=] >

[PATCH 2/9] hw/intc/arm_gicv3_kvm: silence the compiler warnings

2020-10-27 Thread Chen Qun
When using -Wimplicit-fallthrough in our CFLAGS, the compiler showed warning: hw/intc/arm_gicv3_kvm.c: In function ‘kvm_arm_gicv3_put’: hw/intc/arm_gicv3_kvm.c:484:13: warning: this statement may fall through [-Wimplicit-fallthrough=] kvm_gicc_access(s, ICC_AP0R_EL1(1), ncpu, ®64, tru