Linux kernel bug fix: riscv: entry: set a0 = -ENOSYS only when syscall != -1
Subsystem: arch/riscv (arch/riscv/kernel/traps.c)
Bug type: hang, severity: medium
Files changed: arch/riscv/kernel/traps.c
Introduced by Guo Ren on 2023-03-23 08:47:00 -0700; fixed by Celeste Liu on 2023-08-16 07:19:49 -0700 (lifetime: 145 days)