提交 424b00e2 编写于 作者: P Paul Bolle 提交者: Linus Torvalds

AFS: Do not describe debug parameters with their value

Describe debug parameters with their names (and not their values).
Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
Signed-off-by: NDavid Howells <dhowells@redhat.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 b87e81e5
...@@ -22,7 +22,7 @@ MODULE_LICENSE("GPL"); ...@@ -22,7 +22,7 @@ MODULE_LICENSE("GPL");
unsigned afs_debug; unsigned afs_debug;
module_param_named(debug, afs_debug, uint, S_IWUSR | S_IRUGO); module_param_named(debug, afs_debug, uint, S_IWUSR | S_IRUGO);
MODULE_PARM_DESC(afs_debug, "AFS debugging mask"); MODULE_PARM_DESC(debug, "AFS debugging mask");
static char *rootcell; static char *rootcell;
......
...@@ -27,7 +27,7 @@ MODULE_ALIAS_NETPROTO(PF_RXRPC); ...@@ -27,7 +27,7 @@ MODULE_ALIAS_NETPROTO(PF_RXRPC);
unsigned rxrpc_debug; // = RXRPC_DEBUG_KPROTO; unsigned rxrpc_debug; // = RXRPC_DEBUG_KPROTO;
module_param_named(debug, rxrpc_debug, uint, S_IWUSR | S_IRUGO); module_param_named(debug, rxrpc_debug, uint, S_IWUSR | S_IRUGO);
MODULE_PARM_DESC(rxrpc_debug, "RxRPC debugging mask"); MODULE_PARM_DESC(debug, "RxRPC debugging mask");
static int sysctl_rxrpc_max_qlen __read_mostly = 10; static int sysctl_rxrpc_max_qlen __read_mostly = 10;
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
unsigned rxrpc_debug; unsigned rxrpc_debug;
module_param_named(debug, rxrpc_debug, uint, S_IWUSR | S_IRUGO); module_param_named(debug, rxrpc_debug, uint, S_IWUSR | S_IRUGO);
MODULE_PARM_DESC(rxrpc_debug, "rxkad debugging mask"); MODULE_PARM_DESC(debug, "rxkad debugging mask");
struct rxkad_level1_hdr { struct rxkad_level1_hdr {
__be32 data_size; /* true data size (excluding padding) */ __be32 data_size; /* true data size (excluding padding) */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册