[openib-general] [PATCH 8/13] osm: port to WinIB stack : opensm/osm_opensm.c

Eitan Zahavi eitan at mellanox.co.il
Sun Sep 17 08:59:40 PDT 2006


Hi Hal

Explicit NULL in empty array initializer

Thanks

Eitan

Signed-off-by:  Eitan Zahavi <eitan at mellanox.co.il>

Index: opensm/osm_opensm.c
===================================================================
--- opensm/osm_opensm.c	(revision 9502)
+++ opensm/osm_opensm.c	(working copy)
@@ -80,7 +80,7 @@ const static struct routing_engine_modul
 	{"null", NULL},
 	{"updn", osm_ucast_updn_setup },
 	{"file", osm_ucast_file_setup },
-	{}
+	{NULL, NULL}
 };
 
 static int setup_routing_engine(osm_opensm_t *p_osm, const char *name)






More information about the general mailing list