qemu-e2k/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 ppc: Add a return value to ppc_set_compat() and ppc_set_compat_all() 2020-10-09 10:15:06 +11:00
cpu-models.c
cpu-models.h
cpu-param.h
cpu-qom.h qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros 2020-09-18 14:12:32 -04:00
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_regs.h
helper.h
int_helper.c
internal.h 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
kvm-stub.c
kvm.c ppc/: fix some comment spelling errors 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_gen.c
mfrom_table.c.inc
misc_helper.c
mmu_helper.c ppc/: fix some comment spelling errors 2020-10-28 01:08:53 +11:00
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
monitor.c
timebase_helper.c
trace-events trace-events: Delete unused trace points 2020-09-09 17:17:02 +01:00
trace.h
translate_init.c.inc ppc/: fix some comment spelling errors 2020-10-28 01:08:53 +11:00
translate.c
user_only_helper.c