[OpenSM] - cosmetic changes
authoreitan <eitan@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 4 Apr 2006 09:00:49 +0000 (09:00 +0000)
committereitan <eitan@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 4 Apr 2006 09:00:49 +0000 (09:00 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@284 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/opensm/user/include/opensm/osm_sa_path_record_ctrl.h
ulp/opensm/user/include/vendor/osm_vendor_sa_api.h
ulp/opensm/user/opensm/osm_lid_mgr.c
ulp/opensm/user/opensm/osm_port.c
ulp/opensm/user/opensm/osm_sa_mcmember_record.c
ulp/opensm/user/osmtest/osmtest.c

index 541ee03..1fadacb 100644 (file)
@@ -249,7 +249,7 @@ boolean_t osm_pr_rcv_ctrl_is_inited(
 *
 * NOTES
 *      The osm_pr_rcv_ctrl_construct or osm_pr_rcv_ctrl_init must be
-*      called before using     this function.
+*      called before using this function.
 *
 * SEE ALSO
 *      Path Record Receive Controller object, osm_pr_rcv_ctrl_construct,
index e985b82..4b26a18 100644 (file)
@@ -719,13 +719,13 @@ osmv_bind_sa(
 /*
 * PARAMETERS
 *   p_vend
-*        [in] an osm_vendor object to work with
+*      [in] an osm_vendor object to work with
 *
 *   p_mad_pool
-*    [in] mad pool to obtain madw from
+*      [in] mad pool to obtain madw from
 *
 *   port_guid
-*    [in] the port guid to attach to.
+*      [in] the port guid to attach to.
 *   
 * RETURN VALUE
 *      Bind handle to be used for later SA queries or OSM_BIND_INVALID_HANDLE
@@ -754,11 +754,11 @@ osmv_query_sa(
 /*
 * PARAMETERS
 *   h_bind
-*              [in] bind handle for this port. Should be previously 
-*          obtained by calling osmv_bind_sa
+*      [in] bind handle for this port. Should be previously 
+*       obtained by calling osmv_bind_sa
 *
 *   p_query_req
-*     [in] an SA query request structure.
+*      [in] an SA query request structure.
 *   
 * RETURN VALUE
 *      IB_SUCCESS if completed successfuly (or in ASYNC mode 
index 22b3a53..282b1c0 100644 (file)
@@ -926,8 +926,8 @@ __osm_lid_mgr_set_remote_pi_state_to_init(
     p_pi = osm_physp_get_port_info_ptr( p_rem_physp );
     /* but in some rare cases the remote side might be irresponsive  */
     if (p_pi)
-  ib_port_info_set_port_state( p_pi, IB_LINK_INIT );
-}
+      ib_port_info_set_port_state( p_pi, IB_LINK_INIT );
+  }
 }
 
 /**********************************************************************
index 45e84c9..f703359 100644 (file)
@@ -891,5 +891,5 @@ osm_physp_set_pkey_tbl(
     return;
   }
   
- osm_pkey_tbl_set( &p_physp->pkeys, block_num, p_pkey_tbl);
 osm_pkey_tbl_set( &p_physp->pkeys, block_num, p_pkey_tbl);
 }
index 7456999..7f9befe 100644 (file)
@@ -1950,7 +1950,7 @@ __osm_sa_mcm_by_comp_mask_cb(
      the group - exit. */
   if (! osm_physp_has_pkey( p_rcv->p_log, p_mgrp->mcmember_rec.pkey,
                             p_req_physp ))
-      goto Exit;
+    goto Exit;
 
   /* now do the rest of the match */
   if ((IB_MCR_COMPMASK_QKEY & comp_mask) &&
@@ -2074,13 +2074,13 @@ __osm_sa_mcm_by_comp_mask_cb(
         (scope_state_mask & scope_state))
       goto Exit;
 
-  /* add to the list */
-  match_rec = p_mgrp->mcmember_rec;
-  match_rec.scope_state = scope_state;
+    /* add to the list */
+    match_rec = p_mgrp->mcmember_rec;
+    match_rec.scope_state = scope_state;
     cl_memcpy(&(match_rec.port_gid), &port_gid, sizeof(ib_gid_t));
     match_rec.proxy_join = (uint8_t)proxy_join;
 
-  __osm_mcmr_rcv_new_mcmr(p_rcv, &match_rec, p_ctxt->p_list);
+    __osm_mcmr_rcv_new_mcmr(p_rcv, &match_rec, p_ctxt->p_list);
   }
 
  Exit:
index f03fe57..8640169 100644 (file)
@@ -691,7 +691,7 @@ osmtest_validate_sa_class_port_info( IN osmtest_t * const p_osmt)
     {
       osm_log( &p_osmt->log, OSM_LOG_VERBOSE,
                "osmtest_validate_sa_class_port_info: "
-               "Getting Class Port Info\n");
+               "Getting ClassPortInfo\n");
     }
 
   /*
@@ -979,7 +979,7 @@ osmtest_get_path_rec_by_guid_pair( IN osmtest_t * const p_osmt,
   osm_log( &p_osmt->log, OSM_LOG_VERBOSE,
            "osmtest_get_path_rec_by_guid_pair: "
            "Query for path from 0x%" PRIx64 " to 0x%" PRIx64"\n",
-           sguid,dguid );
+           sguid, dguid );
   status = osmv_query_sa( p_osmt->h_bind, &req );
   if( status != IB_SUCCESS )
     {