public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [TRIVIAL] opensm: Fix small compile error
@ 2014-01-21 23:51 Albert Chu
       [not found] ` <1390348306.6153.356.camel-akkeaxHeDKRliZ7u+bvwcg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Albert Chu @ 2014-01-21 23:51 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Signed-off-by: Albert L. Chu <chu11-i2BcT+NCU+M@public.gmane.org>
---
 osmeventplugin/src/osmeventplugin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/osmeventplugin/src/osmeventplugin.c b/osmeventplugin/src/osmeventplugin.c
index 1eaf7ea..0feada8 100644
--- a/osmeventplugin/src/osmeventplugin.c
+++ b/osmeventplugin/src/osmeventplugin.c
@@ -195,7 +195,7 @@ static void report(void *_log, osm_epi_event_id_t event_id, void *event_data)
 		fprintf(log->log_file, "Heavy sweep completed\n");
 		break;
 	case OSM_EVENT_ID_UCAST_ROUTING_DONE:
-		fprintf(log->log_file, "Unicast routing completed %d\n", event_data);
+		fprintf(log->log_file, "Unicast routing completed %p\n", event_data);
 		break;
 	case OSM_EVENT_ID_STATE_CHANGE:
 		fprintf(log->log_file, "SM state changed\n");
-- 
1.7.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] [TRIVIAL] opensm: Fix small compile error
       [not found] ` <1390348306.6153.356.camel-akkeaxHeDKRliZ7u+bvwcg@public.gmane.org>
@ 2014-01-22  4:33   ` Hal Rosenstock
  0 siblings, 0 replies; 2+ messages in thread
From: Hal Rosenstock @ 2014-01-22  4:33 UTC (permalink / raw)
  To: Albert Chu; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Hi Al,

On 1/21/2014 6:51 PM, Albert Chu wrote:
> Signed-off-by: Albert L. Chu <chu11-i2BcT+NCU+M@public.gmane.org>
> ---
>  osmeventplugin/src/osmeventplugin.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/osmeventplugin/src/osmeventplugin.c b/osmeventplugin/src/osmeventplugin.c
> index 1eaf7ea..0feada8 100644
> --- a/osmeventplugin/src/osmeventplugin.c
> +++ b/osmeventplugin/src/osmeventplugin.c
> @@ -195,7 +195,7 @@ static void report(void *_log, osm_epi_event_id_t event_id, void *event_data)
>  		fprintf(log->log_file, "Heavy sweep completed\n");
>  		break;
>  	case OSM_EVENT_ID_UCAST_ROUTING_DONE:
> -		fprintf(log->log_file, "Unicast routing completed %d\n", event_data);
> +		fprintf(log->log_file, "Unicast routing completed %p\n", event_data);

I see the problem. I have a different fix for this. Patch shortly.

-- Hal

>  		break;
>  	case OSM_EVENT_ID_STATE_CHANGE:
>  		fprintf(log->log_file, "SM state changed\n");

--
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:[~2014-01-22  4:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-21 23:51 [PATCH] [TRIVIAL] opensm: Fix small compile error Albert Chu
     [not found] ` <1390348306.6153.356.camel-akkeaxHeDKRliZ7u+bvwcg@public.gmane.org>
2014-01-22  4:33   ` Hal Rosenstock

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