A single RISC-V fixup
merged tag 'pull-target-arm-20200305'
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20200305' into staging (2020-03-05 16:47:37 +0000)
are available in the Git repository at:
[email protected]:palmer-dabbelt/qemu.git tags/riscv-for-master-5.0-sf4
for you to fetch changes up to fd990e86a7c99f5c99d430160243a3bcc64b0dea:
RISC-V: Add a missing "," in riscv_excp_names (2020-03-05 12:01:43 -0800)
----------------------------------------------------------------
A single RISC-V fixup
This is just a single patch, which fixes a bug found by Coverity.
----------------------------------------------------------------
Palmer Dabbelt (1):
RISC-V: Add a missing "," in riscv_excp_names
target/riscv/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
[PULL] 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.
--- target/riscv/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
target/riscv/cpu.c +2 -2
@@ -66,7 +66,7 @@ const char * const riscv_excp_names[] = {"exec_page_fault" ,"load_page_fault" ,"reserved" , -"store_page_fault" +"store_page_fault" ,"reserved" ,"reserved" , "reserved",
@@ -74,7 +74,7 @@ const char * const riscv_excp_names[] = {"guest_exec_page_fault" ,"guest_load_page_fault" ,"reserved" , -"guest_store_page_fault" + "guest_store_page_fault", }; const char * const riscv_intr_names[] = {
Signature · 1 line
2.25.0.265.gbab2e86ba0-goog
Peter Maydell
AppliedQuoted 9 lines · Palmer Dabbelt
merged tag 'pull-target-arm-20200305'
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20200305' into staging (2020-03-05 16:47:37 +0000)
are available in the Git repository at:
[email protected]:palmer-dabbelt/qemu.git tags/riscv-for-master-5.0-sf4
Quoted 9 lines
for you to fetch changes up to
fd990e86a7c99f5c99d430160243a3bcc64b0dea:RISC-V: Add a missing "," in
riscv_excp_names(2020-03-05 12:01:43 -0800)----------------------------------------------------------------
A single RISC-V fixupThis is just a single patch, which fixes a bug found by Coverity.
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/5.0
for any user-visible changes.
-- PMM