From patchwork Mon Nov 16 18:42:22 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 60468 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nAGIjiuF022525 for ; Mon, 16 Nov 2009 18:45:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753551AbZKPSpi (ORCPT ); Mon, 16 Nov 2009 13:45:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753514AbZKPSph (ORCPT ); Mon, 16 Nov 2009 13:45:37 -0500 Received: from qmta09.westchester.pa.mail.comcast.net ([76.96.62.96]:42556 "EHLO QMTA09.westchester.pa.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753551AbZKPSpg (ORCPT ); Mon, 16 Nov 2009 13:45:36 -0500 Received: from OMTA21.westchester.pa.mail.comcast.net ([76.96.62.72]) by QMTA09.westchester.pa.mail.comcast.net with comcast id 5p211d0041ZXKqc59ulivC; Mon, 16 Nov 2009 18:45:42 +0000 Received: from hal.comcast.net ([75.69.247.31]) by OMTA21.westchester.pa.mail.comcast.net with comcast id 5utP1d0030hNrtn3hutPBG; Mon, 16 Nov 2009 18:53:23 +0000 Received: from hal.comcast.net (localhost.localdomain [127.0.0.1]) by hal.comcast.net (8.14.3/8.14.3) with ESMTP id nAGIhvaP002461; Mon, 16 Nov 2009 13:44:03 -0500 Received: (from hnrose@localhost) by hal.comcast.net (8.14.3/8.14.3/Submit) id nAGIgNHF002421; Mon, 16 Nov 2009 13:42:23 -0500 Date: Mon, 16 Nov 2009 13:42:22 -0500 From: Hal Rosenstock To: sashak@voltaire.com Cc: linux-rdma@vger.kernel.org Subject: [PATCH] opensm/osm_ucast_ftree.c: Cosmetic commentary changes Message-ID: <20091116184222.GA2417@comcast.net> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/opensm/opensm/osm_ucast_ftree.c b/opensm/opensm/osm_ucast_ftree.c index 1b1da19..76b1d6a 100644 --- a/opensm/opensm/osm_ucast_ftree.c +++ b/opensm/opensm/osm_ucast_ftree.c @@ -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.