netfs: Fix the debug module parameter description
Subsystems (2)
PATCH 1/1 netfs: Fix the debug module parameter description
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 <[email protected]>
--- fs/netfs/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/netfs/main.c +1 -1
@@ -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;
Signature · 1 line
2.39.5 (Apple Git-154)