On Wed, Jan 22, 2025 at 4:50 AM Daniel Henrique Barboza
wrote:
>
> Coverity found a second DEADCODE issue in rmw_xireg() claiming that we can't
> reach 'RISCV_EXCP_NONE' at the 'done' label:
>
> > 2706 done:
> > 2707 if (ret) {
> > 2708 return (env->virt_enabled && virt)
Coverity found a second DEADCODE issue in rmw_xireg() claiming that we can't
reach 'RISCV_EXCP_NONE' at the 'done' label:
> 2706 done:
> 2707 if (ret) {
> 2708 return (env->virt_enabled && virt) ?
> 2709RISCV_EXCP_VIRT_INSTRUCTION_FAULT :
> RISCV_E