From: Hal Rosenstock <hnrose-Wuw85uim5zDR7s880joybQ@public.gmane.org>
To: sashak-smomgflXvOZWk0Htik3J/w@public.gmane.org
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH] infiniband-diags/ibqueryerrors.c: Cosmetic changes
Date: Fri, 23 Oct 2009 13:57:46 -0400 [thread overview]
Message-ID: <20091023175746.GA15906@comcast.net> (raw)
Eliminated redundant "\n" in IBWARNs
Fixed commentary typo
Signed-off-by: Hal Rosenstock <hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
diff --git a/infiniband-diags/src/ibqueryerrors.c b/infiniband-diags/src/ibqueryerrors.c
index 0842eb3..625bd8e 100644
--- a/infiniband-diags/src/ibqueryerrors.c
+++ b/infiniband-diags/src/ibqueryerrors.c
@@ -282,12 +282,12 @@ static void print_port(ib_portid_t * portid, uint16_t cap_mask, char *node_name,
if (!pma_query_via(pc, portid, portnum, ibd_timeout,
IB_GSI_PORT_COUNTERS, ibmad_port)) {
- IBWARN("IB_GSI_PORT_COUNTERS query failed on %s, %s port %d\n",
+ IBWARN("IB_GSI_PORT_COUNTERS query failed on %s, %s port %d",
node_name, portid2str(portid), portnum);
return;
}
if (!(cap_mask & 0x1000)) {
- /* if PortCounters:PortXmitWait not suppported clear this counter */
+ /* if PortCounters:PortXmitWait not supported clear this counter */
uint32_t foo = 0;
mad_encode_field(pc, IB_PC_XMT_WAIT_F, &foo);
}
@@ -515,14 +515,14 @@ int main(int argc, char **argv)
if ((resolved =
ib_resolve_portid_str_via(&portid, dr_path, IB_DEST_DRPATH,
NULL, ibmad_port)) < 0)
- IBWARN("Failed to resolve %s; attempting full scan\n",
+ IBWARN("Failed to resolve %s; attempting full scan",
dr_path);
} else if (node_guid_str) {
if ((resolved =
ib_resolve_portid_str_via(&portid, node_guid_str,
IB_DEST_GUID, ibd_sm_id,
ibmad_port)) < 0)
- IBWARN("Failed to resolve %s; attempting full scan\n",
+ IBWARN("Failed to resolve %s; attempting full scan",
node_guid_str);
}
@@ -530,7 +530,7 @@ int main(int argc, char **argv)
if ((fabric = ibnd_discover_fabric(ibmad_port, &portid,
0)) == NULL)
IBWARN
- ("Single node discover failed; attempting full scan\n");
+ ("Single node discover failed; attempting full scan");
if (!fabric) /* do a full scan */
if ((fabric =
--
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:[~2009-10-23 17:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-23 17:57 Hal Rosenstock [this message]
[not found] ` <20091023175746.GA15906-Wuw85uim5zDR7s880joybQ@public.gmane.org>
2009-10-23 22:02 ` [PATCH] infiniband-diags/ibqueryerrors.c: Cosmetic changes Sasha Khapyorsky
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=20091023175746.GA15906@comcast.net \
--to=hnrose-wuw85uim5zdr7s880joybq@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=sashak-smomgflXvOZWk0Htik3J/w@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox