[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] fixup: include: update Linux headers to 4.21-rc
From: |
Marc-André Lureau |
Subject: |
Re: [Qemu-devel] [PATCH] fixup: include: update Linux headers to 4.21-rc1/5.0-rc1 |
Date: |
Mon, 4 Feb 2019 09:53:11 +0100 |
On Mon, Feb 4, 2019 at 5:56 AM Michael S. Tsirkin <address@hidden> wrote:
>
> This update switched structures from __u64 to uint64_t.
> Accordingly, need to print with PRIx64.
>
> Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
> ---
> contrib/libvhost-user/libvhost-user.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/contrib/libvhost-user/libvhost-user.c
> b/contrib/libvhost-user/libvhost-user.c
> index a6b46cdc03..3f14b4138b 100644
> --- a/contrib/libvhost-user/libvhost-user.c
> +++ b/contrib/libvhost-user/libvhost-user.c
> @@ -790,10 +790,10 @@ vu_set_vring_addr_exec(VuDev *dev, VhostUserMsg *vmsg)
> DPRINT("vhost_vring_addr:\n");
> DPRINT(" index: %d\n", vra->index);
> DPRINT(" flags: %d\n", vra->flags);
> - DPRINT(" desc_user_addr: 0x%016llx\n", vra->desc_user_addr);
> - DPRINT(" used_user_addr: 0x%016llx\n", vra->used_user_addr);
> - DPRINT(" avail_user_addr: 0x%016llx\n", vra->avail_user_addr);
> - DPRINT(" log_guest_addr: 0x%016llx\n", vra->log_guest_addr);
> + DPRINT(" desc_user_addr: 0x%016" PRIx64 "\n", vra->desc_user_addr);
> + DPRINT(" used_user_addr: 0x%016" PRIx64 "\n", vra->used_user_addr);
> + DPRINT(" avail_user_addr: 0x%016" PRIx64 "\n", vra->avail_user_addr);
> + DPRINT(" log_guest_addr: 0x%016" PRIx64 "\n", vra->log_guest_addr);
>
> vq->vring.flags = vra->flags;
> vq->vring.desc = qva_to_va(dev, vra->desc_user_addr);
> --
> MST
>
--
Marc-André Lureau