* [Qemu-devel] [PATCH for-1.6] linux-user: Return success from m68k set_thread_area syscall
@ 2013-07-29 10:31 Peter Maydell
2013-08-02 12:35 ` Anthony Liguori
0 siblings, 1 reply; 2+ messages in thread
From: Peter Maydell @ 2013-07-29 10:31 UTC (permalink / raw)
To: qemu-devel; +Cc: Anthony Liguori, Riku Voipio, Laurent Vivier, patches
The m68k set_thread_area syscall implementation failed to set the
return value. Correctly set it zero, since this syscall will always
succeed.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
Oops. Spotted by clang.
linux-user/syscall.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 3f6db4b..f986548 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -8523,6 +8523,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
{
TaskState *ts = ((CPUArchState *)cpu_env)->opaque;
ts->tp_value = arg1;
+ ret = 0;
break;
}
#else
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH for-1.6] linux-user: Return success from m68k set_thread_area syscall
2013-07-29 10:31 [Qemu-devel] [PATCH for-1.6] linux-user: Return success from m68k set_thread_area syscall Peter Maydell
@ 2013-08-02 12:35 ` Anthony Liguori
0 siblings, 0 replies; 2+ messages in thread
From: Anthony Liguori @ 2013-08-02 12:35 UTC (permalink / raw)
To: Peter Maydell, qemu-devel
Cc: Anthony Liguori, Riku Voipio, Laurent Vivier, patches
Applied. Thanks.
Regards,
Anthony Liguori
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-02 21:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-29 10:31 [Qemu-devel] [PATCH for-1.6] linux-user: Return success from m68k set_thread_area syscall Peter Maydell
2013-08-02 12:35 ` Anthony Liguori
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.