[openib-general] [PATCH] [TRIVIAL] ipoib: Fix compile problem with data path debug on Take 2

Hal Rosenstock halr at voltaire.com
Thu Sep 23 13:34:18 PDT 2004


ipoib: Fix compile problem with data path debug on [Take 2}

Index: ipoib_main.c
===================================================================
--- ipoib_main.c	(revision 880)
+++ ipoib_main.c	(working copy)
@@ -43,12 +43,14 @@
 int debug_level;
 
 module_param(debug_level, int, 0644);
+#ifdef CONFIG_INFINIBAND_IPOIB_DEBUG_DATA
 MODULE_PARM_DESC(debug_level,
 		 "Enable debug tracing if > 0"
-#ifdef CONFIG_INFINIBAND_IPOIB_DEBUG_DATA
-		 " and data path tracing if > 1"
+		 " and data path tracing if > 1");
+#else
+MODULE_PARM_DESC(debug_level,
+		 "Enable debug tracing if > 0");
 #endif
-	);
 
 int mcast_debug_level;
 






More information about the general mailing list