Skip to contentSkip to conversation

Make all `debug' parameters bool

PATCH In review Arnaldo Carvalho de Melo 1 participant 1 message Apr 12, 2007 Networking

lore
Share & tools
lore
#0 lore raw

PATCH 22/29 Make all `debug' parameters bool

This just sets the parameter to bool, since debugging messages are either on or off.

---
 net/dccp/ccids/ccid2.c |    2 +-
 net/dccp/ccids/ccid3.c |    2 +-
 net/dccp/proto.c       |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
net/dccp/ccids/ccid2.c +1 -1
index 248d20f..67a3d23 100644
@@ -835,7 +835,7 @@ static struct ccid_operations ccid2 = {
 };
 
 #ifdef CONFIG_IP_DCCP_CCID2_DEBUG
-module_param(ccid2_debug, int, 0444);
+module_param(ccid2_debug, bool, 0444);
 MODULE_PARM_DESC(ccid2_debug, "Enable debug messages");
 #endif
 
net/dccp/ccids/ccid3.c +1 -1
index cd3565f..590c002 100644
@@ -1215,7 +1215,7 @@ static struct ccid_operations ccid3 = {
 };
 
 #ifdef CONFIG_IP_DCCP_CCID3_DEBUG
-module_param(ccid3_debug, int, 0444);
+module_param(ccid3_debug, bool, 0444);
 MODULE_PARM_DESC(ccid3_debug, "Enable debug messages");
 #endif
 
net/dccp/proto.c +1 -1
index e00359d..a93bb3d 100644
@@ -991,7 +991,7 @@ MODULE_PARM_DESC(thash_entries, "Number of ehash buckets");
 
 #ifdef CONFIG_IP_DCCP_DEBUG
 int dccp_debug;
-module_param(dccp_debug, int, 0444);
+module_param(dccp_debug, bool, 0444);
 MODULE_PARM_DESC(dccp_debug, "Enable debug messages");
 
 EXPORT_SYMBOL_GPL(dccp_debug);
Signature · 1 line
1.5.0.6