[PATCH v2 4/8] linux-user/nios2: Adjust error return

2022-03-26 Thread Richard Henderson
Follow the kernel assembly, which considers all negative return values to be errors. Signed-off-by: Richard Henderson --- linux-user/nios2/cpu_loop.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/linux-user/nios2/cpu_loop.c b/linux-user/nios2/cpu_loop.c index a2857

Re: [PATCH v2 4/8] linux-user/nios2: Adjust error return

2022-03-26 Thread Peter Maydell
On Fri, 25 Mar 2022 at 19:52, Richard Henderson wrote: > > Follow the kernel assembly, which considers all negative > return values to be errors. > > Signed-off-by: Richard Henderson > --- > linux-user/nios2/cpu_loop.c | 9 +++-- Reviewed-by: Peter Maydell thanks -- PMM

[PATCH v2 4/8] linux-user/nios2: Adjust error return

2022-03-25 Thread Richard Henderson
Follow the kernel assembly, which considers all negative return values to be errors. Signed-off-by: Richard Henderson --- linux-user/nios2/cpu_loop.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/linux-user/nios2/cpu_loop.c b/linux-user/nios2/cpu_loop.c index a2857