qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Yuval Shaia <yuval.shaia@oracle.com>,
	marcel@redhat.com, qemu-devel@nongnu.org,
	qemu-trivial@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/3] hw/rdma: Fix 32-bit compilation
Date: Wed, 21 Mar 2018 17:24:52 -0500	[thread overview]
Message-ID: <159b2ec9-a8a4-ec03-51c1-5bbc097c0de9@redhat.com> (raw)
In-Reply-To: <20180321211056.3339-1-yuval.shaia@oracle.com>

On 03/21/2018 04:10 PM, Yuval Shaia wrote:
> Hi all,
> Following are three patches which fixes various compilation warnings and
> errors detected when compiling rdma device in 32bit host.
> 
> All three patches are based on Eric Blake patch for rdma device.
> Thanks!
> 
> Patch #1: Change host_virt to void *
> Low level IB verbs library accept void * argument so let's make sure this
> is what we supply. This issue reported by Eric Blake.
> 
> Patch #2: Use correct print format in CHK_ATTR macro
> This macro can utilize the given 'format' argument and not need to cast all
> members to u64. This patch is an alternative to suggested patch by Eric
> Blake.
> 
> Patch #3: Fix 32-bit compilation
> Based on Eric Blake patch this patch replaces all %ld/%lx with the platform
> independent PRIx64/PRId64 format.
> 
> Again, thanks Eric Blake for the report.
> 
> Yuval Shaia (3):
>    hw/rdma: Change host_virt to void *
>    hw/rdma: Use correct print format in CHK_ATTR macro

Your fix was nicer than my proposal.

>    hw/rdma: Fix 32-bit compilation

Reviewed-by: Eric Blake <eblake@redhat.com>

and it fixes the build on my 32-bit rawhide VM, so

Tested-by: Eric Blake <eblake@redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

  parent reply	other threads:[~2018-03-21 22:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-21 21:10 [Qemu-devel] [PATCH 0/3] hw/rdma: Fix 32-bit compilation Yuval Shaia
2018-03-21 21:10 ` [Qemu-devel] [PATCH 1/3] hw/rdma: Change host_virt to void * Yuval Shaia
2018-03-22  8:25   ` [Qemu-devel] [Qemu-trivial] " Philippe Mathieu-Daudé
2018-03-21 21:10 ` [Qemu-devel] [PATCH 2/3] hw/rdma: Use correct print format in CHK_ATTR macro Yuval Shaia
2018-03-22  8:26   ` Philippe Mathieu-Daudé
2018-03-21 21:10 ` [Qemu-devel] [PATCH 3/3] hw/rdma: Fix 32-bit compilation Yuval Shaia
2018-03-22  8:31   ` [Qemu-devel] [Qemu-trivial] " Philippe Mathieu-Daudé
2018-03-22  9:43     ` Yuval Shaia
2018-03-21 22:24 ` Eric Blake [this message]
2018-03-22  5:07 ` [Qemu-devel] [PATCH 0/3] " no-reply
2018-03-22  7:48   ` Marcel Apfelbaum

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=159b2ec9-a8a4-ec03-51c1-5bbc097c0de9@redhat.com \
    --to=eblake@redhat.com \
    --cc=marcel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=yuval.shaia@oracle.com \
    /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).