[openib-general] [PATCH] OpenSM - another fix for windows and comment change

Yael Kalka yael at mellanox.co.il
Tue Mar 21 23:55:08 PST 2006


Hi Hal,

Attached is another fix for windows - again some casting issue.
And also a comment naming fix in ib_types.h.

Thanks,
Yael

Signed-off-by:  Yael Kalka <yael at mellanox.co.il>

Index: include/iba/ib_types.h
===================================================================
--- include/iba/ib_types.h	(revision 5945)
+++ include/iba/ib_types.h	(working copy)
@@ -2802,7 +2802,7 @@ ib_path_rec_hop_limit(
 /*********/
 /****s* IBA Base: Constants/IB_CLASS_RESP_TIME_MASK
 * NAME
-*	IB_CLASS_CAP_RESP_TIME_MASK
+*	IB_CLASS_RESP_TIME_MASK
 *
 * DESCRIPTION
 *	Mask bits to extract the reponse time value from the
Index: opensm/osm_sa_class_port_info.c
===================================================================
--- opensm/osm_sa_class_port_info.c	(revision 5945)
+++ opensm/osm_sa_class_port_info.c	(working copy)
@@ -136,7 +136,7 @@ __osm_cpi_rcv_respond(
   ib_class_port_info_t    *p_resp_cpi;
   ib_api_status_t       status;
   ib_gid_t                zero_gid;
-  int                   rtv;
+  uint8_t                   rtv;
 
   OSM_LOG_ENTER( p_rcv->p_log, __osm_cpi_rcv_respond );
 




More information about the general mailing list