Skip to contentSkip to conversation

opensm/osm_ucast_ftree.c: Cosmetic commentary changes

PATCH Applied Hal Rosenstock 2 participants 2 messages Nov 16, 2009 – Nov 26, 2009 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opensm/osm_ucast_ftree.c: Cosmetic commentary changes

Make routine names in comments consistent with actual (changed) names

---

opensm/opensm/osm_ucast_ftree.c +3 -3
index 1b1da19..76b1d6a 100644
@@ -1975,7 +1975,7 @@ static inline int port_group_compare_load_down(const ftree_port_group_t * p1,
  * as it is much faster.
  *
  * Important note:
- * This function and __osm_ftree_bubble_sort_down must NOT be factorized.
+ * This function and bubble_sort_down must NOT be factorized.
  * Although most of the code is the same and a function pointer could be used
  * for the compareason function, it would prevent the compareason function to be inlined
  * and cost a great deal to performances.
@@ -2047,13 +2047,13 @@ bubble_sort_siblings(ftree_port_group_t ** p_group_array, uint32_t nmemb)
 
 /*
  * Function: Sorts an array of port group. Order is decide through
- * __osm_ftree_port_group_compare_load_down ( up counters, least load remote switch, biggest GUID)
+ * port_group_compare_load_down ( up counters, least load remote switch, biggest GUID)
  * Given   : A port group array and its length. Each port group points to a remote switch (not a HCA)
  * As the list is mostly sorted, we used a bubble sort instead of qsort
  * as it is much faster.
  *
  * Important note:
- * This function and __osm_ftree_bubble_sort_up must NOT be factorized.
+ * This function and bubble_sort_up must NOT be factorized.
  * Although most of the code is the same and a function pointer could be used
  * for the compareason function, it would prevent the compareason function to be inlined
  * and cost a great deal to performances.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]