[PATCH 0/9] silence the compiler warnings

Chen Qun posted 9 patches 3 years, 6 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20201028041819.2169003-1-kuhn.chenqun@huawei.com
Maintainers: "Philippe Mathieu-Daudé" <f4bug@amsat.org>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Aurelien Jarno <aurelien@aurel32.net>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>
There is a newer version of this series
accel/tcg/user-exec.c      | 2 +-
hw/intc/arm_gicv3_kvm.c    | 8 ++++++++
hw/ppc/ppc.c               | 1 +
hw/timer/renesas_tmr.c     | 1 +
linux-user/mips/cpu_loop.c | 4 ++++
target/i386/translate.c    | 4 ++--
target/ppc/mmu_helper.c    | 1 +
target/sparc/translate.c   | 2 +-
target/sparc/win_helper.c  | 1 +
9 files changed, 20 insertions(+), 4 deletions(-)
[PATCH 0/9] silence the compiler warnings
Posted by Chen Qun 3 years, 6 months ago
Hi all,

When building with GCC9 using CFLAG -Wimplicit-fallthrough=2 we get a
lot of warning. Some problems may be missing break statements which 
I have submitted the patch separately.

This series is all add the corresponding "fall through" comment to fix them.


Chen Qun (9):
  target/i386: silence the compiler warnings in gen_shiftd_rm_T1
  hw/intc/arm_gicv3_kvm: silence the compiler warnings
  accel/tcg/user-exec: silence the compiler warnings
  linux-user/mips/cpu_loop: silence the compiler warnings
  target/sparc/translate: silence the compiler warnings
  target/sparc/win_helper: silence the compiler warnings
  ppc: silence the compiler warnings
  target/ppc: silence the compiler warnings
  hw/timer/renesas_tmr: silence the compiler warnings

 accel/tcg/user-exec.c      | 2 +-
 hw/intc/arm_gicv3_kvm.c    | 8 ++++++++
 hw/ppc/ppc.c               | 1 +
 hw/timer/renesas_tmr.c     | 1 +
 linux-user/mips/cpu_loop.c | 4 ++++
 target/i386/translate.c    | 4 ++--
 target/ppc/mmu_helper.c    | 1 +
 target/sparc/translate.c   | 2 +-
 target/sparc/win_helper.c  | 1 +
 9 files changed, 20 insertions(+), 4 deletions(-)

-- 
2.27.0