diff options
author | Thomas Huth <thuth@redhat.com> | 2020-10-20 12:59:38 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-10-27 10:44:03 +0000 |
commit | 83d5e19d3eedcf533d8be009a03c167b7e1ccf2e (patch) | |
tree | 51870434ed13d95dc8865871bb50bbff40c284d2 /hw/arm/highbank.c | |
parent | 1d9ac91baf220367e68ca6a74955f2d60a4fc36b (diff) | |
download | qemu-83d5e19d3eedcf533d8be009a03c167b7e1ccf2e.zip qemu-83d5e19d3eedcf533d8be009a03c167b7e1ccf2e.tar.gz qemu-83d5e19d3eedcf533d8be009a03c167b7e1ccf2e.tar.bz2 |
hw/arm/highbank: Silence warnings about missing fallthrough statements
When compiling with -Werror=implicit-fallthrough, gcc complains about
missing fallthrough annotations in this file. Looking at the code,
the fallthrough is very likely intended here, so add some comments
to silence the compiler warnings.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-id: 20201020105938.23209-1-thuth@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/highbank.c')
-rw-r--r-- | hw/arm/highbank.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/arm/highbank.c b/hw/arm/highbank.c index da0510d..f710878 100644 --- a/hw/arm/highbank.c +++ b/hw/arm/highbank.c @@ -92,10 +92,12 @@ static void hb_reset_secondary(ARMCPU *cpu, const struct arm_boot_info *info) address_space_stl_notdirty(&address_space_memory, SMP_BOOT_REG + 0x30, 0, MEMTXATTRS_UNSPECIFIED, NULL); + /* fallthrough */ case 3: address_space_stl_notdirty(&address_space_memory, SMP_BOOT_REG + 0x20, 0, MEMTXATTRS_UNSPECIFIED, NULL); + /* fallthrough */ case 2: address_space_stl_notdirty(&address_space_memory, SMP_BOOT_REG + 0x10, 0, |