qemu-patch-raspberry4/target/ppc
Chen Qun 295397f53c target/ppc/excp_helper: Add a fallthrough for fix compiler warning
When using -Wimplicit-fallthrough in our CFLAGS, the compiler showed warning:
../target/ppc/excp_helper.c: In function ‘powerpc_excp’:
../target/ppc/excp_helper.c:529:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  529 |         msr |= env->error_code;
      |         ~~~~^~~~~~~~~~~~~~~~~~
../target/ppc/excp_helper.c:530:5: note: here
  530 |     case POWERPC_EXCP_HDECR:     /* Hypervisor decrementer exception         */
      |     ^~~~

Add the corresponding "fall through" comment to fix it.

Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
Message-Id: <20201028055107.2170401-1-kuhn.chenqun@huawei.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2020-11-05 12:18:47 +11:00
..
translate
arch_dump.c
compat.c
cpu-models.c
cpu-models.h
cpu-param.h
cpu-qom.h
cpu.c
cpu.h ppc/: fix some comment spelling errors 2020-10-28 01:08:53 +11:00
dfp_helper.c
excp_helper.c target/ppc/excp_helper: Add a fallthrough for fix compiler warning 2020-11-05 12:18:47 +11:00
fpu_helper.c ppc/: fix some comment spelling errors 2020-10-28 01:08:53 +11:00
gdbstub.c
helper.h
helper_regs.h
int_helper.c
internal.h ppc/: fix some comment spelling errors 2020-10-28 01:08:53 +11:00
kvm-stub.c
kvm.c ppc/: fix some comment spelling errors 2020-10-28 01:08:53 +11:00
kvm_ppc.h target/ppc: Fix kvmppc_load_htab_chunk() error reporting 2020-10-28 01:08:53 +11:00
machine.c ppc/: fix some comment spelling errors 2020-10-28 01:08:53 +11:00
mem_helper.c
meson.build
mfrom_table.c.inc
mfrom_table_gen.c
misc_helper.c
mmu-book3s-v3.c
mmu-book3s-v3.h
mmu-hash32.c
mmu-hash32.h
mmu-hash64.c ppc/: fix some comment spelling errors 2020-10-28 01:08:53 +11:00
mmu-hash64.h
mmu-radix64.c
mmu-radix64.h
mmu_helper.c ppc/: fix some comment spelling errors 2020-10-28 01:08:53 +11:00
monitor.c
timebase_helper.c
trace-events
trace.h
translate.c
translate_init.c.inc ppc/: fix some comment spelling errors 2020-10-28 01:08:53 +11:00
user_only_helper.c