From patchwork Wed Oct 3 23:57:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 1543961 X-Patchwork-Delegate: alexne@voltaire.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 98A19DFF71 for ; Wed, 3 Oct 2012 23:57:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932969Ab2JCX5v (ORCPT ); Wed, 3 Oct 2012 19:57:51 -0400 Received: from mail-qa0-f53.google.com ([209.85.216.53]:58056 "EHLO mail-qa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932871Ab2JCX5u (ORCPT ); Wed, 3 Oct 2012 19:57:50 -0400 Received: by qaas11 with SMTP id s11so2037402qaa.19 for ; Wed, 03 Oct 2012 16:57:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=M50M9WW4e/3aHJCiNT94nxUTc+ELpvyvdfCwBZRZuFI=; b=e8veFn06IiXEOUGDpbqa1kMkcesroUZ76MIJqbkua7MjNvMkatDBMXAdRMT1ah736C S9WL9A5UydI01yzpGm3YKNBg8CO0JJTQ8jJcFArvzd86XKl9ziNhTJaTPApKKSTqViVf MLbumut8RPPyKrpaKMl2yL6yLP/HTtlTJByB1vCAdK8qq48Dv7EeKXHy5dmKV3rB9QLd XTRBEe6T0DsMym6PoHGgBO7xJqJMjMs9786x6N8CPuqpW/4eIdKoORDc8tPt+md4aDFW SALiqFWPIz5IABPSisreHW16iyaZMqzQUKyaL5AD6ohn4g12w9UUslDbJCNBUarTiNTv omTA== Received: by 10.224.199.2 with SMTP id eq2mr9952004qab.55.1349308669153; Wed, 03 Oct 2012 16:57:49 -0700 (PDT) Received: from [192.168.1.103] (c-71-192-10-85.hsd1.ma.comcast.net. [71.192.10.85]) by mx.google.com with ESMTPS id g18sm5726374qan.1.2012.10.03.16.57.47 (version=SSLv3 cipher=OTHER); Wed, 03 Oct 2012 16:57:48 -0700 (PDT) Message-ID: <506CD0FA.2090801@dev.mellanox.co.il> Date: Wed, 03 Oct 2012 19:57:46 -0400 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: Alex Netes CC: "linux-rdma (linux-rdma@vger.kernel.org)" Subject: [PATCH][TRIVIAL] opensm/osm_ucast_updn.c: Add error codes to a couple of log messages X-Gm-Message-State: ALoCoQlP4+rZ2TOKGUeeLehv7wJWo5IK3yijNIYcQ6MHs4rVTHqLbfaBxL4DnxDBBNM7Dc63QkO8 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Signed-off-by: Hal Rosenstock --- -- 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_ucast_updn.c b/opensm/osm_ucast_updn.c index d6877fe..f3ca4dc 100644 --- a/opensm/osm_ucast_updn.c +++ b/opensm/osm_ucast_updn.c @@ -595,7 +595,7 @@ static int updn_lid_matrices(void *ctx) ret = parse_node_map(p_updn->p_osm->subn.opt.root_guid_file, rank_root_node, p_updn); if (ret) - OSM_LOG(&p_updn->p_osm->log, OSM_LOG_ERROR, "ERR : " + OSM_LOG(&p_updn->p_osm->log, OSM_LOG_ERROR, "ERR AA02: " "cannot parse root guids file \'%s\'\n", p_updn->p_osm->subn.opt.root_guid_file); if (p_updn->p_osm->subn.opt.connect_roots && @@ -614,7 +614,7 @@ static int updn_lid_matrices(void *ctx) ret = parse_node_map(p_updn->p_osm->subn.opt.ids_guid_file, update_id, p_updn->p_osm); if (ret) - OSM_LOG(&p_updn->p_osm->log, OSM_LOG_ERROR, "ERR : " + OSM_LOG(&p_updn->p_osm->log, OSM_LOG_ERROR, "ERR AA03: " "cannot parse node ids file \'%s\'\n", p_updn->p_osm->subn.opt.ids_guid_file); }