public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 03/15 ibacm] acm.c: Cosmetic formatting change to acm log message
@ 2013-06-21 11:01 Hal Rosenstock
       [not found] ` <51C43284.6010808-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Hal Rosenstock @ 2013-06-21 11:01 UTC (permalink / raw)
  To: Hefty, Sean
  Cc: linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)


Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
 src/acm.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/acm.c b/src/acm.c
index e956b09..a124e93 100644
--- a/src/acm.c
+++ b/src/acm.c
@@ -1277,7 +1277,7 @@ static void acm_process_acm_recv(struct acm_ep *ep, struct ibv_wc *wc, struct ac
 	rec = (struct acm_resolve_rec *) mad->data;
 	acm_format_name(2, log_data, sizeof log_data,
 			rec->src_type, rec->src, sizeof rec->src);
-	acm_log(2, "src  %s\n", log_data);
+	acm_log(2, "src %s\n", log_data);
 	acm_format_name(2, log_data, sizeof log_data,
 			rec->dest_type, rec->dest, sizeof rec->dest);
 	acm_log(2, "dest %s\n", log_data);
@@ -2134,7 +2134,7 @@ acm_svr_resolve_dest(struct acm_client *client, struct acm_msg *msg)
 
 	acm_format_name(2, log_data, sizeof log_data,
 			saddr->type, saddr->info.addr, sizeof saddr->info.addr);
-	acm_log(2, "src  %s\n", log_data);
+	acm_log(2, "src %s\n", log_data);
 	ep = acm_get_ep(saddr);
 	if (!ep) {
 		acm_log(0, "notice - unknown local end point\n");
-- 
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

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

* RE: [PATCH 03/15 ibacm] acm.c: Cosmetic formatting change to acm log message
       [not found] ` <51C43284.6010808-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
@ 2013-06-28  1:48   ` Hefty, Sean
  0 siblings, 0 replies; 2+ messages in thread
From: Hefty, Sean @ 2013-06-28  1:48 UTC (permalink / raw)
  To: Hal Rosenstock
  Cc: linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)

> diff --git a/src/acm.c b/src/acm.c
> index e956b09..a124e93 100644
> --- a/src/acm.c
> +++ b/src/acm.c
> @@ -1277,7 +1277,7 @@ static void acm_process_acm_recv(struct acm_ep *ep,
> struct ibv_wc *wc, struct ac
>  	rec = (struct acm_resolve_rec *) mad->data;
>  	acm_format_name(2, log_data, sizeof log_data,
>  			rec->src_type, rec->src, sizeof rec->src);
> -	acm_log(2, "src  %s\n", log_data);
> +	acm_log(2, "src %s\n", log_data);
..
>  	acm_log(2, "dest %s\n", log_data);

The extra space after 'src' is intentional.  It's to line up the source and destination addresses, like this:

src  192.168...
dest 192.168...

- Sean
--
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:[~2013-06-28  1:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-21 11:01 [PATCH 03/15 ibacm] acm.c: Cosmetic formatting change to acm log message Hal Rosenstock
     [not found] ` <51C43284.6010808-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2013-06-28  1:48   ` Hefty, Sean

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