[PATCH v2] dyndbg: fix kernel-doc parameter name for DECLARE_DYNDBG_CLASSMAP()
From: Kit Dallege
Date: Sun Mar 15 2026 - 13:13:22 EST
The kernel-doc comment documents the parameter as @_type but the actual
macro parameter name is @_maptype. Fix the mismatch.
Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Kit Dallege <xaum.io@xxxxxxxxx>
---
include/linux/dynamic_debug.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/dynamic_debug.h b/include/linux/dynamic_debug.h
index 05743900a116..70b081fbe748 100644
--- a/include/linux/dynamic_debug.h
+++ b/include/linux/dynamic_debug.h
@@ -96,7 +96,7 @@ struct ddebug_class_map {
/**
* DECLARE_DYNDBG_CLASSMAP - declare classnames known by a module
* @_var: a struct ddebug_class_map, passed to module_param_cb
- * @_type: enum class_map_type, chooses bits/verbose, numeric/symbolic
+ * @_maptype: enum class_map_type, chooses bits/verbose, numeric/symbolic
* @_base: offset of 1st class-name. splits .class_id space
* @classes: class-names used to control class'd prdbgs
*/
--
2.53.0