public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] opensm/osm_mcast_mgr.c: In mcast_mgr_set_mft_block, fix node GUID in log message
@ 2009-10-05 13:36 Hal Rosenstock
       [not found] ` <20091005133632.GA5792-Wuw85uim5zDR7s880joybQ@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Hal Rosenstock @ 2009-10-05 13:36 UTC (permalink / raw)
  To: sashak-smomgflXvOZWk0Htik3J/w; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA


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

Signed-off-by: Hal Rosenstock <hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
diff --git a/opensm/opensm/osm_mcast_mgr.c b/opensm/opensm/osm_mcast_mgr.c
index 6f51404..77e0b94 100644
--- a/opensm/opensm/osm_mcast_mgr.c
+++ b/opensm/opensm/osm_mcast_mgr.c
@@ -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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] opensm/osm_mcast_mgr.c: In mcast_mgr_set_mft_block, fix node GUID in log message
       [not found] ` <20091005133632.GA5792-Wuw85uim5zDR7s880joybQ@public.gmane.org>
@ 2009-10-12 18:03   ` Sasha Khapyorsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sasha Khapyorsky @ 2009-10-12 18:03 UTC (permalink / raw)
  To: Hal Rosenstock; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

On 09:36 Mon 05 Oct     , Hal Rosenstock wrote:
> 
> Should come from mft_context rather than lft_context
> (even though they are currently the same)
> 
> Signed-off-by: Hal Rosenstock <hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Applied. Thanks.

Sasha
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-12 18:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-05 13:36 [PATCH] opensm/osm_mcast_mgr.c: In mcast_mgr_set_mft_block, fix node GUID in log message Hal Rosenstock
     [not found] ` <20091005133632.GA5792-Wuw85uim5zDR7s880joybQ@public.gmane.org>
2009-10-12 18:03   ` Sasha Khapyorsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox