Skip to content

Commit

Permalink
prov/verbs: Fix for issue ofiwg#3355
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Gladkov <dmitry.gladkov@intel.com>
  • Loading branch information
dmitrygx committed Sep 30, 2017
1 parent 22d65e5 commit 838a3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prov/verbs/src/verbs_cq.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ static inline int fi_ibv_wc_2_wce(struct fi_ibv_cq *cq,
*wce = util_buf_alloc(cq->wce_pool);
if (!*wce)
return -FI_ENOMEM;
memset(wce, 0, sizeof(*wce));
memset(*wce, 0, sizeof(**wce));
wc->wr_id = (uintptr_t)wre->context;
(*wce)->wc = *wc;

Expand Down

0 comments on commit 838a3a7

Please sign in to comment.