1
1
openmpi/opal/mca/btl/openib
Brian Barrett e9e4d2a4bc Handle asprintf errors with opal_asprintf wrapper
The Open MPI code base assumed that asprintf always behaved like
the FreeBSD variant, where ptr is set to NULL on error.  However,
the C standard (and Linux) only guarantee that the return code will
be -1 on error and leave ptr undefined.  Rather than fix all the
usage in the code, we use opal_asprintf() wrapper instead, which
guarantees the BSD-like behavior of ptr always being set to NULL.
In addition to being correct, this will fix many, many warnings
in the Open MPI code base.

Signed-off-by: Brian Barrett <bbarrett@amazon.com>
2018-10-08 16:43:53 -07:00
..
connect Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
btl_openib_async.c opal: add types for atomic variables 2018-09-14 10:48:55 -06:00
btl_openib_async.h btl/openib: remove extra threads 2015-10-07 12:30:41 -06:00
btl_openib_atomic.c btl: add support for more atomics 2016-05-27 08:22:13 -06:00
btl_openib_component.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
btl_openib_eager_rdma.h opal: add types for atomic variables 2018-09-14 10:48:55 -06:00
btl_openib_endpoint.c Merge pull request #5701 from ICLDisco/export/errors_ib 2018-09-19 09:45:58 -04:00
btl_openib_endpoint.h opal: add types for atomic variables 2018-09-14 10:48:55 -06:00
btl_openib_frag.c btl/openib: remove derived btl segment type 2015-03-10 14:41:15 -06:00
btl_openib_frag.h openib btl: remove BTL_OPENIB_FAILOVER_ENABLED code 2016-11-01 14:45:36 -07:00
btl_openib_get.c opal/asm: rename existing arithmetic atomic functions 2017-11-30 10:41:22 -07:00
btl_openib_ini.c opal: convert from strncpy() -> opal_string_copy() 2018-09-27 11:56:18 -07:00
btl_openib_ini.h George did the work and deserves all the credit for it. Ralph did the merge, and deserves whatever blame results from errors in it :-) 2014-07-26 00:47:28 +00:00
btl_openib_ip.c opal: use opal_list_t convienience macros 2017-06-20 12:37:12 -06:00
btl_openib_ip.h George did the work and deserves all the credit for it. Ralph did the merge, and deserves whatever blame results from errors in it :-) 2014-07-26 00:47:28 +00:00
btl_openib_lex.h George did the work and deserves all the credit for it. Ralph did the merge, and deserves whatever blame results from errors in it :-) 2014-07-26 00:47:28 +00:00
btl_openib_lex.l George did the work and deserves all the credit for it. Ralph did the merge, and deserves whatever blame results from errors in it :-) 2014-07-26 00:47:28 +00:00
btl_openib_mca.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
btl_openib_mca.h George did the work and deserves all the credit for it. Ralph did the merge, and deserves whatever blame results from errors in it :-) 2014-07-26 00:47:28 +00:00
btl_openib_proc.c Update to hwloc 2.0.0a with shmem support. 2017-07-25 20:26:22 -07:00
btl_openib_proc.h Fix Mellanox copyrights with respect to the following PRs: 2015-12-30 00:12:19 +06:00
btl_openib_put.c btl/openib: set send flags only after endpoint is connected 2016-07-26 16:01:11 -06:00
btl_openib_xrc.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
btl_openib_xrc.h btl/openib: fix XRC WQE calculation 2016-05-26 15:58:31 -06:00
btl_openib.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
btl_openib.h opal: add types for atomic variables 2018-09-14 10:48:55 -06:00
btl-openib-benchmark George did the work and deserves all the credit for it. Ralph did the merge, and deserves whatever blame results from errors in it :-) 2014-07-26 00:47:28 +00:00
common_sym_whitelist.txt common syms: whitelist bison-generated common symbols 2016-01-16 03:53:14 -08:00
configure.m4 openib btl: remove BTL_OPENIB_FAILOVER_ENABLED code 2016-11-01 14:45:36 -07:00
help-mpi-btl-openib.txt btl/openib: only look for iwarp/roce by default 2018-07-17 19:11:37 -06:00
Makefile.am mca: Dynamic components link against project lib 2017-08-24 11:56:16 -04:00
mca-btl-openib-device-params.ini Add support for different Broadcom HCAs 2018-09-12 02:22:34 -07:00
owner.txt ownership: update ownership files 2015-06-25 10:04:42 -06:00