target-mips: Fix warning from Sparse
PATCH 5/7 target-mips: Fix warning from Sparse
Sparse report:
target-mips/dsp_helper.c:3681:5: warning: returning void-valued expression
Cc Aurelien Jarno <[email protected]>
Cc Leon Alrae <[email protected]>
Signed-off-by Stefan Weil <[email protected]>
--- target-mips/dsp_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target-mips/dsp_helper.c +1 -1
@@ -3678,7 +3678,7 @@ void cpu_wrdsp(uint32_t rs, uint32_t mask_num, CPUMIPSState *env)void helper_wrdsp (target_ulong rs,target_ulong mask_num,CPUMIPSState *env) { -return cpu_wrdsp (rs, mask_num, env); +cpu_wrdsp (rs, mask_num, env); }uint32_t cpu_rddsp (uint32_t mask_num,CPUMIPSState *env)
Signature · 1 line
2.1.4