File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -428,7 +428,6 @@ static int openib_btl_size_queues(struct mca_btl_openib_module_t* openib_btl)
428428    int  rc  =  OPAL_SUCCESS ;
429429    mca_btl_openib_device_t  * device  =  openib_btl -> device ;
430430    uint32_t  requested [BTL_OPENIB_MAX_CQ ];
431-     bool  need_resize  =  false;
432431
433432    opal_mutex_lock (& openib_btl -> ib_lock );
434433
@@ -455,7 +454,7 @@ static int openib_btl_size_queues(struct mca_btl_openib_module_t* openib_btl)
455454    for  (int  cq  =  0  ; cq  <  BTL_OPENIB_MAX_CQ  ; ++ cq ) {
456455        if  (requested [cq ] <  mca_btl_openib_component .ib_cq_size [cq ]) {
457456            requested [cq ] =  mca_btl_openib_component .ib_cq_size [cq ];
458-         } else  if  (requested [cq ] >  openib_btl -> device -> ib_dev_attr .max_cqe ) {
457+         } else  if  (requested [cq ] >  ( uint32_t )  openib_btl -> device -> ib_dev_attr .max_cqe ) {
459458            requested [cq ] =  openib_btl -> device -> ib_dev_attr .max_cqe ;
460459        }
461460
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments