Skip to content

Commit

Permalink
minor bmi ib fix from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
Pete Wyckoff committed Mar 14, 2008
1 parent dce1c1d commit 917a06a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/io/bmi/bmi_ib/ib.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ static int ib_check_cq(void)
sq->state.send = SQ_WAITING_DATA_SEND_COMPLETION;
else if (state == SQ_WAITING_RTS_DONE_SEND_COMPLETION)
sq->state.send = SQ_WAITING_USER_TEST;
else if (state == SQ_CANCELLED)
;
else
bmi_ib_assert(0, "%s: unknown send state %s (%d) of sq %p",
__func__, sq_state_name(sq->state.send),
Expand All @@ -225,8 +227,10 @@ static int ib_check_cq(void)

if (state == RQ_RTS_WAITING_CTS_SEND_COMPLETION)
rq->state.recv = RQ_RTS_WAITING_RTS_DONE;
else if (state == RQ_CANCELLED)
;
else
bmi_ib_assert(0, "%s: unknown send state %s of rq %p",
bmi_ib_assert(0, "%s: unknown recv state %s of rq %p",
__func__, rq_state_name(rq->state.recv), rq);
debug(2, "%s: send to %s completed locally: rq %p -> %s",
__func__, bh->c->peername, rq,
Expand Down

0 comments on commit 917a06a

Please sign in to comment.