[openib-general] [PATCH] mthca_cq.c: Fix compile problem with previous patch

Hal Rosenstock halr at voltaire.com
Tue Jan 4 11:50:09 PST 2005


mthca_cq.c: Fix compile problem with previous patch

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

Index: linux-kernel/infiniband/hw/mthca/mthca_cq.c
===================================================================
--- linux-kernel/infiniband/hw/mthca/mthca_cq.c	(revision 1467)
+++ linux-kernel/infiniband/hw/mthca/mthca_cq.c	(working copy)
@@ -444,7 +444,7 @@
 		spin_lock(&(*cur_qp)->lock);
 	}
 
-	entry->qp_num = cur_qp->qpn;
+	entry->qp_num = (*cur_qp)->qpn;
 
 	if (is_send) {
 		wq = &(*cur_qp)->sq;






More information about the general mailing list