Silence some warnings in btl/scif and btl/openib
This commit was SVN r32371.
Этот коммит содержится в:
родитель
db89071dc2
Коммит
6520f0578a
@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2009 IBM Corporation. All rights reserved.
|
* Copyright (c) 2009 IBM Corporation. All rights reserved.
|
||||||
* Copyright (c) 2011-2014 Los Alamos National Security, LLC. All rights
|
* Copyright (c) 2011-2014 Los Alamos National Security, LLC. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
|
* Copyright (c) 2014 Research Organization for Information Science
|
||||||
|
* and Technology (RIST). All rights reserved.
|
||||||
*
|
*
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
@ -2215,7 +2217,6 @@ static int udcm_xrc_start_connect (opal_btl_openib_connect_base_module_t *cpc,
|
|||||||
mca_btl_base_endpoint_t *lcl_ep)
|
mca_btl_base_endpoint_t *lcl_ep)
|
||||||
{
|
{
|
||||||
udcm_endpoint_t *udep = UDCM_ENDPOINT_DATA(lcl_ep);
|
udcm_endpoint_t *udep = UDCM_ENDPOINT_DATA(lcl_ep);
|
||||||
udcm_module_t *m = UDCM_ENDPOINT_MODULE(lcl_ep);
|
|
||||||
int rc = OPAL_SUCCESS;
|
int rc = OPAL_SUCCESS;
|
||||||
|
|
||||||
opal_mutex_lock (&udep->udep_lock);
|
opal_mutex_lock (&udep->udep_lock);
|
||||||
@ -2311,7 +2312,7 @@ static int udcm_xrc_send_qp_connect (mca_btl_openib_endpoint_t *lcl_ep, udcm_msg
|
|||||||
uint32_t psn;
|
uint32_t psn;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
BTL_VERBOSE(("Connecting send qp: %d, remote qp: %d", lcl_ep->qps[0].qp->lcl_qp,
|
BTL_VERBOSE(("Connecting send qp: %p, remote qp: %d", (void *)lcl_ep->qps[0].qp->lcl_qp,
|
||||||
msg_hdr->data.xres.rem_qp_num));
|
msg_hdr->data.xres.rem_qp_num));
|
||||||
assert(NULL != lcl_ep->qps);
|
assert(NULL != lcl_ep->qps);
|
||||||
qp = lcl_ep->qps[0].qp->lcl_qp;
|
qp = lcl_ep->qps[0].qp->lcl_qp;
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2013 Los Alamos National Security, LLC. All rights
|
* Copyright (c) 2013 Los Alamos National Security, LLC. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
|
* Copyright (c) 2014 Research Organization for Information Science
|
||||||
|
* and Technology (RIST). All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
@ -31,7 +33,6 @@ int mca_btl_scif_get (struct mca_btl_base_module_t *btl,
|
|||||||
size_t len = lmin (src->base.seg_len, dst->base.seg_len);
|
size_t len = lmin (src->base.seg_len, dst->base.seg_len);
|
||||||
int rc, mark, flags = 0;
|
int rc, mark, flags = 0;
|
||||||
off_t roffset, loffset;
|
off_t roffset, loffset;
|
||||||
size_t to_get;
|
|
||||||
#if defined(SCIF_TIMING)
|
#if defined(SCIF_TIMING)
|
||||||
struct timespec ts;
|
struct timespec ts;
|
||||||
|
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2013 Los Alamos National Security, LLC. All rights
|
* Copyright (c) 2013 Los Alamos National Security, LLC. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
|
* Copyright (c) 2014 Research Organization for Information Science
|
||||||
|
* and Technology (RIST). All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
@ -113,7 +115,6 @@ static int mca_btl_scif_send_frag (struct mca_btl_base_endpoint_t *endpoint,
|
|||||||
mca_btl_scif_base_frag_t *frag)
|
mca_btl_scif_base_frag_t *frag)
|
||||||
{
|
{
|
||||||
size_t size = frag->hdr.size;
|
size_t size = frag->hdr.size;
|
||||||
uint8_t tag = frag->hdr.tag;
|
|
||||||
unsigned char * restrict dst;
|
unsigned char * restrict dst;
|
||||||
|
|
||||||
BTL_VERBOSE(("btl/scif sending descriptor %p from %d -> %d. length = %" PRIu64, (void *) frag,
|
BTL_VERBOSE(("btl/scif sending descriptor %p from %d -> %d. length = %" PRIu64, (void *) frag,
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user