linux-rdma / opensm

Other
66 stars 36 forks source link

Minor fixes #12

Closed nmorey closed 5 years ago

nmorey commented 5 years ago

Fixes GCC warning when building with Wall/Wextra

hnrose commented 5 years ago

I've manually merged (and tested) these patches with the exception of the libvendor one to fix type of array passed to libibumad (due to rdma-core change 96db7b90 (Bart Van Assche 2017-03-10 14:52:27 -0800 178) int umad_get_ca_portguids(const char ca_name, __be64 portguids, int max)). I will deal with this one separately in a little while.

nmorey commented 5 years ago

Ok thanks.

I saw the warning about osmtest_get_node_rec but was not sure if it should be dropped or not

hnrose commented 5 years ago

Just pushed libvendor patch to fix type of array passed to libibumad. I made a minor modification (to add include file) so that it will build with either rdma-core versions of libibumad or older ones with warning now shifted to older libibumad versions. So I am closing this PR.

hnrose commented 5 years ago

Manually merged