[openib-general] [PATCH] Opensm - add includes for PRIx64
Yael Kalka
yael at mellanox.co.il
Sun Feb 12 03:25:30 PST 2006
Hi Hal,
In gen2 stack, the PRIx64 definitions come either from inttypes.h or
from cl_debug_osd.h file (included by cl_debug.h). In windows stack
inttypes.h file doesn't exist, thus the PRIx64 definition comes only
from the cl_debug_osd.h file. The following patch adds includes to
cl_debug.h in files where this include is missing, and there is use of
PRIx64.
Thanks,
Yael
Signed-off-by: Yael Kalka <yael at mellanox.co.il>
Index: libvendor/osm_vendor_mlx_sa.c
===================================================================
--- libvendor/osm_vendor_mlx_sa.c (revision 5372)
+++ libvendor/osm_vendor_mlx_sa.c (working copy)
@@ -40,6 +40,7 @@
# include <config.h>
#endif /* HAVE_CONFIG_H */
+#include <complib/cl_debug.h>
#include <complib/cl_timer.h>
#include <vendor/osm_vendor_api.h>
#include <vendor/osm_vendor_sa_api.h>
Index: opensm/osm_subnet.c
===================================================================
--- opensm/osm_subnet.c (revision 5372)
+++ opensm/osm_subnet.c (working copy)
@@ -51,6 +51,7 @@
# include <config.h>
#endif /* HAVE_CONFIG_H */
+#include <complib/cl_debug.h>
#include <opensm/osm_subnet.h>
#include <opensm/osm_log.h>
#include <opensm/osm_madw.h>
Index: opensm/osm_inform.c
===================================================================
--- opensm/osm_inform.c (revision 5372)
+++ opensm/osm_inform.c (working copy)
@@ -49,6 +49,7 @@
# include <config.h>
#endif /* HAVE_CONFIG_H */
+#include <complib/cl_debug.h>
#include <complib/cl_memory.h>
#include <complib/cl_timer.h>
#include <opensm/osm_sa_informinfo.h>
Index: opensm/osm_service.c
===================================================================
--- opensm/osm_service.c (revision 5372)
+++ opensm/osm_service.c (working copy)
@@ -49,6 +49,7 @@
# include <config.h>
#endif /* HAVE_CONFIG_H */
+#include <complib/cl_debug.h>
#include <complib/cl_memory.h>
#include <complib/cl_timer.h>
#include <opensm/osm_service.h>
Index: opensm/osm_mtree.c
===================================================================
--- opensm/osm_mtree.c (revision 5372)
+++ opensm/osm_mtree.c (working copy)
@@ -50,6 +50,7 @@
# include <config.h>
#endif /* HAVE_CONFIG_H */
+#include <complib/cl_debug.h>
#include <opensm/osm_mtree.h>
/**********************************************************************
Index: opensm/osm_ucast_updn.c
===================================================================
--- opensm/osm_ucast_updn.c (revision 5372)
+++ opensm/osm_ucast_updn.c (working copy)
@@ -50,6 +50,7 @@
# include <config.h>
#endif /* HAVE_CONFIG_H */
+#include <complib/cl_debug.h>
#include <complib/cl_qmap.h>
#include <opensm/osm_switch.h>
#include <opensm/osm_opensm.h>
Index: opensm/osm_db_pack.c
===================================================================
--- opensm/osm_db_pack.c (revision 5372)
+++ opensm/osm_db_pack.c (working copy)
@@ -40,6 +40,7 @@
#endif /* HAVE_CONFIG_H */
#include <stdlib.h>
+#include <complib/cl_debug.h>
#include <opensm/osm_db_pack.h>
static inline void
__osm_pack_guid(uint64_t guid, char *p_guid_str)
More information about the general
mailing list