From patchwork Wed Apr 23 15:33:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 4042571 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 008739F391 for ; Wed, 23 Apr 2014 15:33:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3CA0820211 for ; Wed, 23 Apr 2014 15:33:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 06FD3201F2 for ; Wed, 23 Apr 2014 15:33:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755923AbaDWPds (ORCPT ); Wed, 23 Apr 2014 11:33:48 -0400 Received: from mail-wg0-f44.google.com ([74.125.82.44]:37788 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754315AbaDWPdr (ORCPT ); Wed, 23 Apr 2014 11:33:47 -0400 Received: by mail-wg0-f44.google.com with SMTP id m15so1030576wgh.27 for ; Wed, 23 Apr 2014 08:33:46 -0700 (PDT) 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 :subject:content-type:content-transfer-encoding; bh=0LRTp5LdWvgkU8SjNic2Obx4RavaXs4cwUEP/Myrh/0=; b=WScWCquzb9gmq5CWf9ICXMBQ5ulBoPw+3xTOBJ4NBjigk8Yd/QcGVAqgTvI43LgNj5 T1wab4zsRIlclnmWNL5AYryUisTgE1ovNn20DQjiebxFTs8y9BMk+QESF3DDlRY6um8H Tx1S3bYzNc7ehTxrBrJVnkST3dyqGdtxetu0B3hnxEu4j/XcRowlk18M1DXom90XqcTd kkHwW9B5O6yY2bJpO5Xen4kkempAlY6tPaMT0J7GA3xuBryE+mviETYQcw5SW/JPTpYP /Z3yBPHp3xHlCeC0fuvBVZtATHE5kmM1mlSA7HJeuZHCbhFPOdAOGlRFixmATGJZE+PN 87bQ== X-Gm-Message-State: ALoCoQnz99N3HLvqat/4AdFzRLspu9iRELAUEZBw4PWtYpLCPMPqe45JwsOGpnWWvic7wqTs5OOo X-Received: by 10.180.39.178 with SMTP id q18mr2351937wik.56.1398267226285; Wed, 23 Apr 2014 08:33:46 -0700 (PDT) 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 wl6sm1995422wjb.3.2014.04.23.08.33.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 08:33:45 -0700 (PDT) Message-ID: <5357DD57.6070007@dev.mellanox.co.il> Date: Wed, 23 Apr 2014 11:33:43 -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: "linux-rdma (linux-rdma@vger.kernel.org)" Subject: [PATCH opensm] osm_mcast_mgr.c: Fix endian of port GUID in ERR 0A06 log message 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.5 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 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_mcast_mgr.c b/opensm/osm_mcast_mgr.c index ad67d48..cc7041b 100644 --- a/opensm/osm_mcast_mgr.c +++ b/opensm/osm_mcast_mgr.c @@ -472,7 +472,7 @@ static void mcast_mgr_purge_list(osm_sm_t * sm, cl_qlist_t * list) wobj = cl_item_obj(i, wobj, list_item); OSM_LOG(sm->p_log, OSM_LOG_ERROR, "ERR 0A06: " "Unable to route for port 0x%" PRIx64 "\n", - osm_port_get_guid(wobj->p_port)); + cl_ntoh64(osm_port_get_guid(wobj->p_port))); } } osm_mcast_drop_port_list(list);