qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: riku.voipio@linaro.org
To: qemu-devel@nongnu.org
Cc: Laurent Vivier <laurent@vivier.eu>
Subject: [Qemu-devel] [PULL v2 16/24] linux-user: add missing return in netlink switch statement
Date: Tue, 28 Jun 2016 22:12:50 +0300	[thread overview]
Message-ID: <84f34b00c8cccfcefbadc45f68036dea957d2153.1467138806.git.riku.voipio@linaro.org> (raw)
In-Reply-To: <cover.1467138806.git.riku.voipio@linaro.org>

From: Laurent Vivier <laurent@vivier.eu>

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
---
 linux-user/syscall.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index b8a0738..33409c0 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -1692,6 +1692,7 @@ static abi_long target_to_host_for_each_nlmsg(struct nlmsghdr *nlh,
             struct nlmsgerr *e = NLMSG_DATA(nlh);
             e->error = tswap32(e->error);
             tswap_nlmsghdr(&e->msg);
+            return 0;
         }
         default:
             ret = target_to_host_nlmsg(nlh);
-- 
2.1.4

  parent reply	other threads:[~2016-06-28 19:13 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-28 19:12 [Qemu-devel] [PULL v2 00/24] linux-user changes for v2.7 riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 01/24] linux-user: Avoid possible misalignment in host_to_target_siginfo() riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 02/24] linux-user: Use __get_user() and __put_user() to handle structs in do_fcntl() riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 03/24] linux-user: Use safe_syscall wrapper for fcntl riku.voipio
2018-07-12  7:18   ` Laurent Vivier
2018-07-12  8:41     ` Peter Maydell
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 04/24] linux-user: Don't use sigfillset() on uc->uc_sigmask riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 05/24] configure: Don't override ARCH=unknown if enabling TCI riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 06/24] configure: Don't allow user-only targets for unknown CPU architectures riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 07/24] user-exec: Delete now-unused hppa and m68k cpu_signal_handler() code riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 08/24] user-exec: Remove unused code for OSX hosts riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 09/24] linux-user: Create a hostdep.h for each host architecture riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 10/24] linux-user: Fix wrong type used for argument to rt_sigqueueinfo riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 11/24] linux-user: Support F_GETPIPE_SZ and F_SETPIPE_SZ fcntls riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 12/24] linux-user: add socketcall() strace riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 13/24] linux-user: add socket() strace riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 14/24] linux-user: fix clone() strace riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 15/24] linux-user: update get_thread_area/set_thread_area strace riku.voipio
2016-06-28 19:12 ` riku.voipio [this message]
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 17/24] linux-user: fd_trans_host_to_target_data() must process only received data riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 18/24] linux-user: don't swap NLMSG_DATA() fields riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 19/24] linux-user: fix x86_64 safe_syscall riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 20/24] linux-user: Provide safe_syscall for i386 riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 21/24] linux-user: Provide safe_syscall for arm riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 22/24] linux-user: Provide safe_syscall for aarch64 riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 23/24] linux-user: Provide safe_syscall for s390x riku.voipio
2016-06-28 19:12 ` [Qemu-devel] [PULL v2 24/24] linux-user: Provide safe_syscall for ppc64 riku.voipio
2016-06-29 15:08 ` [Qemu-devel] [PULL v2 00/24] linux-user changes for v2.7 Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84f34b00c8cccfcefbadc45f68036dea957d2153.1467138806.git.riku.voipio@linaro.org \
    --to=riku.voipio@linaro.org \
    --cc=laurent@vivier.eu \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).