pvrdma: Fix compilation error
In function ‘create_qp’: hw/rdma/vmw/pvrdma_cmd.c:517:16: error: ‘rc’ undeclared The backport ofstable-3.1509f57c98
in41dd30ff6
mishandled the conflict Signed-off-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
parent
71049d2a74
commit
ab630a065a
|
@ -514,7 +514,7 @@ static int create_qp(PVRDMADev *dev, union pvrdma_cmd_req *req,
|
|||
cmd->recv_cq_handle, rings, &resp->qpn);
|
||||
if (resp->hdr.err) {
|
||||
destroy_qp_rings(rings);
|
||||
return rc;
|
||||
goto out;
|
||||
}
|
||||
|
||||
resp->max_send_wr = cmd->max_send_wr;
|
||||
|
|
Loading…
Reference in New Issue