All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Daniel P. Berrangé" <berrange@redhat.com>,
	"QEMU Developers" <qemu-devel@nongnu.org>,
	"Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [Qemu-devel] [PULL 0/8] Input 20190510 patches
Date: Mon, 13 May 2019 08:54:49 +0200	[thread overview]
Message-ID: <20190513065449.onhk23e7hjtpio4q@sirius.home.kraxel.org> (raw)
In-Reply-To: <CAFEAcA_1wgkdY4KgTOwf8iS9ZOTVjWg8qc7GBonn9ffp6yyybg@mail.gmail.com>

> Hi; there are some compile failures here I'm afraid:
> 
> On ppc64:
> 
> /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
> 
> On arm (and probably any 32-bit host):
> 
> /home/peter.maydell/qemu/contrib/libvhost-user/libvhost-user.c: In
> function 'vu_set_mem_table_exec_postcopy':
> /home/peter.maydell/qemu/contrib/libvhost-user/libvhost-user.c:624:23:
> error: cast to pointer from integer of different size
> [-Werror=int-to-pointer-cast]
>          ret = madvise((void *)dev_region->mmap_addr,
>                        ^
> /home/peter.maydell/qemu/contrib/libvhost-user/libvhost-user.c:636:23:
> error: cast to pointer from integer of different size
> [-Werror=int-to-pointer-cast]
>          ret = madvise((void *)dev_region->mmap_addr,
>                        ^
> /home/peter.maydell/qemu/contrib/libvhost-user/libvhost-user.c:669:22:
> error: cast to pointer from integer of different size
> [-Werror=int-to-pointer-cast]
>          if (mprotect((void *)dev_region->mmap_addr,
>                       ^

Patch #6 dropped, v2 sent.

cheers,
  Gerd



      reply	other threads:[~2019-05-13  7:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-10 14:00 [Qemu-devel] [PULL 0/8] Input 20190510 patches Gerd Hoffmann
2019-05-10 14:00 ` [Qemu-devel] [PULL 1/8] libvhost-user: fix -Waddress-of-packed-member Gerd Hoffmann
2019-05-10 14:00 ` [Qemu-devel] [PULL 2/8] libvhost-user: add PROTOCOL_F_CONFIG if {set, get}_config Gerd Hoffmann
2019-05-10 14:00 ` [Qemu-devel] [PULL 3/8] Add vhost-user-backend Gerd Hoffmann
2019-05-10 14:00 ` [Qemu-devel] [PULL 4/8] Add vhost-user-input-pci Gerd Hoffmann
2019-05-10 14:01 ` [Qemu-devel] [PULL 5/8] util: simplify unix_listen() Gerd Hoffmann
2019-05-10 14:01 ` [Qemu-devel] [PULL 6/8] contrib: add vhost-user-input Gerd Hoffmann
2019-05-10 14:01 ` [Qemu-devel] [PULL 7/8] virtio-input-host-pci: cleanup types Gerd Hoffmann
2019-05-10 14:01 ` [Qemu-devel] [PULL 8/8] virtio-input: fix Kconfig dependency and Makefile Gerd Hoffmann
2019-05-10 14:53 ` [Qemu-devel] [PULL 0/8] Input 20190510 patches Peter Maydell
2019-05-13  6:54   ` Gerd Hoffmann [this message]

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=20190513065449.onhk23e7hjtpio4q@sirius.home.kraxel.org \
    --to=kraxel@redhat.com \
    --cc=berrange@redhat.com \
    --cc=mst@redhat.com \
    --cc=peter.maydell@linaro.org \
    --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 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.