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

Michael S. Tsirkin mst at mellanox.co.il
Tue Jan 4 12:28:02 PST 2005


Hello!
Quoting r. Hal Rosenstock (halr at voltaire.com) "[openib-general] [PATCH] mthca_cq.c: Fix compile problem with previous patch":
> 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;

My bad, I fixed it but posted the wrong patch.
This needs to be applied, obviously.

mst



More information about the general mailing list