diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2007-10-04 17:39:53 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:54:32 -0400 |
commit | 042d18f9f39a51716683b4e156fbee689314bb22 (patch) | |
tree | 63038a347f9a9321c5c671cff606b71186b5f967 | |
parent | 7c559a9e44ee61faf2f339604ce708decb345a93 (diff) |
[DCCP]: Make all `debug' parameters bool
This just sets the parameter to bool, since debugging messages are
either on or off.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/dccp/ccids/ccid2.c | 2 | ||||
-rw-r--r-- | net/dccp/ccids/ccid3.c | 2 | ||||
-rw-r--r-- | net/dccp/proto.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/net/dccp/ccids/ccid2.c b/net/dccp/ccids/ccid2.c index d29b88fe723..c199f34c194 100644 --- a/net/dccp/ccids/ccid2.c +++ b/net/dccp/ccids/ccid2.c | |||
@@ -835,7 +835,7 @@ static struct ccid_operations ccid2 = { | |||
835 | }; | 835 | }; |
836 | 836 | ||
837 | #ifdef CONFIG_IP_DCCP_CCID2_DEBUG | 837 | #ifdef CONFIG_IP_DCCP_CCID2_DEBUG |
838 | module_param(ccid2_debug, int, 0444); | 838 | module_param(ccid2_debug, bool, 0444); |
839 | MODULE_PARM_DESC(ccid2_debug, "Enable debug messages"); | 839 | MODULE_PARM_DESC(ccid2_debug, "Enable debug messages"); |
840 | #endif | 840 | #endif |
841 | 841 | ||
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c index a4099398bcc..25772c32617 100644 --- a/net/dccp/ccids/ccid3.c +++ b/net/dccp/ccids/ccid3.c | |||
@@ -1046,7 +1046,7 @@ static struct ccid_operations ccid3 = { | |||
1046 | }; | 1046 | }; |
1047 | 1047 | ||
1048 | #ifdef CONFIG_IP_DCCP_CCID3_DEBUG | 1048 | #ifdef CONFIG_IP_DCCP_CCID3_DEBUG |
1049 | module_param(ccid3_debug, int, 0444); | 1049 | module_param(ccid3_debug, bool, 0444); |
1050 | MODULE_PARM_DESC(ccid3_debug, "Enable debug messages"); | 1050 | MODULE_PARM_DESC(ccid3_debug, "Enable debug messages"); |
1051 | #endif | 1051 | #endif |
1052 | 1052 | ||
diff --git a/net/dccp/proto.c b/net/dccp/proto.c index c0b685efe24..cc9bf1cb264 100644 --- a/net/dccp/proto.c +++ b/net/dccp/proto.c | |||
@@ -992,7 +992,7 @@ MODULE_PARM_DESC(thash_entries, "Number of ehash buckets"); | |||
992 | 992 | ||
993 | #ifdef CONFIG_IP_DCCP_DEBUG | 993 | #ifdef CONFIG_IP_DCCP_DEBUG |
994 | int dccp_debug; | 994 | int dccp_debug; |
995 | module_param(dccp_debug, int, 0444); | 995 | module_param(dccp_debug, bool, 0444); |
996 | MODULE_PARM_DESC(dccp_debug, "Enable debug messages"); | 996 | MODULE_PARM_DESC(dccp_debug, "Enable debug messages"); |
997 | 997 | ||
998 | EXPORT_SYMBOL_GPL(dccp_debug); | 998 | EXPORT_SYMBOL_GPL(dccp_debug); |