summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-07-22 14:07:38 +0100
committerPeter Maydell <peter.maydell@linaro.org>2019-07-22 14:07:38 +0100
commit9bbb4ef991fa93323f87769a6e217c2b9273a128 (patch)
tree1ed02ffe09663acc863475d0c8715849493ea036 /docs/devel/secure-coding-practices.rst
parentb9e02bb3f98174209dbd5c96858e65a31723221b (diff)
downloadfocaccia-qemu-9bbb4ef991fa93323f87769a6e217c2b9273a128.tar.gz
focaccia-qemu-9bbb4ef991fa93323f87769a6e217c2b9273a128.zip
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é <philmd@redhat.com>
Reported-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20190719111451.12406-1-philmd@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions