[PATCH v2] dyndbg: fix kernel-doc parameter name for DECLARE_DYNDBG_CLASSMAP()

Kit Dallege posted 1 patch 3 weeks, 1 day ago
include/linux/dynamic_debug.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v2] dyndbg: fix kernel-doc parameter name for DECLARE_DYNDBG_CLASSMAP()
Posted by Kit Dallege 3 weeks, 1 day ago
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@gmail.com>
---
 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