From: Alex Netes <[email protected]>

Need to print NodeDesc and PortNum for both p_port_ref and
p_port_stored.

Signed-off-by: Alex Netes <[email protected]>
---
 opensm/osm_state_mgr.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opensm/osm_state_mgr.c b/opensm/osm_state_mgr.c
index bf6181a..36e9f6c 100644
--- a/opensm/osm_state_mgr.c
+++ b/opensm/osm_state_mgr.c
@@ -1312,8 +1312,8 @@ static void state_mgr_check_tbl_consistency(IN osm_sm_t * 
sm)
                                p_port_ref->p_node->print_desc,
                                p_port_ref->p_physp->port_num,
                                cl_ntoh64(osm_port_get_guid(p_port_stored)),
-                               p_port_ref->p_node->print_desc,
-                               p_port_ref->p_physp->port_num);
+                               p_port_stored->p_node->print_desc,
+                               p_port_stored->p_physp->port_num);
 
                /* In any of these cases we want to set NULL in the
                 * port_lid_tbl, since this entry is invalid. Also, make sure
-- 
1.7.8.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to