Skip to contentSkip to conversation

osm_mtree.c: Cosmetic change in osm_mtree_destroy

PATCH New Hal Rosenstock 1 participant 1 message Dec 11, 2013 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 osm_mtree.c: Cosmetic change in osm_mtree_destroy

From: Alex Netes <alexne-VPRAkNaXOzVWk0Htik3J/[email protected]>

max_children defined to be less or equal to switch number of ports, so uint8_t should be enough.

---
 opensm/osm_mtree.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
opensm/osm_mtree.c +1 -1
index cb32276..218f557 100644
@@ -83,7 +83,7 @@ osm_mtree_node_t *osm_mtree_node_new(IN osm_switch_t * p_sw)
 
 void osm_mtree_destroy(IN osm_mtree_node_t * p_mtn)
 {
-	uint32_t i;
+	uint8_t i;
 
 	if (p_mtn == NULL)
 		return;
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