All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] opensm/osm_helper.c Log format changes
@ 2009-11-27 13:27 Line Holen
       [not found] ` <4B0FD3B1.1090807-UdXhSnd/wVw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Line Holen @ 2009-11-27 13:27 UTC (permalink / raw)
  To: sashak-smomgflXvOZWk0Htik3J/w; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Using single line when displaying DR path info in
osm_dump_dr_path() and osm_dump_smp_dr_path()

Signed-off-by: Line Holen <Line.Holen-xsfywfwIY+M@public.gmane.org>

---

diff --git a/opensm/opensm/osm_helper.c b/opensm/opensm/osm_helper.c
index 77ae89e..60724f2 100644
--- a/opensm/opensm/osm_helper.c
+++ b/opensm/opensm/osm_helper.c
@@ -1946,8 +1946,8 @@ void osm_dump_dr_path(IN osm_log_t * p_log, IN const osm_dr_path_t * p_path,
 		char buf[BUF_SIZE];
 		unsigned n = 0;
 
-		n = sprintf(buf, "Directed Path Dump of %u hop path:"
-			    "\n\t\t\t\tPath = ", p_path->hop_count);
+		n = sprintf(buf, "Directed Path Dump of %u hop path: "
+			    "Path = ", p_path->hop_count);
 
 		sprint_uint8_arr(buf + n, sizeof(buf) - n, p_path->path,
 				 p_path->hop_count + 1);
@@ -1962,13 +1962,13 @@ void osm_dump_smp_dr_path(IN osm_log_t * p_log, IN const ib_smp_t * p_smp,
 		char buf[BUF_SIZE];
 		unsigned n;
 
-		n = sprintf(buf, "Received SMP on a %u hop path:"
-			    "\n\t\t\t\tInitial path = ", p_smp->hop_count);
+		n = sprintf(buf, "Received SMP on a %u hop path: "
+			    "Initial path = ", p_smp->hop_count);
 		n += sprint_uint8_arr(buf + n, sizeof(buf) - n,
 				      p_smp->initial_path,
 				      p_smp->hop_count + 1);
 
-		n += sprintf(buf + n, "\n\t\t\t\tReturn path  = ");
+		n += sprintf(buf + n, ", Return path  = ");
 		n += sprint_uint8_arr(buf + n, sizeof(buf) - n,
 				      p_smp->return_path, p_smp->hop_count + 1);
 
--
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] opensm/osm_helper.c Log format changes
       [not found] ` <4B0FD3B1.1090807-UdXhSnd/wVw@public.gmane.org>
@ 2009-12-01 16:07   ` Sasha Khapyorsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sasha Khapyorsky @ 2009-12-01 16:07 UTC (permalink / raw)
  To: Line Holen; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

On 14:27 Fri 27 Nov     , Line Holen wrote:
> Using single line when displaying DR path info in
> osm_dump_dr_path() and osm_dump_smp_dr_path()
> 
> Signed-off-by: Line Holen <Line.Holen-xsfywfwIY+M@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-12-01 16:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-27 13:27 [PATCH] opensm/osm_helper.c Log format changes Line Holen
     [not found] ` <4B0FD3B1.1090807-UdXhSnd/wVw@public.gmane.org>
2009-12-01 16:07   ` Sasha Khapyorsky

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.