]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[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@284 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

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

index 541ee0364748e095714cdfb86f6bcbbbd03392ea..1fadacbc0976236572bc15b2c3320aaa763ee6cb 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 e985b82addf2cf987d59e151d0b58f5c8637dc07..4b26a1896b22a8532c779464887d73c09b05f7c6 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 22b3a5346fa8bb2cf53f9bf96bc8b7977c23f088..282b1c0d1fb75721729ed1722e2d5dab0f999769 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 45e84c928f19b83843e1fd0f08d38346e12e2e2c..f7033591a3aab9278cd5307d3575e5ba4daf3566 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 7456999f2a84ea5e963969d7eebd01d85b8a7406..7f9befef985f439a3e6aad12a886d3290cc9cf19 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 f03fe571b28b0f34d5b62e12200b5a228b73d95a..86401696841126774f52f3faf59d1d43e2d4f2da 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 )
     {