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 ppc patch queue 2020-08-18 2020-08-24 09:35:21 +01:00
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 target/ppc: Add POWER10 DD1.0 model information 2019-12-17 10:39:48 +11:00
cpu-models.h target/ppc: Add POWER10 DD1.0 model information 2019-12-17 10:39:48 +11:00
cpu-param.h tcg: Split out target/arch/cpu-param.h 2019-06-10 07:03:34 -07:00
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 target/ppc: remove unnecessary if() around calls to set_dfp{64,128}() in DFP macros 2019-10-04 19:08:21 +10:00
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 gdbstub: Introduce gdb_get_float64() to get 64-bit float registers 2020-05-06 09:29:26 +01:00
helper_regs.h ppc: Ignore the CPU_INTERRUPT_EXITTB interrupt with KVM 2019-12-17 10:39:48 +11:00
helper.h target/ppc: add vmulh{su}d instructions 2020-08-12 13:16:27 +10:00
int_helper.c ppc patch queue 2020-08-18 2020-08-24 09:35:21 +01:00
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 Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
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 target/ppc: Use probe_write for DCBZ 2020-02-03 11:33:11 +11:00
meson.build meson: target 2020-08-21 06:30:35 -04:00
mfrom_table_gen.c
mfrom_table.c.inc meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
misc_helper.c target/ppc: Remove superfluous breaks 2020-09-01 08:34:08 +02:00
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 target/ppc: Fix argument to ppc_radix64_partition_scoped_xlate() again 2020-05-27 15:29:36 +10:00
mmu-radix64.h target/ppc: Pass const pointer to ppc_radix64_get_prot_amr() 2020-05-27 15:29:36 +10:00
monitor.c hmp: Move hmp.h to include/monitor/ 2019-07-02 07:19:45 +02:00
timebase_helper.c hw/ppc: Take QEMU lock when calling ppc_dcr_read/write() 2020-03-24 11:56:37 +11:00
trace-events trace-events: Delete unused trace points 2020-09-09 17:17:02 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
translate_init.c.inc ppc/: fix some comment spelling errors 2020-10-28 01:08:53 +11:00
translate.c ppc patch queue 2020-08-18 2020-08-24 09:35:21 +01:00
user_only_helper.c