Re: [Qemu-devel] [PATCH 2/3] hw/rdma: Use correct print format in CHK_ATTR macro

2018-03-22 Thread Philippe Mathieu-Daudé
On 03/21/2018 06:10 PM, Yuval Shaia wrote: > Macro should not cast the given variable to u64 instead it should use > the supplied format argument (fmt). > > Reported-by: Eric Blake > Signed-off-by: Yuval Shaia Reviewed-by: Philippe Mathieu-Daudé > --- > hw/rdma/rdma_backend.c | 4 ++-- > 1 f

[Qemu-devel] [PATCH 2/3] hw/rdma: Use correct print format in CHK_ATTR macro

2018-03-21 Thread Yuval Shaia
Macro should not cast the given variable to u64 instead it should use the supplied format argument (fmt). Reported-by: Eric Blake Signed-off-by: Yuval Shaia --- hw/rdma/rdma_backend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/rdma/rdma_backend.c b/hw/rdma/rdma_b