]> Git Repo - qemu.git/commit
target/arm: Add missing break statement for Hypervisor Trap Exception
authorPhilippe Mathieu-Daudé <[email protected]>
Mon, 22 Jul 2019 13:07:38 +0000 (14:07 +0100)
committerPeter Maydell <[email protected]>
Mon, 22 Jul 2019 13:07:38 +0000 (14:07 +0100)
commit9bbb4ef991fa93323f87769a6e217c2b9273a128
tree1ed02ffe09663acc863475d0c8715849493ea036
parentb9e02bb3f98174209dbd5c96858e65a31723221b
target/arm: Add missing break statement for Hypervisor Trap Exception

Reported by GCC9 when building with  -Wimplicit-fallthrough=2:

  target/arm/helper.c: In function ‘arm_cpu_do_interrupt_aarch32_hyp’:
  target/arm/helper.c:7958:14: error: this statement may fall through [-Werror=implicit-fallthrough=]
   7958 |         addr = 0x14;
        |         ~~~~~^~~~~~
  target/arm/helper.c:7959:5: note: here
   7959 |     default:
        |     ^~~~~~~
  cc1: all warnings being treated as errors

Fixes: b9bc21ff9f9
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reported-by: Stefan Weil <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Message-id: 20190719111451[email protected]
Signed-off-by: Peter Maydell <[email protected]>
target/arm/helper.c
This page took 0.023336 seconds and 4 git commands to generate.