Hi Roland,
could it be that
libibverbs/src/init.c:271 *list[num_devices++]
actually should be a (*list)[num_devices++]
for num_devices>1 ?

I personally can't follow anymore when I see a ***list,
but my system here thinks that
&(*list[num_devices++]) for num_devices=0 is 0x10017c10
&(*list[num_devices++]) for num_devices=1 is (nil)

&((*list)[num_devices++]) for num_devices=0 is 0x10017c10
&((*list)[num_devices++]) for num_devices=1 is 0x10017c18
To me the second one looks better...

If you just have one IB adapter you won't see a difference...

Gruss / Regards . . . Christoph R.

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to