Add an extra pair of (), just for defensive programming.
This commit was SVN r23444.
Этот коммит содержится в:
родитель
f3e13b9766
Коммит
e736281adf
@ -503,8 +503,9 @@ static inline int post_send(mca_btl_openib_endpoint_t *ep,
|
|||||||
#if OPAL_ENABLE_DEBUG
|
#if OPAL_ENABLE_DEBUG
|
||||||
do {
|
do {
|
||||||
ftr->seq = ep->eager_rdma_remote.seq;
|
ftr->seq = ep->eager_rdma_remote.seq;
|
||||||
} while (!OPAL_ATOMIC_CMPSET_32((int32_t*)&ep->eager_rdma_remote.seq,
|
} while (!OPAL_ATOMIC_CMPSET_32((int32_t*) &ep->eager_rdma_remote.seq,
|
||||||
(int32_t)ftr->seq, (int32_t)ftr->seq+1));
|
(int32_t) ftr->seq,
|
||||||
|
(int32_t) (ftr->seq+1)));
|
||||||
#endif
|
#endif
|
||||||
if(ep->nbo)
|
if(ep->nbo)
|
||||||
BTL_OPENIB_FOOTER_HTON(*ftr);
|
BTL_OPENIB_FOOTER_HTON(*ftr);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user