projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a6309e
)
linux-user: add missing return in netlink switch statement
author
Laurent Vivier
<laurent@vivier.eu>
Tue, 14 Jun 2016 13:07:09 +0000
(15:07 +0200)
committer
Riku Voipio
<riku.voipio@linaro.org>
Sun, 26 Jun 2016 10:17:21 +0000
(13:17 +0300)
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
patch
|
blob
|
history
diff --git
a/linux-user/syscall.c
b/linux-user/syscall.c
index b8a0738e5b363a5d3c75a15ec2fdfb21c31a8708..33409c01babec9ed0ee9563f9c802eafb33548ed 100644
(file)
--- 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);