From patchwork Thu Oct 17 11:10:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Schubert X-Patchwork-Id: 3060261 X-Patchwork-Delegate: hal@mellanox.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 93B469F243 for ; Thu, 17 Oct 2013 11:21:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F4029202E6 for ; Thu, 17 Oct 2013 11:21:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5F46E201E9 for ; Thu, 17 Oct 2013 11:21:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754808Ab3JQLV3 (ORCPT ); Thu, 17 Oct 2013 07:21:29 -0400 Received: from mailgw1.uni-kl.de ([131.246.120.220]:49366 "EHLO mailgw1.uni-kl.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753464Ab3JQLV2 (ORCPT ); Thu, 17 Oct 2013 07:21:28 -0400 X-Greylist: delayed 643 seconds by postgrey-1.27 at vger.kernel.org; Thu, 17 Oct 2013 07:21:28 EDT Received: from itwm2.itwm.fhg.de (itwm2.itwm.fhg.de [131.246.191.3]) by mailgw1.uni-kl.de (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9HBAjLZ012379 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Thu, 17 Oct 2013 13:10:45 +0200 Received: from mail1.itwm.fhg.de ([131.246.191.78]:36798) by itwm2.itwm.fhg.de with esmtps (TLSv1:DES-CBC3-SHA:168) (/C=DE/ST=Rheinland-Pfalz/L=Kaiserslautern/O=Fraunhofer ITWM/OU=SLG/CN=mail1.itwm.fhg.de)(verified=1) (Exim 4.74 #1) id 1VWlTZ-0006D2-Lp; Thu, 17 Oct 2013 13:10:45 +0200 Subject: [PATCH opensm 1/2] reduce log level for missing partition configuration file. To: linux-rdma@vger.kernel.org From: Bernd Schubert Cc: hal@dev.mellanox.co.il Date: Thu, 17 Oct 2013 13:10:46 +0200 Message-ID: <20131017111046.177713.86458.stgit@fsdevel2> In-Reply-To: <20131017111041.177713.61634.stgit@fsdevel2> References: <20131017111041.177713.61634.stgit@fsdevel2> User-Agent: StGit/0.15 MIME-Version: 1.0 X-ITWM-CharSet: utf-8 X-ITWM-Scanned-By: mail1.itwm.fhg.de Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 A missing non-mandatory file is not an error. Signed-off-by: Bernd Schubert --- opensm/osm_prtn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/opensm/osm_prtn.c b/opensm/osm_prtn.c index 24a1fe3..e76e2e1 100644 --- a/opensm/osm_prtn.c +++ b/opensm/osm_prtn.c @@ -383,7 +383,7 @@ ib_api_status_t osm_prtn_make_partitions(osm_log_t * p_log, osm_subn_t * p_subn) file_name = p_subn->opt.partition_config_file ? p_subn->opt.partition_config_file : OSM_DEFAULT_PARTITION_CONFIG_FILE; if (stat(file_name, &statbuf)) { - OSM_LOG(p_log, OSM_LOG_ERROR, "Partition configuration " + OSM_LOG(p_log, OSM_LOG_VERBOSE, "Partition configuration " "%s is not accessible (%s)\n", file_name, strerror(errno)); is_config = FALSE;