From: Hal Rosenstock <hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
To: Alex Netes <alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Cc: "linux-rdma
(linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: [PATCH][TRIVIAL] opensm/osm_torus.c: Add error code to error log message
Date: Tue, 18 Sep 2012 14:53:10 -0400 [thread overview]
Message-ID: <5058C316.1070409@dev.mellanox.co.il> (raw)
Also, cosmetic formatting change
Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
opensm/osm_torus.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
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;
}
--
1.7.8.2
--
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
next reply other threads:[~2012-09-18 18:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-18 18:53 Hal Rosenstock [this message]
[not found] ` <5058C316.1070409-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2012-10-25 15:45 ` [PATCH][TRIVIAL] opensm/osm_torus.c: Add error code to error log message Alex Netes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5058C316.1070409@dev.mellanox.co.il \
--to=hal-ldsdmyg8hgv8yrgs2mwiifqbs+8scbdb@public.gmane.org \
--cc=alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.