[PATCH v2 0/2] [riscv] Fix issues found by Coverity

Djordje Todorovic posted 2 patches 3 weeks, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260115130110.2825796-1-djordje.todorovic@htecgroup.com
Maintainers: Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Weiwei Li <liwei1518@gmail.com>, Daniel Henrique Barboza <dbarboza@ventanamicro.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>
include/hw/riscv/cps.h | 2 +-
target/riscv/cpu.c     | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
[PATCH v2 0/2] [riscv] Fix issues found by Coverity
Posted by Djordje Todorovic 3 weeks, 3 days ago
Address one comment in the first patch.

Djordje Todorovic (2):
  hw/riscv: Fix integer overflow in cm_base calculation
  target/riscv: Fix null pointer dereference in cpu_set_exception_base

 include/hw/riscv/cps.h | 2 +-
 target/riscv/cpu.c     | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

-- 
2.34.1
Re: [PATCH v2 0/2] [riscv] Fix issues found by Coverity
Posted by Alistair Francis 3 weeks, 3 days ago
On Thu, Jan 15, 2026 at 11:01 PM Djordje Todorovic
<Djordje.Todorovic@htecgroup.com> wrote:
>
> Address one comment in the first patch.
>
> Djordje Todorovic (2):
>   hw/riscv: Fix integer overflow in cm_base calculation
>   target/riscv: Fix null pointer dereference in cpu_set_exception_base

Thanks!

Applied to riscv-to-apply.next

Alistair

>
>  include/hw/riscv/cps.h | 2 +-
>  target/riscv/cpu.c     | 1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)
>
> --
> 2.34.1