Re: [Qemu-devel] [PATCH] hw/pvrdma: Check the correct return value

2018-10-29 Thread Marcel Apfelbaum
On 10/25/18 9:17 AM, Yuval Shaia wrote: Return value of 0 means ok, we want to free the memory only in case of error. Signed-off-by: Yuval Shaia --- hw/rdma/vmw/pvrdma_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/rdma/vmw/pvrdma_cmd.c

[Qemu-devel] [PATCH] hw/pvrdma: Check the correct return value

2018-10-25 Thread Yuval Shaia
Return value of 0 means ok, we want to free the memory only in case of error. Signed-off-by: Yuval Shaia --- hw/rdma/vmw/pvrdma_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/rdma/vmw/pvrdma_cmd.c b/hw/rdma/vmw/pvrdma_cmd.c index 4faeb21631..57d6f41ae6 100644 ---