diff options
| author | Michael Brown | 2017-03-22 09:47:46 +0100 |
|---|---|---|
| committer | Michael Brown | 2017-03-22 10:18:02 +0100 |
| commit | 39ef530088859ccbbcf29bf6af2cf9f0307dc476 (patch) | |
| tree | 1f90063aa65d6fa2065bdb7f430aebf70623856e /src/drivers/net/intel.h | |
| parent | [build] Avoid confusing sparse in single-argument DBG() macros (diff) | |
| download | ipxe-39ef530088859ccbbcf29bf6af2cf9f0307dc476.tar.gz ipxe-39ef530088859ccbbcf29bf6af2cf9f0307dc476.tar.xz ipxe-39ef530088859ccbbcf29bf6af2cf9f0307dc476.zip | |
[infiniband] Return status code from ib_create_cq() and ib_create_qp()
Any underlying errors arising during ib_create_cq() or ib_create_qp()
are lost since the functions simply return NULL on error. This makes
debugging harder, since a debug-enabled build is required to discover
the root cause of the error.
Fix by returning a status code from these functions, thereby allowing
any underlying errors to be propagated.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/intel.h')
0 files changed, 0 insertions, 0 deletions
