diff mbox

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

Message ID 5058C316.1070409@dev.mellanox.co.il (mailing list archive)
State Rejected
Delegated to: Alex Netes
Headers show

Commit Message

Hal Rosenstock Sept. 18, 2012, 6:53 p.m. UTC
Also, cosmetic formatting change

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
---
 opensm/osm_torus.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Comments

Alex Netes Oct. 25, 2012, 3:45 p.m. UTC | #1
Hi Hal,

On 14:53 Tue 18 Sep     , Hal Rosenstock wrote:
> 
> Also, cosmetic formatting change
> 
> Signed-off-by: Hal Rosenstock <hal@mellanox.com>
> ---

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/opensm/osm_torus.c b/opensm/osm_torus.c
index addda89..49abef8 100644
--- a/opensm/osm_torus.c
+++ b/opensm/osm_torus.c
@@ -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;
 	}