diff options
author | Roland Dreier <rolandd@cisco.com> | 2006-02-14 03:39:35 +0000 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-11-09 19:57:05 -0800 |
commit | 84e0164891b03382892c4b94f89ca6b8e4469f28 (patch) | |
tree | 6244ee27ade54277907cb0ad69858141200cfc0b | |
parent | 069b8fb3832972e224e15e18782a9c324042801f (diff) | |
download | libmthca-84e0164891b03382892c4b94f89ca6b8e4469f28.tar.gz |
Trivial whitespace fixes
Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r-- | src/cq.c | 2 | ||||
-rw-r--r-- | src/memfree.c | 2 | ||||
-rw-r--r-- | src/qp.c | 4 | ||||
-rw-r--r-- | src/verbs.c | 2 |
4 files changed, 5 insertions, 5 deletions
@@ -270,7 +270,7 @@ static int handle_error_cqe(struct mthca_cq *cq, * If we're at the end of the WQE chain, or we've used up our * doorbell count, free the CQE. Otherwise just update it for * the next poll operation. - * + * * This doesn't apply to mem-free HCAs, which never use the * doorbell count field. In that case we always free the CQE. */ diff --git a/src/memfree.c b/src/memfree.c index 610289a..f4863b9 100644 --- a/src/memfree.c +++ b/src/memfree.c @@ -135,7 +135,7 @@ found: ret = i * MTHCA_DB_REC_PER_PAGE + j; *db = (uint32_t *) &db_tab->page[i].db_rec[j]; - + out: pthread_mutex_unlock(&db_tab->mutex); return ret; @@ -683,7 +683,7 @@ int mthca_arbel_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr, int i; void *wqe; - pthread_spin_lock(&qp->rq.lock); + pthread_spin_lock(&qp->rq.lock); /* XXX check that state is OK to post receive */ @@ -902,7 +902,7 @@ void mthca_clear_qp(struct mthca_context *ctx, uint32_t qpn) free(ctx->qp_table[tind].table); else ctx->qp_table[tind].table[qpn & ctx->qp_table_mask] = NULL; - + pthread_mutex_unlock(&ctx->qp_table_mutex); } diff --git a/src/verbs.c b/src/verbs.c index 405a801..b85553d 100644 --- a/src/verbs.c +++ b/src/verbs.c @@ -303,7 +303,7 @@ int mthca_resize_cq(struct ibv_cq *ibcq, int cqe) mthca_dereg_mr(cq->mr); free(cq->buf); - + cq->buf = buf; cq->mr = mr; |