diff mbox

opensm/perfmgr: add failed port guid to error message

Message ID 20130223161741.268622265e0282bf7b0b705a@llnl.gov (mailing list archive)
State Accepted
Delegated to: Hal Rosenstock
Headers show

Commit Message

Ira Weiny Feb. 24, 2013, 12:17 a.m. UTC
Signed-off-by: Ira Weiny <weiny2@llnl.gov>
---
 opensm/osm_perfmgr.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

Comments

Hal Rosenstock Feb. 26, 2013, 11:35 a.m. UTC | #1
On 2/23/2013 7:17 PM, Ira Weiny wrote:
> 
> Signed-off-by: Ira Weiny <weiny2@llnl.gov>

Thanks. Applied.

-- Hal

--
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 mbox

Patch

diff --git a/opensm/osm_perfmgr.c b/opensm/osm_perfmgr.c
index 9bc1154..25033bd 100644
--- a/opensm/osm_perfmgr.c
+++ b/opensm/osm_perfmgr.c
@@ -831,7 +831,9 @@  void osm_perfmgr_process(osm_perfmgr_t * pm)
 			    ib_node_info_get_local_port_num(&p_node->node_info);
 		} else
 			OSM_LOG(pm->log, OSM_LOG_ERROR,
-				"ERR 5487: No PerfMgr port object\n");
+				"ERR 5487: No PerfMgr port object for "
+				"port_guid 0x%"PRIx64"\n",
+				cl_ntoh64(pm->port_guid));
 		CL_PLOCK_RELEASE(pm->sm->p_lock);
 	}