From patchwork Wed Jun 2 13:02:54 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 103805 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o52D6WlU014076 for ; Wed, 2 Jun 2010 13:06:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757940Ab0FBNGb (ORCPT ); Wed, 2 Jun 2010 09:06:31 -0400 Received: from qmta03.westchester.pa.mail.comcast.net ([76.96.62.32]:48938 "EHLO qmta03.westchester.pa.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751759Ab0FBNGa (ORCPT ); Wed, 2 Jun 2010 09:06:30 -0400 Received: from omta19.westchester.pa.mail.comcast.net ([76.96.62.98]) by qmta03.westchester.pa.mail.comcast.net with comcast id Qyq21e00127AodY5316WJS; Wed, 02 Jun 2010 13:06:30 +0000 Received: from hal.comcast.net ([75.69.247.31]) by omta19.westchester.pa.mail.comcast.net with comcast id R16W1e00C0hNrtn3f16W5z; Wed, 02 Jun 2010 13:06:30 +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 o52D8iqS004762; Wed, 2 Jun 2010 09:08:50 -0400 Received: (from hnrose@localhost) by hal.comcast.net (8.14.3/8.14.3/Submit) id o52D2sag004722; Wed, 2 Jun 2010 09:02:54 -0400 Date: Wed, 2 Jun 2010 09:02:54 -0400 From: Hal Rosenstock To: sashak@voltaire.com Cc: weiny2@llnl.gov, linux-rdma@vger.kernel.org Subject: [PATCH 1/2] infiniband-diags/libibnetdisc/chassis.c: In group_nodes, pass on all nodes Message-ID: <20100602130254.GA4715@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 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 02 Jun 2010 13:06:32 +0000 (UTC) diff --git a/infiniband-diags/libibnetdisc/src/chassis.c b/infiniband-diags/libibnetdisc/src/chassis.c index cd2113f..f5f683e 100644 --- a/infiniband-diags/libibnetdisc/src/chassis.c +++ b/infiniband-diags/libibnetdisc/src/chassis.c @@ -1059,7 +1059,7 @@ int group_nodes(ibnd_fabric_t * fabric) /* now make pass on nodes for chassis which are not Voltaire */ /* grouped by common SystemImageGUID */ - for (node = fabric->switches; node; node = node->type_next) { + for (node = fabric->nodes; node; node = node->next) { if (mad_get_field(node->info, 0, IB_NODE_VENDORID_F) == VTR_VENDOR_ID) continue;