[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 100581: libvhost-user: fix cast warnings on 3
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] 100581: libvhost-user: fix cast warnings on 32 bits |
Date: |
Thu, 23 May 2019 10:21:25 +0000 (UTC) |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 1005810b8ae92e0110aae123ee0a91b0a6717343
https://github.com/qemu/qemu/commit/1005810b8ae92e0110aae123ee0a91b0a6717343
Author: Marc-André Lureau <address@hidden>
Date: 2019-05-22 (Wed, 22 May 2019)
Changed paths:
M contrib/libvhost-user/libvhost-user.c
Log Message:
-----------
libvhost-user: fix cast warnings on 32 bits
Fixes warnings:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: 7fa9f0388ca7270ae4267f305a2fa384c4252170
https://github.com/qemu/qemu/commit/7fa9f0388ca7270ae4267f305a2fa384c4252170
Author: Marc-André Lureau <address@hidden>
Date: 2019-05-22 (Wed, 22 May 2019)
Changed paths:
M contrib/libvhost-user/libvhost-user.c
Log Message:
-----------
libvhost-user: fix -Werror=format= on ppc64
That should fix the following warning:
/home/pm215/qemu/contrib/libvhost-user/libvhost-user.c: In function
‘vu_set_mem_table_exec_postcopy’:
/home/pm215/qemu/contrib/libvhost-user/libvhost-user.c:666:9: error:
format ‘%llx’ expects argument of type ‘long long unsigned int’, but
argument 5 has type ‘__u64’ [-Werror=format=]
DPRINT("%s: region %d: Registered userfault for %llx + %llx\n",
^
/home/pm215/qemu/contrib/libvhost-user/libvhost-user.c:666:9: error:
format ‘%llx’ expects argument of type ‘long long unsigned int’, but
argument 6 has type ‘__u64’ [-Werror=format=]
cc1: all warnings being treated as errors
Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
{ kraxel: s/PRIu64/PRIx64/ ]
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: 06914c97d3ade856371c9a59cbe6a9b13422471f
https://github.com/qemu/qemu/commit/06914c97d3ade856371c9a59cbe6a9b13422471f
Author: Marc-André Lureau <address@hidden>
Date: 2019-05-22 (Wed, 22 May 2019)
Changed paths:
M MAINTAINERS
M Makefile
M Makefile.objs
A contrib/vhost-user-input/Makefile.objs
A contrib/vhost-user-input/main.c
Log Message:
-----------
contrib: add vhost-user-input
Add a vhost-user input backend example, based on virtio-input-host
device. It takes an evdev path as argument, and can be associated with
a vhost-user-input device via a UNIX socket:
$ vhost-user-input -p /dev/input/eventX -s /tmp/vui.sock
$ qemu ... -chardev socket,id=vuic,path=/tmp/vui.sock
-device vhost-user-input-pci,chardev=vuic
This example is intentionally not included in $TOOLS, and not
installed by default.
Signed-off-by: Marc-André Lureau <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: 297a082700d2985ba862fd13a27fb539a8f26e2a
https://github.com/qemu/qemu/commit/297a082700d2985ba862fd13a27fb539a8f26e2a
Author: Peter Maydell <address@hidden>
Date: 2019-05-23 (Thu, 23 May 2019)
Changed paths:
M MAINTAINERS
M Makefile
M Makefile.objs
M contrib/libvhost-user/libvhost-user.c
A contrib/vhost-user-input/Makefile.objs
A contrib/vhost-user-input/main.c
Log Message:
-----------
Merge remote-tracking branch
'remotes/kraxel/tags/input-20190522-pull-request' into staging
input: add vhost-user-input to contrib.
# gpg: Signature made Wed 22 May 2019 09:26:34 BST
# gpg: using RSA key 4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>" [full]
# gpg: aka "Gerd Hoffmann <address@hidden>" [full]
# gpg: aka "Gerd Hoffmann (private) <address@hidden>" [full]
# Primary key fingerprint: A032 8CFF B93A 17A7 9901 FE7D 4CB6 D8EE D3E8 7138
* remotes/kraxel/tags/input-20190522-pull-request:
contrib: add vhost-user-input
libvhost-user: fix -Werror=format= on ppc64
libvhost-user: fix cast warnings on 32 bits
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/542ad0eb9571...297a082700d2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 100581: libvhost-user: fix cast warnings on 32 bits,
Peter Maydell <=