Avoid kernel-doc warnings by using the corrrect function parameter
names. 'classes' is part of the VA_ARGS so it should be specified
with '@...'.
Warning: ./include/linux/dynamic_debug.h:102 function parameter '_maptype' not described in 'DECLARE_DYNDBG_CLASSMAP'
Warning: ./include/linux/dynamic_debug.h:102 Excess function parameter '_type' description in 'DECLARE_DYNDBG_CLASSMAP'
Warning: ./include/linux/dynamic_debug.h:102 Excess function parameter 'classes' description in 'DECLARE_DYNDBG_CLASSMAP'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Jason Baron <jbaron@akamai.com>
Cc: Jim Cromie <jim.cromie@gmail.com>
include/linux/dynamic_debug.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-next-20260720.orig/include/linux/dynamic_debug.h
+++ linux-next-20260720/include/linux/dynamic_debug.h
@@ -96,9 +96,9 @@ 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
+ * @...: class-names used to control class'd prdbgs
*/
#define DECLARE_DYNDBG_CLASSMAP(_var, _maptype, _base, ...) \
static const char *_var##_classnames[] = { __VA_ARGS__ }; \