osm_state_mgr.c: Fix error print in state_mgr_check_tbl_consistency()
PATCH 1/1 osm_state_mgr.c: Fix error print in state_mgr_check_tbl_consistency()
From: Alex Netes <alexne-VPRAkNaXOzVWk0Htik3J/[email protected]>
Need to print NodeDesc and PortNum for both p_port_ref and p_port_stored.
--- opensm/osm_state_mgr.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
opensm/osm_state_mgr.c +2 -2
@@ -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
Signature · 6 lines
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