Hi Peter,
On 2/26/19 6:48 PM, Peter Maydell wrote:
> On Sat, 23 Feb 2019 at 14:16, Marcel Apfelbaum
> <marcel.apfelbaum@gmail.com> wrote:
>> The following changes since commit 8eb29f1bf5a974dc4c11d2d1f5e7c7f7a62be116:
>>
>> Merge remote-tracking branch 'remotes/awilliam/tags/vfio-updates-20190221.0' into staging (2019-02-22 15:48:04 +0000)
>>
>> are available in the Git repository at:
>>
>> https://github.com/marcel-apf/qemu tags/rdma-pull-request
>>
>> for you to fetch changes up to e1038e22f7b3ade2e46cf168fa7486414c424e94:
>>
>> hw/rdma: another clang compilation fix (2019-02-23 15:28:25 +0200)
>>
>> ----------------------------------------------------------------
>> RDMA queue
>>
>> * Another Clang compilation fix
>> * Various fixes for the pvrdma device
>>
> Format string issues for 32-bit hosts:
>
> In file included from hw/rdma/trace.c:4:0:
> hw/rdma/trace.h: In function '_nocheck__trace_rdma_mad_message':
> hw/rdma/trace.h:231:18: error: format '%ld' expects argument of type
> 'long int', but argument 6 has type 'size_t {aka unsigned int}'
> [-Werror=format=]
> qemu_log("%d@%zu.%06zu:rdma_mad_message " "mad %s (%ld): %s" "\n",
> ^
> In file included from hw/rdma/trace.c:4:0:
> hw/rdma/trace.h: In function '_nocheck__trace_rdma_rm_alloc_mr':
> hw/rdma/trace.h:507:18: error: format '%ld' expects argument of type
> 'long int', but argument 8 has type 'size_t {aka unsigned int}'
> [-Werror=format=]
> qemu_log("%d@%zu.%06zu:rdma_rm_alloc_mr " "mr_handle=%d,
> host_virt=%p, guest_start=0x%"PRIx64", length=%ld, access_flags=0x%x"
> "\n",
> ^
Will fix and resend (and add 32-bit compilation to my set of tests).
Thanks,
Marcel
> thanks
> -- PMM