Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Gleb Natapov (glebn_at_[hidden])
Date: 2005-08-07 05:32:28


Hello Galen,

Included patch changes type of returned value from ibv_poll_cq.
It should be signed because we check if it is less then zero later
in the code.

Index: ompi/mca/btl/openib/btl_openib_component.c
===================================================================
--- ompi/mca/btl/openib/btl_openib_component.c (revision 6757)
+++ ompi/mca/btl/openib/btl_openib_component.c (working copy)
@@ -492,8 +492,8 @@ mca_btl_base_module_t** mca_btl_openib_c
 
 int mca_btl_openib_component_progress()
 {
- uint32_t i, ne;
- int count = 0;
+ uint32_t i;
+ int count = 0, ne;
     mca_btl_openib_frag_t* frag;
     mca_btl_openib_endpoint_t* endpoint;
     /* Poll for completions */

--
			Gleb.