From patchwork Wed Oct 14 20:01:24 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 53827 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 n9EKDAki008731 for ; Wed, 14 Oct 2009 20:13:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933032AbZJNUBg (ORCPT ); Wed, 14 Oct 2009 16:01:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933291AbZJNUBg (ORCPT ); Wed, 14 Oct 2009 16:01:36 -0400 Received: from qmta14.westchester.pa.mail.comcast.net ([76.96.59.212]:54361 "EHLO QMTA14.westchester.pa.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933032AbZJNUBf (ORCPT ); Wed, 14 Oct 2009 16:01:35 -0400 Received: from OMTA20.westchester.pa.mail.comcast.net ([76.96.62.71]) by QMTA14.westchester.pa.mail.comcast.net with comcast id scgF1c00M1YDfWL5Ek0ziW; Wed, 14 Oct 2009 20:00:59 +0000 Received: from hal.comcast.net ([75.69.247.31]) by OMTA20.westchester.pa.mail.comcast.net with comcast id sk5o1c00G0hNrtn3gk5p5n; Wed, 14 Oct 2009 20:05:49 +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 n9EK1kds018553; Wed, 14 Oct 2009 16:01:50 -0400 Received: (from hnrose@localhost) by hal.comcast.net (8.14.3/8.14.3/Submit) id n9EK1O3p018522; Wed, 14 Oct 2009 16:01:24 -0400 Date: Wed, 14 Oct 2009 16:01:24 -0400 From: Hal Rosenstock To: sashak@voltaire.com Cc: linux-rdma@vger.kernel.org Subject: [PATCH] opensm/osm_mcast_mgr.c: Cosmetic changes Message-ID: <20091014200124.GA18516@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_mcast_mgr.c b/opensm/opensm/osm_mcast_mgr.c index 77e0b94..0ee689c 100644 --- a/opensm/opensm/osm_mcast_mgr.c +++ b/opensm/opensm/osm_mcast_mgr.c @@ -351,7 +351,7 @@ static int mcast_mgr_set_mft_block(osm_sm_t * sm, IN osm_switch_t * p_sw, /********************************************************************** This is part of the recursive function to compute the paths in the - spanning tree that eminate from this switch. On input, the p_list + spanning tree that emanate from this switch. On input, the p_list contains the group members that must be routed from this switch. **********************************************************************/ static void mcast_mgr_subdivide(osm_sm_t * sm, osm_mgrp_t * p_mgrp, @@ -368,7 +368,7 @@ static void mcast_mgr_subdivide(osm_sm_t * sm, osm_mgrp_t * p_mgrp, mlid_ho = cl_ntoh16(osm_mgrp_get_mlid(p_mgrp)); /* - For Multicast Groups, we want not to count on previous + For Multicast Groups, we don't want to count on previous configurations - since we can easily generate a storm by loops. */ @@ -396,8 +396,8 @@ static void mcast_mgr_subdivide(osm_sm_t * sm, osm_mgrp_t * p_mgrp, OSM_LOG(sm->p_log, OSM_LOG_ERROR, "ERR 0A03: " "Error routing MLID 0x%X through switch 0x%" PRIx64 "\n" - "\t\t\t\tNo multicast paths from this switch for port " - "with LID %u\n", mlid_ho, node_guid_ho, + "\t\t\t\tNo multicast paths from this switch " + "for port with LID %u\n", mlid_ho, node_guid_ho, cl_ntoh16(osm_port_get_base_lid (p_wobj->p_port))); @@ -411,8 +411,8 @@ static void mcast_mgr_subdivide(osm_sm_t * sm, osm_mgrp_t * p_mgrp, OSM_LOG(sm->p_log, OSM_LOG_ERROR, "ERR 0A04: " "Error routing MLID 0x%X through switch 0x%" PRIx64 "\n" - "\t\t\t\tNo multicast paths from this switch to port " - "with LID %u\n", mlid_ho, node_guid_ho, + "\t\t\t\tNo multicast paths from this switch " + "to port with LID %u\n", mlid_ho, node_guid_ho, cl_ntoh16(osm_port_get_base_lid (p_wobj->p_port))); @@ -613,8 +613,8 @@ static osm_mtree_node_t *mcast_mgr_branch(osm_sm_t * sm, osm_mgrp_t * p_mgrp, osm_mcast_tbl_set(p_tbl, mlid_ho, i); if (i == 0) { /* This means we are adding the switch to the MC group. - We do not need to continue looking at the remote port, just - needed to add the port to the table */ + We do not need to continue looking at the remote + port, just needed to add the port to the table */ CL_ASSERT(count == 1); p_wobj = (osm_mcast_work_obj_t *)