All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] opensm/osm_ucast_ftree.c: Fix invalid debug output message
@ 2013-03-02  0:39 Albert Chu
       [not found] ` <1362184753.28997.96.camel-akkeaxHeDKRliZ7u+bvwcg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Albert Chu @ 2013-03-02  0:39 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Fix branch logic bug in which

Marking I/O port GUID 0x0011750000771101

was output, when it should have instead output

Marking non-CN port GUID 0x0011750000771101

Signed-off-by: Albert L. Chu <chu11-i2BcT+NCU+M@public.gmane.org>
---
 opensm/osm_ucast_ftree.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/opensm/osm_ucast_ftree.c b/opensm/osm_ucast_ftree.c
index 932ec6a..99d6981 100644
--- a/opensm/osm_ucast_ftree.c
+++ b/opensm/osm_ucast_ftree.c
@@ -3360,7 +3360,9 @@ fabric_construct_hca_ports(IN ftree_fabric_t * p_ftree, IN ftree_hca_t * p_hca)
 				if (p_elem != (name_map_item_t *)
 				    cl_qmap_end(&p_ftree->io_guid_tbl))
 					is_io = TRUE;
+			}
 
+			if (is_io) {
 				OSM_LOG(&p_ftree->p_osm->log, OSM_LOG_DEBUG,
 					"Marking I/O port GUID 0x%016" PRIx64
 					"\n",
-- 
1.7.1



--
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_ucast_ftree.c: Fix invalid debug output message
       [not found] ` <1362184753.28997.96.camel-akkeaxHeDKRliZ7u+bvwcg@public.gmane.org>
@ 2013-03-02 14:13   ` Hal Rosenstock
  0 siblings, 0 replies; 2+ messages in thread
From: Hal Rosenstock @ 2013-03-02 14:13 UTC (permalink / raw)
  To: Albert Chu; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

On 3/1/2013 7:39 PM, Albert Chu wrote:
> Fix branch logic bug in which
> 
> Marking I/O port GUID 0x0011750000771101
> 
> was output, when it should have instead output
> 
> Marking non-CN port GUID 0x0011750000771101
> 
> Signed-off-by: Albert L. Chu <chu11-i2BcT+NCU+M@public.gmane.org>

Thanks. Applied.

-- Hal
--
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:[~2013-03-02 14:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-02  0:39 [PATCH] opensm/osm_ucast_ftree.c: Fix invalid debug output message Albert Chu
     [not found] ` <1362184753.28997.96.camel-akkeaxHeDKRliZ7u+bvwcg@public.gmane.org>
2013-03-02 14:13   ` Hal Rosenstock

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.