From patchwork Mon Dec 2 15:04:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 3265841 X-Patchwork-Delegate: hal@mellanox.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 97074BEEAD for ; Mon, 2 Dec 2013 15:04:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 09A61202F2 for ; Mon, 2 Dec 2013 15:04:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4D7372022A for ; Mon, 2 Dec 2013 15:04:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751532Ab3LBPE0 (ORCPT ); Mon, 2 Dec 2013 10:04:26 -0500 Received: from mail-ea0-f174.google.com ([209.85.215.174]:65487 "EHLO mail-ea0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751819Ab3LBPEZ (ORCPT ); Mon, 2 Dec 2013 10:04:25 -0500 Received: by mail-ea0-f174.google.com with SMTP id b10so8994922eae.5 for ; Mon, 02 Dec 2013 07:04:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:content-type:content-transfer-encoding; bh=ZD3U0vZopps4aZTHhv15jpr0MG7CjKdJUmFO2YVx2io=; b=F1btUUYOKPjyZZ67MSE4E5j9D13gPEVU8TQGyBcywgvoYrdZU5cNyDXFd00TlY2cO9 hJ6Dn9UzfX73sXZYqAaZnkj+8m6Y4EyvA/M/7sL19BdWNBtkjAD8rBiAZPvPk1Gc8sWk 1DQhdeXDslVqDRLvyraT1Ehmzd9WDPHtw+qY/JiECe/PNP8Gvr/MEsQ/SV5QQBTnp4C4 KausqcDYhD90pdMeDV5AQrYnpiHcbVzn16JQqPHswnFAQRma5af+quiZxf6AArHeZiwy PY/gva2zpz4IclWpMJBME5msUi87bWxUVz841styK9bmjB6c9S3+7DVl+t54puZI6jmo /qdw== X-Gm-Message-State: ALoCoQnm0tDTUrHtEMO6WGwWOfLklVNt/drTf4eRSiC3FCs48fKqecgfiYZyYTTRYngiU2p7UScR X-Received: by 10.14.179.130 with SMTP id h2mr34263812eem.34.1385996664291; Mon, 02 Dec 2013 07:04:24 -0800 (PST) Received: from [192.168.1.102] (c-98-229-118-119.hsd1.ma.comcast.net. [98.229.118.119]) by mx.google.com with ESMTPSA id m1sm66060619eeg.0.2013.12.02.07.04.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Dec 2013 07:04:23 -0800 (PST) Message-ID: <529CA16D.3070507@dev.mellanox.co.il> Date: Mon, 02 Dec 2013 10:04:13 -0500 From: Hal Rosenstock User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: "linux-rdma (linux-rdma@vger.kernel.org)" CC: Daniel Klein Subject: [PATCH] osm_mcast_mgr.c: fixed missing error message number Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Daniel Klein Added number to error message on osm_mcast_mgr.c\mcast_mgr_branch when multicast tree depth is more than 64. Signed-off-by: Daniel Klein Signed-off-by: Hal Rosenstock --- opensm/osm_mcast_mgr.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/opensm/osm_mcast_mgr.c b/opensm/osm_mcast_mgr.c index 65df552..a3c6185 100644 --- a/opensm/osm_mcast_mgr.c +++ b/opensm/osm_mcast_mgr.c @@ -811,7 +811,7 @@ static osm_mtree_node_t *mcast_mgr_branch(osm_sm_t * sm, uint16_t mlid_ho, depth++; if (depth >= 64) { - OSM_LOG(sm->p_log, OSM_LOG_ERROR, + OSM_LOG(sm->p_log, OSM_LOG_ERROR, "ERR 0A21: " "Maximal hops number is reached for MLID 0x%x." " Break processing.", mlid_ho); mcast_mgr_purge_list(sm, p_list);