[openib-general] [PATCH TRIVIAL] opensm: trivial indentation fixes

Sasha Khapyorsky sashak at voltaire.com
Mon Nov 6 16:34:10 PST 2006


Trivial indentation fixes in osm_inform.h and osm_service.h.

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
 osm/include/opensm/osm_inform.h  |   55 ++++++++++++++++++++++----------------
 osm/include/opensm/osm_service.h |   11 +++----
 2 files changed, 37 insertions(+), 29 deletions(-)

diff --git a/osm/include/opensm/osm_inform.h b/osm/include/opensm/osm_inform.h
index cdce214..ab78aa1 100644
--- a/osm/include/opensm/osm_inform.h
+++ b/osm/include/opensm/osm_inform.h
@@ -78,7 +78,7 @@ BEGIN_C_DECLS
 * DESCRIPTION
 *	The Inform record encapsulates the information needed by the
 *	SA to manage InformInfo registrations and sending Reports(Notice)
-*  when SM receives Traps for registered LIDs.  
+*	when SM receives Traps for registered LIDs.
 *
 *	The inform records is not thread safe, thus callers must provide
 *	serialization.
@@ -105,18 +105,27 @@ BEGIN_C_DECLS
 */
 typedef struct _osm_infr_t
 {
-  cl_list_item_t		list_item;
-  osm_bind_handle_t		h_bind;     // a handle of lower level mad srvc
-  osm_infr_rcv_t*		p_infr_rcv; // the receiver of inform_info's
-  osm_mad_addr_t		report_addr;
-  ib_inform_info_record_t	inform_record;
+	cl_list_item_t		list_item;
+	osm_bind_handle_t	h_bind;
+	osm_infr_rcv_t*		p_infr_rcv;
+	osm_mad_addr_t		report_addr;
+	ib_inform_info_record_t	inform_record;
 } osm_infr_t;
 /*
 * FIELDS
 *	list_item
 *		List Item for qlist linkage.  Must be first element!!
 *
-*  inform_record
+*	h_bind
+*		A handle of lower level mad srvc
+*
+*	p_infr_rcv
+*		The receiver of inform_info's
+*
+*	report_addr
+*		Report address
+*
+*	inform_record
 *		The Inform Info Record
 *
 * SEE ALSO
@@ -234,14 +243,14 @@ osm_infr_get_by_rid(
 *	p_subn 
 *		[in] Pointer to the subnet object
 *
-*  p_log
-*     [in] Pointer to the log object
+*	p_log
+*		[in] Pointer to the log object
 *
-*  p_inf_rec
-*     [in] Pointer to an inform_info record with the search RID
+*	p_inf_rec
+*		[in] Pointer to an inform_info record with the search RID
 *
-*  RETURN
-*     The matching osm_infr_t
+* RETURN
+*	The matching osm_infr_t
 * SEE ALSO
 *	Inform Record, osm_infr_construct, osm_infr_destroy
 *********/
@@ -265,14 +274,14 @@ osm_infr_get_by_rec(
 *	p_subn 
 *		[in] Pointer to the subnet object
 *
-*  p_log
-*     [in] Pointer to the log object
+*	p_log
+*		[in] Pointer to the log object
 *
-*  p_inf_rec
-*     [in] Pointer to an inform_info record 
+*	p_inf_rec
+*		[in] Pointer to an inform_info record
 *
-*  RETURN
-*     The matching osm_infr_t
+* RETURN
+*	The matching osm_infr_t
 * SEE ALSO
 *	Inform Record, osm_infr_construct, osm_infr_destroy
 *********/
@@ -313,11 +322,11 @@ osm_report_notice(
 *	p_rcv
 *		[in] Pointer to the trap receiver
 *
-*  p_ntc
-*     [in] Pointer to a copy of the incoming trap notice attribute.
+*	p_ntc
+*		[in] Pointer to a copy of the incoming trap notice attribute.
 *
-*  RETURN
-*     IB_SUCCESS on good completion
+* RETURN
+*	IB_SUCCESS on good completion
 *
 * SEE ALSO
 *	Inform Record, osm_trap_rcv
diff --git a/osm/include/opensm/osm_service.h b/osm/include/opensm/osm_service.h
index 97fed1d..d496fd0 100644
--- a/osm/include/opensm/osm_service.h
+++ b/osm/include/opensm/osm_service.h
@@ -100,12 +100,11 @@ BEGIN_C_DECLS
 
 typedef struct _osm_svcr_t
 {
-	cl_list_item_t					list_item;
-	ib_net64_t						svc_id;
-	ib_service_record_t				service_record;
-	uint32_t						modified_time;
-	uint32_t						lease_period;
-	
+	cl_list_item_t		list_item;
+	ib_net64_t		svc_id;
+	ib_service_record_t	service_record;
+	uint32_t		modified_time;
+	uint32_t		lease_period;
 } osm_svcr_t;
 /*
 * FIELDS
-- 
1.4.3.3.g8387





More information about the general mailing list