[openib-general] [PATCH TRIVIAL] opensm: indentation fixes
Sasha Khapyorsky
sashak at voltaire.com
Sat Oct 28 13:06:26 PDT 2006
Some trivial indentation fixes.
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
osm/include/opensm/osm_mcm_port.h | 18 ++++++------
osm/include/opensm/osm_mtree.h | 11 +++----
osm/include/opensm/osm_multicast.h | 57 ++++++++++++++++++-----------------
3 files changed, 43 insertions(+), 43 deletions(-)
diff --git a/osm/include/opensm/osm_mcm_port.h b/osm/include/opensm/osm_mcm_port.h
index 206c248..1c68247 100644
--- a/osm/include/opensm/osm_mcm_port.h
+++ b/osm/include/opensm/osm_mcm_port.h
@@ -78,11 +78,10 @@ BEGIN_C_DECLS
*/
typedef struct _osm_mcm_port
{
- cl_map_item_t map_item;
- ib_gid_t port_gid;
- uint8_t scope_state;
- boolean_t proxy_join;
-
+ cl_map_item_t map_item;
+ ib_gid_t port_gid;
+ uint8_t scope_state;
+ boolean_t proxy_join;
} osm_mcm_port_t;
/*
* FIELDS
@@ -95,10 +94,11 @@ typedef struct _osm_mcm_port
* scope_state
* ???
*
-* proxy_join
-* If FALSE - Join was performed by the endport identified by PortGID
-* If TRUE - Join was performed on behalf of the endport identified
-* by PortGID by another port within the same partition
+* proxy_join
+* If FALSE - Join was performed by the endport identified
+* by PortGID. If TRUE - Join was performed on behalf of
+* the endport identified by PortGID by another port within
+* the same partition
*
* SEE ALSO
* MCM Port Object
diff --git a/osm/include/opensm/osm_mtree.h b/osm/include/opensm/osm_mtree.h
index 013112d..10270df 100644
--- a/osm/include/opensm/osm_mtree.h
+++ b/osm/include/opensm/osm_mtree.h
@@ -110,12 +110,11 @@ #define OSM_MTREE_LEAF ((void*)-1)
*/
typedef struct _osm_mtree_node
{
- cl_map_item_t map_item;
- osm_switch_t *p_sw;
- uint8_t max_children;
- struct _osm_mtree_node *p_up;
- struct _osm_mtree_node *child_array[1];
-
+ cl_map_item_t map_item;
+ osm_switch_t *p_sw;
+ uint8_t max_children;
+ struct _osm_mtree_node *p_up;
+ struct _osm_mtree_node *child_array[1];
} osm_mtree_node_t;
/*
* FIELDS
diff --git a/osm/include/opensm/osm_multicast.h b/osm/include/opensm/osm_multicast.h
index 44b0bb1..56970ff 100644
--- a/osm/include/opensm/osm_multicast.h
+++ b/osm/include/opensm/osm_multicast.h
@@ -162,15 +162,15 @@ typedef struct osm_mcast_mgr_ctxt
*/
typedef struct _osm_mgrp
{
- cl_map_item_t map_item;
- ib_net16_t mlid;
- osm_mtree_node_t *p_root;
- cl_qmap_t mcm_port_tbl;
- ib_member_rec_t mcmember_rec;
- boolean_t well_known;
- boolean_t to_be_deleted;
- uint32_t last_change_id;
- uint32_t last_tree_id;
+ cl_map_item_t map_item;
+ ib_net16_t mlid;
+ osm_mtree_node_t *p_root;
+ cl_qmap_t mcm_port_tbl;
+ ib_member_rec_t mcmember_rec;
+ boolean_t well_known;
+ boolean_t to_be_deleted;
+ uint32_t last_change_id;
+ uint32_t last_tree_id;
} osm_mgrp_t;
/*
* FIELDS
@@ -178,7 +178,8 @@ typedef struct _osm_mgrp
* Map Item for qmap linkage. Must be first element!!
*
* mlid
-* The network ordered LID of this Multicast Group (must be >= 0xC000).
+* The network ordered LID of this Multicast Group (must be
+* >= 0xC000).
*
* p_root
* Pointer to the root "tree node" in the single spanning tree
@@ -186,29 +187,29 @@ typedef struct _osm_mgrp
* switches. Member ports are not represented in the tree.
*
* mcm_port_tbl
-* Table (sorted by port GUID) of osm_mcm_port_t objects representing
-* the member ports of this multicast group.
+* Table (sorted by port GUID) of osm_mcm_port_t objects
+* representing the member ports of this multicast group.
*
* mcmember_rec
* Hold the parameters of the Multicast Group.
*
* well_known
-* Indicates that this is the wellknow multicast group which is created
-* during the initialization of SM/SA and will be present even if
-* there are no ports for this group
-*
-* to_be_deleted
-* Since groups are deleted only after re-route we need to track the
-* fact the group is about to be deleted so we can track the fact a
-* new join is actually a create request.
-*
-* last_change_id
-* a counter for the number of changes applied to the group.
-* this counter shuold be incremented on any modification to the group:
-* joining or leaving of ports.
-*
-* last_tree_id
-* the last change id used for building the current tree.
+* Indicates that this is the wellknow multicast group which
+* is created during the initialization of SM/SA and will be
+* present even if there are no ports for this group
+*
+* to_be_deleted
+* Since groups are deleted only after re-route we need to
+* track the fact the group is about to be deleted so we can
+* track the fact a new join is actually a create request.
+*
+* last_change_id
+* a counter for the number of changes applied to the group.
+* This counter shuold be incremented on any modification
+* to the group: joining or leaving of ports.
+*
+* last_tree_id
+* the last change id used for building the current tree.
*
* SEE ALSO
*********/
--
1.4.3.2.g4bf7
More information about the general
mailing list