Skip to contentSkip to conversation

dyndbg: fix kernel-doc parameter name for DECLARE_DYNDBG_CLASSMAP()

PATCH New Kit Dallege 1 participant 1 message Mar 15 Dynamic debug

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dyndbg: fix kernel-doc parameter name for DECLARE_DYNDBG_CLASSMAP()

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
---
 include/linux/dynamic_debug.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/dynamic_debug.h +1 -1
index 05743900a116..70b081fbe748 100644
@@ -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
  */
Signature · 1 line
2.53.0