Skip to contentSkip to conversation

opensm/osm_torus.c: Add error code to error log message

PATCH In review Hal Rosenstock 2 participants 2 messages Sep 18, 2012 – Oct 25, 2012 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opensm/osm_torus.c: Add error code to error log message

Also, cosmetic formatting change

---
 opensm/osm_torus.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
opensm/osm_torus.c +2 -2
index addda89..49abef8 100644
@@ -8583,7 +8583,7 @@ osm_mtree_node_t *mcast_stree_branch(struct t_switch *sw, osm_switch_t *osm_sw,
 	mtn = osm_mtree_node_new(osm_sw);
 	if (!mtn) {
 		OSM_LOG(&sw->torus->osm->log, OSM_LOG_ERROR,
-			"Insufficient memory to build multicast tree\n");
+			"ERR 4E46: Insufficient memory to build multicast tree\n");
 		goto out;
 	}
 	mcast_tbl = osm_switch_get_mcast_tbl_ptr(osm_sw);
@@ -9186,7 +9186,7 @@ void check_qos_config(osm_qos_options_t *opt, bool tgt_is_default,
 	if (opt->vlarb_high) {
 		is_default = false;
 		vlarb_str = opt->vlarb_high;
-	} else{
+	} else {
 		is_default = true;
 		vlarb_str = OSM_DEFAULT_QOS_VLARB_HIGH;
 	}
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