Skip to contentSkip to conversation

opensm/osm_mcast_mgr.c: In mcast_mgr_set_mft_block, fix node GUID in log message

PATCH Applied Hal Rosenstock 2 participants 2 messages Oct 5, 2009 – Oct 12, 2009 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opensm/osm_mcast_mgr.c: In mcast_mgr_set_mft_block, fix node GUID in log message

Should come from mft_context rather than lft_context (even though they are currently the same)

---

opensm/opensm/osm_mcast_mgr.c +1 -1
index 6f51404..77e0b94 100644
@@ -330,7 +330,7 @@ static int mcast_mgr_set_mft_block(osm_sm_t * sm, IN osm_switch_t * p_sw,
 		OSM_LOG(sm->p_log, OSM_LOG_DEBUG,
 			"Writing MFT block %u position %u to switch 0x%" PRIx64 "\n",
 			block_num, position,
-			cl_ntoh64(context.lft_context.node_guid));
+			cl_ntoh64(context.mft_context.node_guid));
 
 		status = osm_req_set(sm, p_path, (void *)block, sizeof(block),
 				     IB_MAD_ATTR_MCAST_FWD_TBL,

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