[infiniband] Return status code from ib_create_mi()

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2017-03-22 10:57:06 +02:00
parent 39ef530088
commit c26c1fd07c
3 changed files with 19 additions and 16 deletions

View File

@@ -127,8 +127,9 @@ ib_create_madx ( struct ib_device *ibdev, struct ib_mad_interface *mi,
extern void ib_destroy_madx ( struct ib_device *ibdev,
struct ib_mad_interface *mi,
struct ib_mad_transaction *madx );
extern struct ib_mad_interface * ib_create_mi ( struct ib_device *ibdev,
enum ib_queue_pair_type type );
extern int ib_create_mi ( struct ib_device *ibdev,
enum ib_queue_pair_type type,
struct ib_mad_interface **new_mi );
extern void ib_destroy_mi ( struct ib_device *ibdev,
struct ib_mad_interface *mi );