Coverity notes that we forgot to check the error return from
lock_user() in one place in the handling of the UHI_plog semihosting
call. Add the missing error handling.
report_fault() is rather brutal in that it will call abort(), but
this is the same error-handling used in the rest of this file.
Resolves: Coverity CID 1490684
Fixes:
|
||
|---|---|---|
| .. | ||
| sysemu | ||
| tcg | ||
| cpu-defs.c.inc | ||
| cpu-param.h | ||
| cpu-qom.h | ||
| cpu.c | ||
| cpu.h | ||
| fpu.c | ||
| fpu_helper.h | ||
| gdbstub.c | ||
| helper.h | ||
| internal.h | ||
| Kconfig | ||
| kvm.c | ||
| kvm_mips.h | ||
| meson.build | ||
| mips-defs.h | ||
| msa.c | ||