From nobody Fri Jul 24 04:54:18 2026 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B34638F239 for ; Thu, 23 Jul 2026 16:55:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784825716; cv=none; b=D1ZBobcYJfyZ5HJNal/LG56cFJcywhdXQ2v5dnKisrsvvh5S8e2A7P9Cm/dJawX0M5pjAOCzB++r8sSFFDmz+68OZQgPn2NpneaSpgAAhrzooYqzNvXroftUh8NzpIHLEz1TlAY5C3j3QtMs8UB2UuwK69/jWexEbvFWsHhjJ9g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784825716; c=relaxed/simple; bh=lHPg2CvzVU06hTMWcKrmfO1sqoG0Ys8ducR7kt+2sI4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=s7Jaj5W4W6ibNpb4S9Xql462auu9Tw8GHQ/ntDeVcja1UekaDqs2xqLQVzZsYUdwLkg0qkpwyai/6ahwPMcKzM4VmJRntKyH6DlzuhoLi5QBrXmWNPwkkPrVI2c/omeQc5UDFX/jIcb/Qqsu1aMZ+2I7WDUUwp6OjjD9CtRQN3c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=pass smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=EnaX3E7O; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="EnaX3E7O" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=p5Vh3Q4MvicpxkQQXha6iV0sEAoQb8xKTeE2RqXDXyM=; b=EnaX3E7OwDContKmpVjfgMDS/G z+lwIcDnAYjCri0HeiLaw5gtCwZnBW4bUetjxM5rultbGjtcb2Fv7zzCyiG0QJzI8AaXzo1jQDldu mxZnvAS3vsQ92PrvHWU3bJhHY9ZCrEnwImRRpP3J7YkwsKMWe4yQLTnw6Qyv1nClQbXSiz4+Pvlrj I8TOMJie9FzNsQgAn5mwXMVYlf4aMMdv7E9Tw4ZzQ2WEo9Mc3cHhEiBtnOVTKMwWmWPek0cOugKV2 lJb0lFMt25ZK/fwSRyGY8YHWYzHIYelCQBzVzwgmiAfGCQwCNrMtkf/FMb0M6ii067DlKkuksY74C nCMZgnIA==; Received: from [50.53.43.113] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.99.1 #2 (Red Hat Linux)) id 1wmwhV-0000000EkjF-3dd5; Thu, 23 Jul 2026 16:55:13 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Jason Baron , Jim Cromie Subject: [PATCH] dyndbg: use correct function parameter names in kernel-doc Date: Thu, 23 Jul 2026 09:55:13 -0700 Message-ID: <20260723165513.238760-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.55.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 '_ty= pe' description in 'DECLARE_DYNDBG_CLASSMAP' Warning: ./include/linux/dynamic_debug.h:102 Excess function parameter 'cla= sses' description in 'DECLARE_DYNDBG_CLASSMAP' Signed-off-by: Randy Dunlap --- Cc: Jason Baron Cc: Jim Cromie 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[] =3D { __VA_ARGS__ }; \