[PATCH] netfs: Fix the debug module parameter description
From: Karl Mehltretter
Date: Sat Sep 05 2026 - 01:19:09 EST
The debugging mask is registered as the "debug" parameter, but
MODULE_PARM_DESC() attaches its description to "netfs_debug", the
backing variable, so modinfo lists the description under a parameter
that does not exist.
Use the parameter name.
Fixes: b900f4b89b4d ("netfs: Split some core bits out into their own file")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@xxxxxxxxx>
---
fs/netfs/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/netfs/main.c b/fs/netfs/main.c
index 927badf3989d..ec402837aab8 100644
--- a/fs/netfs/main.c
+++ b/fs/netfs/main.c
@@ -22,7 +22,7 @@ EXPORT_TRACEPOINT_SYMBOL(netfs_sreq);
unsigned netfs_debug;
module_param_named(debug, netfs_debug, uint, S_IWUSR | S_IRUGO);
-MODULE_PARM_DESC(netfs_debug, "Netfs support debugging mask");
+MODULE_PARM_DESC(debug, "Netfs support debugging mask");
static struct kmem_cache *netfs_request_slab;
static struct kmem_cache *netfs_subrequest_slab;
--
2.39.5 (Apple Git-154)