Merge pull request #2447 from hppritcha/topic/compiler_warning_swats
btl/ugni:vader swat some compiler warnings
Этот коммит содержится в:
Коммит
2bb4cffffd
@ -131,7 +131,6 @@ mca_btl_ugni_module_finalize (struct mca_btl_base_module_t *btl)
|
|||||||
mca_btl_ugni_module_t *ugni_module = (mca_btl_ugni_module_t *)btl;
|
mca_btl_ugni_module_t *ugni_module = (mca_btl_ugni_module_t *)btl;
|
||||||
mca_btl_base_endpoint_t *ep;
|
mca_btl_base_endpoint_t *ep;
|
||||||
uint64_t key;
|
uint64_t key;
|
||||||
void *node;
|
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
while (ugni_module->active_send_count) {
|
while (ugni_module->active_send_count) {
|
||||||
|
@ -76,7 +76,7 @@ mca_rcache_base_registration_t *vader_get_registation (struct mca_btl_base_endpo
|
|||||||
vader_check_reg_ctx_t check_ctx = {.ep = ep, .reg = ®, .vma_module = vma_module};
|
vader_check_reg_ctx_t check_ctx = {.ep = ep, .reg = ®, .vma_module = vma_module};
|
||||||
xpmem_addr_t xpmem_addr;
|
xpmem_addr_t xpmem_addr;
|
||||||
uintptr_t base, bound;
|
uintptr_t base, bound;
|
||||||
int rc, i;
|
int rc;
|
||||||
|
|
||||||
base = OPAL_DOWN_ALIGN((uintptr_t) rem_ptr, attach_align, uintptr_t);
|
base = OPAL_DOWN_ALIGN((uintptr_t) rem_ptr, attach_align, uintptr_t);
|
||||||
bound = OPAL_ALIGN((uintptr_t) rem_ptr + size - 1, attach_align, uintptr_t) + 1;
|
bound = OPAL_ALIGN((uintptr_t) rem_ptr + size - 1, attach_align, uintptr_t) + 1;
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user