From patchwork Sat Mar 9 13:26:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 2241591 X-Patchwork-Delegate: hal@mellanox.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id EC3173FCF2 for ; Sat, 9 Mar 2013 13:27:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932464Ab3CIN1D (ORCPT ); Sat, 9 Mar 2013 08:27:03 -0500 Received: from mail-wi0-f171.google.com ([209.85.212.171]:35881 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932460Ab3CIN1B (ORCPT ); Sat, 9 Mar 2013 08:27:01 -0500 Received: by mail-wi0-f171.google.com with SMTP id hn17so200412wib.4 for ; Sat, 09 Mar 2013 05:27:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:content-type:content-transfer-encoding:x-gm-message-state; bh=SEx5Ab8034mkHufH7ZvYY2hopDUYy+2t7X/siIqx4sw=; b=Y7qW06vgnHM8cy4qVFC9mYUea7bFjEK1tvCVkl19pC9+taTj9ZBRnTJ1voW8PwO7uD J6qmxXfUNlUF/77beJ2ik9qtrH+G0f0mf4U6W7zzVk1JV0Q+70FNtInVwPH54nRadIs0 AUyhM40eIsT2R+9Yphupc3jEgmw1JVhEDMkj4xcqNiOwCexBtHk0PskYsqF2L0jW++/D A/YDbsTDmzw7EsuAVFZMpjjvA2Yol+efkFVMubjlbmkTss5FLJ9NsSFkzwwBv4x28ojS UTddL9FIeDunBExMy764x1dccq0HnLWRjKoRN0agEx+dbN6H2ZMngj7OxzHezZu+vuYE SSdg== X-Received: by 10.180.81.2 with SMTP id v2mr3664296wix.17.1362835620167; Sat, 09 Mar 2013 05:27:00 -0800 (PST) Received: from [192.168.1.102] (c-71-234-225-85.hsd1.ct.comcast.net. [71.234.225.85]) by mx.google.com with ESMTPS id q2sm4597982wiz.8.2013.03.09.05.26.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 09 Mar 2013 05:26:59 -0800 (PST) Message-ID: <513B38A2.8010603@dev.mellanox.co.il> Date: Sat, 09 Mar 2013 08:26:58 -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: Jim Schutt Subject: [PATCH 2/2] opensm/osm_torus.c: clarify log messages on stale priv pointers X-Gm-Message-State: ALoCoQlhLW8dNv8YPXGiu/MqvE8Ap+KSLN+muUXhQNZ/QCxNbutz/g581rEtTXd0fRL65I+gc6Ud Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org From 4eccc4b7d6e7356a39ea535480b880e95f7b2880 Mon Sep 17 00:00:00 2001 From: Jim Schutt Date: Fri, 8 Mar 2013 09:31:10 -0700 Subject: [PATCH 2/2] opensm/osm_torus.c: clarify log messages on stale priv pointers Signed-off-by: Jim Schutt --- opensm/osm_torus.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/opensm/osm_torus.c b/opensm/osm_torus.c index bc3c0b8..1d7a505 100644 --- a/opensm/osm_torus.c +++ b/opensm/osm_torus.c @@ -8071,8 +8071,8 @@ void torus_update_osm_sl2vl(void *context, osm_physp_t *osm_phys_port, guid = osm_node_get_node_guid(node); OSM_LOG(log, OSM_LOG_INFO, - "Error: osm_switch (GUID 0x%04"PRIx64") " - "not in our fabric description\n", + "Note: osm_switch (GUID 0x%04"PRIx64") " + "not in torus fabric description\n", cl_ntoh64(guid)); return; } @@ -8101,8 +8101,8 @@ void torus_update_osm_vlarb(void *context, osm_physp_t *osm_phys_port, guid = osm_node_get_node_guid(node); OSM_LOG(log, OSM_LOG_INFO, - "Error: osm_switch (GUID 0x%04"PRIx64") " - "not in our fabric description\n", + "Note: osm_switch (GUID 0x%04"PRIx64") " + "not in torus fabric description\n", cl_ntoh64(guid)); return; } @@ -8694,7 +8694,7 @@ osm_mtree_node_t *mcast_stree_branch(struct t_switch *sw, osm_switch_t *osm_sw, if (osm_sw->priv != sw) { OSM_LOG(&sw->torus->osm->log, OSM_LOG_ERROR, "ERR 4E3E: osm_sw (GUID 0x%04"PRIx64") " - "not in our fabric description\n", + "not in torus fabric description\n", cl_ntoh64(osm_node_get_node_guid(osm_sw->p_node))); goto out; } @@ -8864,7 +8864,7 @@ ib_api_status_t torus_mcast_stree(void *context, osm_mgrp_box_t *mgb) id = osm_node_get_node_guid(osm_port->p_node); OSM_LOG(&ctx->osm->log, OSM_LOG_ERROR, "ERR 4E41: osm_port (GUID 0x%04"PRIx64") " - "not in our fabric description\n", + "not in torus fabric description\n", cl_ntoh64(id)); continue; } @@ -9201,8 +9201,8 @@ uint8_t torus_path_sl(void *context, uint8_t path_sl_hint, if (!sport) { guid = osm_node_get_node_guid(osm_sport->p_node); OSM_LOG(log, OSM_LOG_INFO, - "Error: osm_sport (GUID 0x%04"PRIx64") " - "not in our fabric description\n", + "Note: osm_sport (GUID 0x%04"PRIx64") " + "not in torus fabric description\n", cl_ntoh64(guid)); goto out; } @@ -9213,8 +9213,8 @@ uint8_t torus_path_sl(void *context, uint8_t path_sl_hint, if (!dport) { guid = osm_node_get_node_guid(osm_dport->p_node); OSM_LOG(log, OSM_LOG_INFO, - "Error: osm_dport (GUID 0x%04"PRIx64") " - "not in our fabric description\n", + "Note: osm_dport (GUID 0x%04"PRIx64") " + "not in torus fabric description\n", cl_ntoh64(guid)); goto out; }