From: Honggang Li <honli@xxxxxxxxxx> Signed-off-by: Honggang Li <honli@xxxxxxxxxx> --- include/opensm/osm_mtree.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/opensm/osm_mtree.h b/include/opensm/osm_mtree.h index 32f51790..b8307f0c 100644 --- a/include/opensm/osm_mtree.h +++ b/include/opensm/osm_mtree.h @@ -124,6 +124,7 @@ typedef struct osm_mtree_node { * child_array * Array (indexed by port number) of pointers to the * child osm_mtree_node_t objects of this tree node, if any. +* MUST BE LAST ELEMENT!!! * * SEE ALSO *********/ @@ -258,9 +259,6 @@ static inline const osm_switch_t *osm_mtree_node_get_switch_ptr(IN const * p_mtn * [in] Pointer to the multicast tree node. * -* child -* [in] Index of the child to retrieve. -* * RETURN VALUES * Returns a pointer to the switch object represented by this tree node. * -- 2.14.4