public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] infiniband-diags/ibqueryerrors.c: Cosmetic changes
@ 2009-10-23 17:57 Hal Rosenstock
       [not found] ` <20091023175746.GA15906-Wuw85uim5zDR7s880joybQ@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Hal Rosenstock @ 2009-10-23 17:57 UTC (permalink / raw)
  To: sashak-smomgflXvOZWk0Htik3J/w; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA


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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] infiniband-diags/ibqueryerrors.c: Cosmetic changes
       [not found] ` <20091023175746.GA15906-Wuw85uim5zDR7s880joybQ@public.gmane.org>
@ 2009-10-23 22:02   ` Sasha Khapyorsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sasha Khapyorsky @ 2009-10-23 22:02 UTC (permalink / raw)
  To: Hal Rosenstock; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

On 13:57 Fri 23 Oct     , Hal Rosenstock wrote:
> 
> Eliminated redundant "\n" in IBWARNs
> Fixed commentary typo
> 
> Signed-off-by: Hal Rosenstock <hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Applied. Thanks.

Sasha
--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-23 22:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-23 17:57 [PATCH] infiniband-diags/ibqueryerrors.c: Cosmetic changes Hal Rosenstock
     [not found] ` <20091023175746.GA15906-Wuw85uim5zDR7s880joybQ@public.gmane.org>
2009-10-23 22:02   ` Sasha Khapyorsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox