projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a121135
)
qedr: return correct value on modify qp
author
Amrani, Ram
<Ram.Amrani@cavium.com>
Thu, 22 Dec 2016 12:40:35 +0000
(14:40 +0200)
committer
Doug Ledford
<dledford@redhat.com>
Thu, 22 Dec 2016 16:36:12 +0000
(11:36 -0500)
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Reviewed-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qedr/verbs.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/qedr/verbs.c
b/drivers/infiniband/hw/qedr/verbs.c
index cbccd7d3ae1e922e9d43293513fb493d1a6ecfd5..5d1980dd6c484eab7b4676bb399a33ae2a8de502 100644
(file)
--- a/
drivers/infiniband/hw/qedr/verbs.c
+++ b/
drivers/infiniband/hw/qedr/verbs.c
@@
-1974,7
+1974,7
@@
int qedr_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
if (attr_mask & IB_QP_STATE) {
if ((qp->qp_type != IB_QPT_GSI) && (!udata))
- qedr_update_qp_state(dev, qp, qp_params.new_state);
+
rc =
qedr_update_qp_state(dev, qp, qp_params.new_state);
qp->state = qp_params.new_state;
}