Skip to content

target/riscv: Coverity fixes

Daniel Henrique Barboza qemu-devel qemu-riscv 1 version Applied

Status from this message: Applied to riscv-to-apply.next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5target/riscv/csr.c: fix deadcode in rmw_xireg()target/riscv/csr.c+2 -51 reply
2/5target/riscv/csr.c: fix 'ret' deadcode in rmw_xireg()target/riscv/csr.c+1 -61 reply
3/5target/riscv/csr.c: fix deadcode in rmw_xiregi()target/riscv/csr.c+1 -71 reply
4/5target/riscv/csr.c: fix deadcode in aia_smode32()target/riscv/csr.c+0 -41 reply
5/5target/riscv/cpu_helper.c: fix bad_shift in riscv_cpu_interrupt()target/riscv/cpu_helper.c+3 -11 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAlistair Francis
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] target/riscv: Coverity fixes

Hi,

This series contains Coverity fixes for issues found in the latest RISC-V pull made yesterday.

Coverity CIDs being resolved: 1590355, 1590356, 1590357, 1590358 and 1590359.

Patches based on master.

Daniel Henrique Barboza (5):
target/riscv/csr.c: fix deadcode in rmw_xireg() target/riscv/csr.c: fix 'ret' deadcode in rmw_xireg() target/riscv/csr.c: fix deadcode in rmw_xiregi() target/riscv/csr.c: fix deadcode in aia_smode32() target/riscv/cpu_helper.c: fix bad_shift in riscv_cpu_interrupt()

 target/riscv/cpu_helper.c |  4 +++-
 target/riscv/csr.c        | 24 +++---------------------
 2 files changed, 6 insertions(+), 22 deletions(-)
Signature · 1 line
2.47.1