linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][MINOR] osm_sa_informinfo.c Add attribute info to log messages
@ 2013-09-03 11:31 Line Holen
  2013-09-05 14:18 ` Hal Rosenstock
  0 siblings, 1 reply; 2+ messages in thread
From: Line Holen @ 2013-09-03 11:31 UTC (permalink / raw)
  To: hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb; +Cc: Linux-Rdma

Signed-off-by: Line Holen <line.holen-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>

---

diff --git a/opensm/osm_sa_informinfo.c b/opensm/osm_sa_informinfo.c
index f32b88b..bf1fe97 100644
--- a/opensm/osm_sa_informinfo.c
+++ b/opensm/osm_sa_informinfo.c
@@ -598,7 +598,8 @@ void osm_infr_rcv_process(IN void *context, IN void *data)
 	CL_ASSERT(p_sa_mad->attr_id == IB_MAD_ATTR_INFORM_INFO);
 
 	if (p_sa_mad->method != IB_MAD_METHOD_SET) {
-		OSM_LOG(sa->p_log, OSM_LOG_DEBUG, "Unsupported Method (%s)\n",
+		OSM_LOG(sa->p_log, OSM_LOG_DEBUG,
+			"Unsupported Method (%s) for InformInfo\n",
 			ib_get_sa_method_str(p_sa_mad->method));
 		osm_sa_send_error(sa, p_madw, IB_MAD_STATUS_UNSUP_METHOD_ATTR);
 		goto Exit;
@@ -626,7 +627,8 @@ void osm_infir_rcv_process(IN void *context, IN void *data)
 
 	if (p_sa_mad->method != IB_MAD_METHOD_GET &&
 	    p_sa_mad->method != IB_MAD_METHOD_GETTABLE) {
-		OSM_LOG(sa->p_log, OSM_LOG_DEBUG, "Unsupported Method (%s)\n",
+		OSM_LOG(sa->p_log, OSM_LOG_DEBUG,
+			"Unsupported Method (%s) for InformInfo\n",
 			ib_get_sa_method_str(p_sa_mad->method));
 		osm_sa_send_error(sa, p_madw, IB_MAD_STATUS_UNSUP_METHOD_ATTR);
 		goto Exit;
--
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][MINOR] osm_sa_informinfo.c Add attribute info to log messages
  2013-09-03 11:31 [PATCH][MINOR] osm_sa_informinfo.c Add attribute info to log messages Line Holen
@ 2013-09-05 14:18 ` Hal Rosenstock
  0 siblings, 0 replies; 2+ messages in thread
From: Hal Rosenstock @ 2013-09-05 14:18 UTC (permalink / raw)
  To: Line Holen; +Cc: Linux-Rdma

On 9/3/2013 7:31 AM, Line Holen wrote:
> Signed-off-by: Line Holen <line.holen-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>

Thanks. Applied with minor change noted below.

> 
> ---
> 
> diff --git a/opensm/osm_sa_informinfo.c b/opensm/osm_sa_informinfo.c
> index f32b88b..bf1fe97 100644
> --- a/opensm/osm_sa_informinfo.c
> +++ b/opensm/osm_sa_informinfo.c
> @@ -598,7 +598,8 @@ void osm_infr_rcv_process(IN void *context, IN void *data)
>  	CL_ASSERT(p_sa_mad->attr_id == IB_MAD_ATTR_INFORM_INFO);
>  
>  	if (p_sa_mad->method != IB_MAD_METHOD_SET) {
> -		OSM_LOG(sa->p_log, OSM_LOG_DEBUG, "Unsupported Method (%s)\n",
> +		OSM_LOG(sa->p_log, OSM_LOG_DEBUG,
> +			"Unsupported Method (%s) for InformInfo\n",
>  			ib_get_sa_method_str(p_sa_mad->method));
>  		osm_sa_send_error(sa, p_madw, IB_MAD_STATUS_UNSUP_METHOD_ATTR);
>  		goto Exit;
> @@ -626,7 +627,8 @@ void osm_infir_rcv_process(IN void *context, IN void *data)
>  
>  	if (p_sa_mad->method != IB_MAD_METHOD_GET &&
>  	    p_sa_mad->method != IB_MAD_METHOD_GETTABLE) {
> -		OSM_LOG(sa->p_log, OSM_LOG_DEBUG, "Unsupported Method (%s)\n",
> +		OSM_LOG(sa->p_log, OSM_LOG_DEBUG,
> +			"Unsupported Method (%s) for InformInfo\n",

InformInfoRecord r.t. InformInfo

-- Hal

>  			ib_get_sa_method_str(p_sa_mad->method));
>  		osm_sa_send_error(sa, p_madw, IB_MAD_STATUS_UNSUP_METHOD_ATTR);
>  		goto Exit;
> 

--
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-09-05 14:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-03 11:31 [PATCH][MINOR] osm_sa_informinfo.c Add attribute info to log messages Line Holen
2013-09-05 14:18 ` Hal Rosenstock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).