* [Qemu-devel] [PATCH] Add missing return statement
@ 2008-10-17 17:36 Stefan Weil
2008-10-24 13:20 ` Aurelien Jarno
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2008-10-17 17:36 UTC (permalink / raw)
To: QEMU Developers
[-- Attachment #1: Type: text/plain, Size: 164 bytes --]
This patch adds a missing return statement (this fixes compiler warning).
Maybe it also fixes a malfunction (not tested).
Please apply it to Qemu trunk.
Stefan
[-- Attachment #2: syscall.patch --]
[-- Type: text/x-diff, Size: 580 bytes --]
Add missing return statement (fixes compiler warning).
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Index: linux-user/syscall.c
===================================================================
--- linux-user/syscall.c (Revision 5497)
+++ linux-user/syscall.c (Arbeitskopie)
@@ -1934,6 +1934,7 @@
__put_user(host_msginfo->msgtql, &target_msginfo->msgtql);
__put_user(host_msginfo->msgseg, &target_msginfo->msgseg);
unlock_user_struct(target_msginfo, target_addr, 1);
+ return 0;
}
static inline abi_long do_msgctl(int msgid, int cmd, abi_long ptr)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] Add missing return statement
2008-10-17 17:36 [Qemu-devel] [PATCH] Add missing return statement Stefan Weil
@ 2008-10-24 13:20 ` Aurelien Jarno
0 siblings, 0 replies; 2+ messages in thread
From: Aurelien Jarno @ 2008-10-24 13:20 UTC (permalink / raw)
To: qemu-devel
On Fri, Oct 17, 2008 at 07:36:38PM +0200, Stefan Weil wrote:
> This patch adds a missing return statement (this fixes compiler warning).
> Maybe it also fixes a malfunction (not tested).
>
> Please apply it to Qemu trunk.
Thanks, applied.
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-24 13:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-17 17:36 [Qemu-devel] [PATCH] Add missing return statement Stefan Weil
2008-10-24 13:20 ` Aurelien Jarno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).