projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9fe2b3
)
[PATCH] IB: Initialize qp->wait
author
Michael S. Tsirkin
<mst@mellanox.co.il>
Wed, 7 Sep 2005 16:45:00 +0000
(09:45 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Wed, 7 Sep 2005 16:48:53 +0000
(09:48 -0700)
Add missing call to init_waitqueue_head().
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_qp.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/mthca/mthca_qp.c
b/drivers/infiniband/hw/mthca/mthca_qp.c
index c753f7375a5d42f6656c66161545f4430ae79cef..bcef06bf15e724c47aaedd013168be2bf9fe7d63 100644
(file)
--- a/
drivers/infiniband/hw/mthca/mthca_qp.c
+++ b/
drivers/infiniband/hw/mthca/mthca_qp.c
@@
-1044,6
+1044,7
@@
static int mthca_alloc_qp_common(struct mthca_dev *dev,
int i;
atomic_set(&qp->refcount, 1);
+ init_waitqueue_head(&qp->wait);
qp->state = IB_QPS_RESET;
qp->atomic_rd_en = 0;
qp->resp_depth = 0;