]> git.proxmox.com Git - mirror_qemu.git/commit
RISC-V: Add a missing "," in riscv_excp_names
authorPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 5 Mar 2020 16:46:20 +0000 (08:46 -0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 5 Mar 2020 20:01:43 +0000 (12:01 -0800)
commitfd990e86a7c99f5c99d430160243a3bcc64b0dea
tree0483d4f5a3ac4aea7ddf0bf5a220b460fb866d8f
parent55afdac3b29e672aad51e953412364127e54268b
RISC-V: Add a missing "," in riscv_excp_names

This would almost certainly cause the exception names to be reported
incorrectly.  Coverity found the issue (CID 1420223).  As per Peter's
suggestion, I've also added a comma at the end of the list to avoid the issue
reappearing in the future.

Fixes: ab67a1d07a ("target/riscv: Add support for the new execption numbers")
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
target/riscv/cpu.c