Skip to content

Commit

Permalink
pvrdma: Fix compilation error
Browse files Browse the repository at this point in the history
  In function ‘create_qp’:
  hw/rdma/vmw/pvrdma_cmd.c:517:16: error: ‘rc’ undeclared

The backport of 509f57c in 41dd30f mishandled the conflict

Signed-off-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
  • Loading branch information
crobinso authored and mdroth committed Sep 19, 2019
1 parent 71049d2 commit ab630a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/rdma/vmw/pvrdma_cmd.c
Expand Up @@ -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;
Expand Down

0 comments on commit ab630a0

Please sign in to comment.