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>
This commit is contained in:
parent
1d9ac91baf
commit
83d5e19d3e
@ -92,10 +92,12 @@ static void hb_reset_secondary(ARMCPU *cpu, const struct arm_boot_info *info)
|
|||||||
address_space_stl_notdirty(&address_space_memory,
|
address_space_stl_notdirty(&address_space_memory,
|
||||||
SMP_BOOT_REG + 0x30, 0,
|
SMP_BOOT_REG + 0x30, 0,
|
||||||
MEMTXATTRS_UNSPECIFIED, NULL);
|
MEMTXATTRS_UNSPECIFIED, NULL);
|
||||||
|
/* fallthrough */
|
||||||
case 3:
|
case 3:
|
||||||
address_space_stl_notdirty(&address_space_memory,
|
address_space_stl_notdirty(&address_space_memory,
|
||||||
SMP_BOOT_REG + 0x20, 0,
|
SMP_BOOT_REG + 0x20, 0,
|
||||||
MEMTXATTRS_UNSPECIFIED, NULL);
|
MEMTXATTRS_UNSPECIFIED, NULL);
|
||||||
|
/* fallthrough */
|
||||||
case 2:
|
case 2:
|
||||||
address_space_stl_notdirty(&address_space_memory,
|
address_space_stl_notdirty(&address_space_memory,
|
||||||
SMP_BOOT_REG + 0x10, 0,
|
SMP_BOOT_REG + 0x10, 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user