From patchwork Mon Oct 5 13:36:32 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 51737 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 n95Dgheq003048 for ; Mon, 5 Oct 2009 13:42:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752067AbZJENmX (ORCPT ); Mon, 5 Oct 2009 09:42:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753240AbZJENmX (ORCPT ); Mon, 5 Oct 2009 09:42:23 -0400 Received: from qmta11.westchester.pa.mail.comcast.net ([76.96.59.211]:38593 "EHLO QMTA11.westchester.pa.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752067AbZJENmW (ORCPT ); Mon, 5 Oct 2009 09:42:22 -0400 Received: from OMTA19.westchester.pa.mail.comcast.net ([76.96.62.98]) by QMTA11.westchester.pa.mail.comcast.net with comcast id ozho1c00627AodY5B1hmao; Mon, 05 Oct 2009 13:41:46 +0000 Received: from hal.comcast.net ([75.69.247.31]) by OMTA19.westchester.pa.mail.comcast.net with comcast id p1nX1c0010hNrtn3f1nXSe; Mon, 05 Oct 2009 13:47:31 +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 n95Dchb0005924; Mon, 5 Oct 2009 09:38:48 -0400 Received: (from hnrose@localhost) by hal.comcast.net (8.14.3/8.14.3/Submit) id n95DaWjm005797; Mon, 5 Oct 2009 09:36:32 -0400 Date: Mon, 5 Oct 2009 09:36:32 -0400 From: Hal Rosenstock To: sashak@voltaire.com Cc: linux-rdma@vger.kernel.org Subject: [PATCH] opensm/osm_mcast_mgr.c: In mcast_mgr_set_mft_block, fix node GUID in log message Message-ID: <20091005133632.GA5792@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 6f51404..77e0b94 100644 --- a/opensm/opensm/osm_mcast_mgr.c +++ b/opensm/opensm/osm_mcast_mgr.c @@ -330,7 +330,7 @@ static int mcast_mgr_set_mft_block(osm_sm_t * sm, IN osm_switch_t * p_sw, OSM_LOG(sm->p_log, OSM_LOG_DEBUG, "Writing MFT block %u position %u to switch 0x%" PRIx64 "\n", block_num, position, - cl_ntoh64(context.lft_context.node_guid)); + cl_ntoh64(context.mft_context.node_guid)); status = osm_req_set(sm, p_path, (void *)block, sizeof(block), IB_MAD_ATTR_MCAST_FWD_TBL,