From: eitan Date: Tue, 4 Apr 2006 09:00:49 +0000 (+0000) Subject: [OpenSM] - cosmetic changes X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=b71d5068f0c3affa770be95ea9b9ae8da201c085;p=~shefty%2Frdma-win.git [OpenSM] - cosmetic changes git-svn-id: svn://openib.tc.cornell.edu/gen1@284 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- diff --git a/trunk/ulp/opensm/user/include/opensm/osm_sa_path_record_ctrl.h b/trunk/ulp/opensm/user/include/opensm/osm_sa_path_record_ctrl.h index 541ee036..1fadacbc 100644 --- a/trunk/ulp/opensm/user/include/opensm/osm_sa_path_record_ctrl.h +++ b/trunk/ulp/opensm/user/include/opensm/osm_sa_path_record_ctrl.h @@ -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, diff --git a/trunk/ulp/opensm/user/include/vendor/osm_vendor_sa_api.h b/trunk/ulp/opensm/user/include/vendor/osm_vendor_sa_api.h index e985b82a..4b26a189 100644 --- a/trunk/ulp/opensm/user/include/vendor/osm_vendor_sa_api.h +++ b/trunk/ulp/opensm/user/include/vendor/osm_vendor_sa_api.h @@ -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 diff --git a/trunk/ulp/opensm/user/opensm/osm_lid_mgr.c b/trunk/ulp/opensm/user/opensm/osm_lid_mgr.c index 22b3a534..282b1c0d 100644 --- a/trunk/ulp/opensm/user/opensm/osm_lid_mgr.c +++ b/trunk/ulp/opensm/user/opensm/osm_lid_mgr.c @@ -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 ); + } } /********************************************************************** diff --git a/trunk/ulp/opensm/user/opensm/osm_port.c b/trunk/ulp/opensm/user/opensm/osm_port.c index 45e84c92..f7033591 100644 --- a/trunk/ulp/opensm/user/opensm/osm_port.c +++ b/trunk/ulp/opensm/user/opensm/osm_port.c @@ -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); } diff --git a/trunk/ulp/opensm/user/opensm/osm_sa_mcmember_record.c b/trunk/ulp/opensm/user/opensm/osm_sa_mcmember_record.c index 7456999f..7f9befef 100644 --- a/trunk/ulp/opensm/user/opensm/osm_sa_mcmember_record.c +++ b/trunk/ulp/opensm/user/opensm/osm_sa_mcmember_record.c @@ -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: diff --git a/trunk/ulp/opensm/user/osmtest/osmtest.c b/trunk/ulp/opensm/user/osmtest/osmtest.c index f03fe571..86401696 100644 --- a/trunk/ulp/opensm/user/osmtest/osmtest.c +++ b/trunk/ulp/opensm/user/osmtest/osmtest.c @@ -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 ) {