acm.c: Cosmetic formatting change to acm log message
PATCH 3/15 acm.c: Cosmetic formatting change to acm log message
--- src/acm.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
src/acm.c +2 -2
@@ -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" );
Signature · 6 lines
1.7.8.2 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 51C43284.6010808-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org
Quoted 11 lines
src/acm.c +0
-0@@ -1277,7 +1277,7 @@ static void acm_process_acm_recv(struct acm_ep *ep,struct
ibv_wc*wc, struct acsrc/acm.c +1
-1rec = (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);
..
Quoted 1 line
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html