Article View: linux.kernel.netdev
Article #25950Re: [PATCH v3] docs: kdoc: fix struct_group_tagged() parsing regression
From: Jonathan Corbet
Date: Wed, 02 Dec 2026 19:47
Date: Wed, 02 Dec 2026 19:47
30 lines
9451 bytes
9451 bytes
Omokefe Emmanuel Onanaroghene <emmaonana18@gmail.com> writes:
> kernel-doc reports struct_group_tagged() members as excess because
> the macro transformation rewrites it to an anonymous struct and drops their
> member names.
>
> Keep the tag and member name when transforming struct_group_tagged(). The
> nested members are then recorded as names such as fast.order; accept the
> existing unqualified @order documentation tag during validation.
>
> Add a regression test based on struct page_pool_params.
>
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
> Link: https://lore.kernel.org/all/0cf8ea5f-418f-45f0-907c-3d1ed4f03e9f@infradead.org/
> Fixes: 2f07ddbd5793 ("docs: xforms_lists: better evaluate struct_group macros")
> Assisted-by: LLM
That tag is no longer needed.
> Tested-by: TAKANO Mitsuhiro <takano32@gmail.com>
> Signed-off-by: Omokefe Emmanuel Onanaroghene <emmaonana18@gmail.com>
This patch is not even close to applying to docs-next; you appear to
have built it against 7.4-rc4, which is not helpful. Please resubmit
based on docs-next.
Thanks,
jon
Technical Details
Message-ID:
<87cxrjbh1v.fsf@trenco.lwn.net>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376034-linux-kernel-netdev=dewy.ruReferences:
<20261129114700.12614-1-emmaonana18@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376034-linux-kernel-netdev=dewy.ru From: corbet@lwn.net (Jonathan Corbet) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v3] docs: kdoc: fix struct_group_tagged() parsing regression Date: Wed, 02 Dec 2026 12:47:56 -0700 Organization: Usenet Network Message-ID: <87cxrjbh1v.fsf@trenco.lwn.net> References: <20261129114700.12614-1-emmaonana18@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: usenet.network; logging-data="2044829"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:QMiIUfcAuVFnES5iBG1Yzjd2uIM= sha256:pSld0kZQOgJByYt1mw8qXdid8oiwP5eKZhtG18LQ3m8= sha1:D9856mEpxcgEnz66k5DEPYxcVis= sha256:qpK/rPNpnMimi4cedgKRras0L4r2mc7x3eA3IfU7sVE= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 862AE117710; Wed, 2 Dec 2026 22:48:25 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.05 X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=lwn.net X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6chZe02pjHCX; Wed, 2 Dec 2026 22:48:17 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-376034-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lwn.net X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 178C111770C; Wed, 2 Dec 2026 22:48:06 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id CB51C2BDE1; Wed, 2 Dec 2026 19:48:04 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796240884; b=s5RdILHHcFpf7CM5rVgjxgRNq39sBk7a7LsFZaIZIuuU/gQIISGZmNoY/c23my7egu1D 9mQMqpBAmdLRS9IcnnUfBttM/zwLmqolTOVlwzXu3mVV6sAHrJ3DlaZmzn2DZw7NIQOBu mReJceM1kVIFPyAIfvjXEf2pP4EmPR7nwAppc9F8sVtqBFZ9lolxUwPeTSHlpjdVKNYEa u0SphIDkcAg+g2IqeeVQTkib+wnpq8c6mIs1HRlXv/roEWj1/jHlMxXQf7fVmnOSpZy0d hksSBVZbNowFJqMHuTaAuLWRVYO9KJnZgJTGc9ExYTEYH5iiRbJtXRSOR4XdBMMkYFQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796240884; h=X-Original-To:Received:DMARC-Filter:DKIM-Filter:DKIM-Signature: Received:From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type; bh=3n8XSsmvAt2cGZRiexyGeyLW8aTS9asGEJ3vzeJ9+oc=; b=KAYD9TbKE0U/+/bEcQoNQRiZX7dzI3QpupA2i1XkiyBaq4FQ6GdshRGOwXQTbU6/PI1m t7VVX76NlznT3i5zIPjgGYmqcTbXcqbKc9RIbTc+dtJKdxqbHmmjZ5LPErj8S1E2oNAQu WYZoFwC1JxqYzr/swlDuEpoM3LPWreMKIlQs7FIiLgIsii2K2RUt/lQXgEGWUqJEUSRND 4npVzjEPoI/7HyU6t+ljnm5v49bm0QKmT3LYf8APpyviC2xhpZox035Sc/mtAo12VU+x5 dKOVuQwOhrUwZ0bECdDH7br/pupsS55EySZPqvEmljsKwVavEBnuTHVMlTX9REAT+7g== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=lwn.net header.i=@lwn.net header.a=rsa-sha256 header.s=20201203 header.b="BKwC0/2h"; dmarc=pass header.from=lwn.net; spf=pass smtp.mailfrom=lwn.net; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A3F05606A334; Wed, 2 Dec 2026 19:48:04 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.a=rsa-sha256 header.s=20201203 header.b=BKwC0/2h X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=45.79.88.28 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796240878; b=lDDOgw/6bO4TDvu9oLGK65AOGv7/ip/bYOg/CCalLdnfuyxdcddN8yCiJerD4MXVP3/F +9eFkMer6RX9QnH5MNbId1Rbkn2+tJkyhZkXRjcDGSMJt4lhTH0MXHfbYnhvuvqCl5kC1 AW16j6Unmwrqug9e61Y5BCJYZx8xLPYe8nuMPRx+UsoBVag2Ca8hc+MIh0KcIxN4ZUeO5 6DvGM2mnQQCGEaNH3WKyMC9Ifr9luaJITmDlSD+VFdhKH3etRWjstDUmXA2Nu/WS4Twf6 opYvWWKLKb7wUTqSQqWGWQb+Tzhn58t3k1JFs6C7P3sH08LVi1QbL9dC3hyxfZrHK+w== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796240878; h=DMARC-Filter:DKIM-Filter:DKIM-Signature:Received:From:To:Cc:Subject: In-Reply-To:References:Date:Message-ID:MIME-Version:Content-Type; bh=3n8XSsmvAt2cGZRiexyGeyLW8aTS9asGEJ3vzeJ9+oc=; b=K2dfzxD6/nRCGibft4o50SjDvd14wKPnTLnySEfKkZAsDJUNLjAD3IM8eV5wnvdGzzFx TAyPMsEaSfmx+8Q7xCM2O6Wobf9vC714PMFC1jETZvg8jVXDTxRlH1tKOjVzNM+8q1GYg 4Jz8bN00FvbfoxfxGqs7e6aUQFFy+69hADRm9abPanJ3+othp6KdpVPBTwSxOx66NaGFq lEMp58Uy9uUluoZyVS+kP0jBGHF+FGW9QsQfR3BR1+wYz6Byy7PsGu3Gbc6zh23b7XQCS kFmV593RxFQE0+Eqx8/BKqdD1mAUJGAGv5gJyTFFuMzF9W/xgHoYG2z47ZDbLqwMzXg== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lwn.net; spf=pass smtp.mailfrom=lwn.net; dkim=pass header.d=lwn.net header.i=@lwn.net header.a=rsa-sha256 header.s=20201203 header.b="BKwC0/2h"; arc=none smtp.remote-ip=45.79.88.28 X-Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 608C1606A322; Wed, 2 Dec 2026 19:47:58 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 608C1606A322 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lwn.net X-DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 7214E40904 X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1796240877; bh=3n8XSsmvAt2cGZRiexyGeyLW8aTS9asGEJ3vzeJ9+oc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=BKwC0/2hxzSqxAtAbJsmubLletcS5Qg3AliKamsDIzvwW3v3YfD5WbnMuGy/DLits CZGSvYr7ZBZ+lMbjbBNMps2U7MvXEE8pul50QMN/lNa8jveZ+lw/28wZmkDnKwK6tX FdHLvgJjfk3vkfw9q5YVBXLyM0HeQCl141MLsGfY+IGsHRe5A7bhd/pgQI/ixf/qR6 D9WtKVxj9L1mqxddmTomjohmgsh0LXkJe5rXMh4flvg3OtD4+jN3BX2GKA71wkGArk LFiU82MqL21P0kjUYx8O0CB3Ph51wo0aak616BEA7L3gthq3hHKWY6aEdP7YzV0uzc zVrGRBJt5Ky3A== X-Received: from localhost (unknown [IPv6:2601:280:4600:9f::1fe]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 7214E40904; Wed, 2 Dec 2026 19:47:57 +0000 (UTC) X-Cc: skhan@linuxfoundation.org, rdunlap@infradead.org, mchehab@kernel.org, aleksander.lobakin@intel.com, aleksandr.loktionov@intel.com, tudor.ambarus@linaro.org, bvanassche@acm.org, takano32@gmail.com, Omokefe Emmanuel Onanaroghene <emmaonana18@gmail.com> X-In-Reply-To: <20261129114700.12614-1-emmaonana18@gmail.com> X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list