opensm/osm_req.c: In req_determine_mkey, use osm_physp APIs
PATCH 2/2 opensm/osm_req.c: In req_determine_mkey, use osm_physp APIs
rather tha direct accesses to physp struct
--- opensm/osm_req.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
opensm/osm_req.c +2 -2
@@ -97,10 +97,10 @@ static ib_net64_t req_determine_mkey(IN osm_sm_t * sm, p_physp =osm_node_get_physp_ptr (p_node, p_path->path[hop]);if (!p_physp)break ; - p_physp = p_physp->p_remote_physp; + p_physp =osm_physp_get_remote (p_physp);if (!p_physp)break ; - p_node = p_physp->p_node; + p_node =osm_physp_get_node_ptr (p_physp); }/* At this point, p_physp points at the outgoing physp on the
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