🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #20607

[PATCH] net/9p: client.h: clean up kernel-doc warnings

#20607
From: Randy Dunlap
Date: Mon, 23 Nov 2026 00:44
95 lines
11874 bytes
Repair all kernel-doc warnings:

Warning: include/net/9p/client.h:52 Enum value 'BeginDisconnect' not described in enum 'p9_trans_status'
Warning: include/net/9p/client.h:90 struct member 'refcount' not described in 'p9_req_t'
Warning: include/net/9p/client.h:132 struct member 'fcall_cache' not described in 'p9_client'
Warning: include/net/9p/client.h:132 struct member 'trans_opts' not described in 'p9_client'
Warning: include/net/9p/client.h:147 expecting prototype for struct p9_fd_opts. Prototype was for struct p9_client_opts instead
Warning: include/net/9p/client.h:243 enum fid_source { FID_FROM_OTHER, FID_FROM_INODE, FID_FROM_DENTRY, }; error: Cannot parse struct or union!

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: Eric Van Hensbergen <ericvh@kernel.org>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Cc: Dominique Martinet <asmadeus@codewreck.org>
Cc: Christian Schoenebeck <linux_oss@crudebyte.com>
Cc: v9fs@lists.linux.dev

 include/net/9p/client.h |   22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

--- linux-next-20261120.orig/include/net/9p/client.h
+++ linux-next-20261120/include/net/9p/client.h
@@ -38,6 +38,7 @@ enum p9_proto_versions {
 /**
  * enum p9_trans_status - different states of underlying transports
  * @Connected: transport is connected and healthy
+ * @BeginDisconnect: beginning transition to @Disconnected
  * @Disconnected: transport has been disconnected
  * @Hung: transport is connected by wedged
  *
@@ -75,6 +76,7 @@ enum p9_req_status_t {
  * struct p9_req_t - request slots
  * @status: status of this request slot
  * @t_err: transport error
+ * @refcount: request refcount
  * @wq: wait_queue for the client to block on for this request
  * @tc: the request fcall structure
  * @rc: the response fcall structure
@@ -98,6 +100,8 @@ struct p9_req_t {
  * @trans_mod: module API instantiated with this client
  * @status: connection state
  * @trans: transport instance state and API
+ * @fcall_cache: per-client fcall kmem cache
+ * @trans_opts: union of struct fd, struct tcp
  * @fids: All active FID handles
  * @reqs: All active requests.
  * @name: node name used as client id
@@ -137,9 +141,9 @@ struct p9_client {
 };
 
 /**
- * struct p9_fd_opts - holds client options during parsing
+ * struct p9_client_opts - holds client options during parsing
  * @msize: maximum data size negotiated by protocol
- * @prot-Oversion: 9P protocol version to use
+ * @proto_version: 9P protocol version to use
  * @trans_mod: module API instantiated with this client
  *
  * These parsed options get transferred into client in
@@ -228,25 +232,27 @@ struct v9fs_context {
 	struct p9_session_opts	session_opts;
 };
 
+enum fid_source {
+	FID_FROM_OTHER,
+	FID_FROM_INODE,
+	FID_FROM_DENTRY,
+};
+
 /**
  * struct p9_fid - file system entity handle
  * @clnt: back pointer to instantiating &p9_client
  * @fid: numeric identifier for this handle
+ * @count: reference counter
  * @mode: current mode of this fid (enum?)
  * @qid: the &p9_qid server identifier this handle points to
  * @iounit: the server reported maximum transaction size for this file
  * @uid: the numeric uid of the local user who owns this handle
  * @rdir: readdir accounting structure (allocated on demand)
  * @dlist: per-dentry fid tracking
+ * @ilist: inode list
  *
  * TODO: This needs lots of explanation.
  */
-enum fid_source {
-	FID_FROM_OTHER,
-	FID_FROM_INODE,
-	FID_FROM_DENTRY,
-};
-
 struct p9_fid {
 	struct p9_client *clnt;
 	u32 fid;
Technical Details
Message-ID: <20261123004425.1770155-1-rdunlap@infradead.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368910-linux-kernel-netdev=dewy.ru

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368910-linux-kernel-netdev=dewy.ru
From: rdunlap@infradead.org (Randy Dunlap)
Newsgroups: linux.kernel.netdev
Subject: [PATCH] net/9p: client.h: clean up kernel-doc warnings
Date: Sun, 22 Nov 2026 16:44:25 -0800
Organization: Usenet Network
Message-ID: <20261123004425.1770155-1-rdunlap@infradead.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3756473"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:gMaIQyEcESqTVZ7CWn98t+n1XTs= sha256:dR+/pDO5z6MeP9yqI21iyBkYFCFwGO8dB5pX2HRaJN0=
	sha1:RLcFyUgcX/p+37JpBla/9VaODdk= sha256:o6+RrZ1jhFok8bAy+EDytAl9rVyyMgIsAfuWUbA9wps=
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 B098F125D87; Mon, 23 Nov 2026 03:44:57 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 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] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=infradead.org
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 f0PddFJg-bIn;
	Mon, 23 Nov 2026 03:44:54 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-368910-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=infradead.org
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id D3996125D88; Mon, 23 Nov 2026 03:44:44 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 0D5D62380F; Mon, 23 Nov 2026 00:44:42 +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=1795394680;
	b=Nv4tfEWZK1wFhHsjLGk+ibfoaPr87svoS6HMTNCkLsQvK9jFPg6aRPOxW+xxxhITdKmU
	 WeXUd0AFPI5/vbgTsbuiFNDVDYZkE5P5kK49bHFXMRpbVVVxc3tmat4SHA7K/BUuU5/Ka
	 OUVBDjcNoJq0pk/6tWwtq9u4iI8iQQw2gL2D78A6khJyxl97t34MktxYgQONqmsgkm3PE
	 91EbLpPE/+UyBqeG7wtbgSUKVjjgL1oUdzneLDv5hFSG3uhdOeYi4DxKO4WNe0uGmRtmX
	 TvNhqe+oFGqJpHpTg1/DGN9mFAIL6RmK1VLfokLT4Qac8m0s8yPXObvFC/4LlRYv3RA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795394680;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:From:To:
	 Cc:Subject:Date:Message-ID:X-Mailer:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:Content-Transfer-Encoding;
	bh=TN3atIghVemOlMWS6OdQtOm4gB9s02HY7cHrHMnNt1g=;
	b=jbwCvMIRSiSAlBfiJ5SHW3RcWFbkL/xmMu7xWaUEibTzy7TA+R5aWw5o/24OZC7V3L9m
	 x8ngTy9yxMUSxjTpYEyYjGck3rxtPy971/w4P4+rBcsCkKlNZX7jXo5i/v5ozAjerChcO
	 ZGkafPTWHaq5Xiq+5/QP36x2pznWzVyWQuXVPg5n2/H59EK4WxepmlT14ADsvEXdzKbxm
	 gB5CY2ddhJo8GvtOvFetVddMy/jNmDIgXFbGW59UOuF7xPaJSTJaEFrDMFYD6wEwZQKZl
	 fATJqC/uyTTq44cvNNtgBWw3b0f4q6yKfNHezZP0uFS3e3sIKnVgDN2RdLmh3gHRTLQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Z3ADhScw;
	dmarc=pass header.from=infradead.org;
	spf=pass smtp.mailfrom=infradead.org;
	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 D3BD8606A682;
	Mon, 23 Nov 2026 00:44:40 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Z3ADhScw
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.137.202.133
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795394675;
	b=njmtPiOqD8h3qVZyaeRKs/heeSsu289EOUuMVGMMdVYs6NBYhj1NcTtTKagE5NL8T5V9
	 Ezh2sHrelDrYgXEFydMvM9vVoJnYSuUeHPskh7iU9zuzev03WEf5rfX1X1IW96mhVG1g0
	 vxHdlqmvsheKOeyIA/j9r/g4fBMzTId8qUefivAiiIwvKd/xwHUPhtx3EDW/YbBT5TFgB
	 1YbEvI3tUwij8285GPCUk4b3xR4VGEC7ugqQ4Hj0AEHm/cd+9BZnQdvSs74tcMZe62MOr
	 6O7F/UIz3OA/+TnhIrkL8OAC8eQkL2dZ9dOJfKdP8vh3452nX7tiE7vi+eWYL/0EnJw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795394675;
	h=DMARC-Filter:DKIM-Signature:Received:From:To:Cc:Subject:Date:
	 Message-ID:X-Mailer:MIME-Version:Content-Transfer-Encoding;
	bh=TN3atIghVemOlMWS6OdQtOm4gB9s02HY7cHrHMnNt1g=;
	b=dRGJS7A8eyYqj/A9XWtA/A3CKaQ5UDBlSUAaN8DUCw9QRAqV/5CphSSC+mTMJJgymtY5
	 cYCKP9B5+qPE0dcnf73wvZ78u8G2j8Ix05hwr+NdNcJBspBOH40+DxhjIglryfEcCDm4B
	 MoAolt+0bs3I5G8yWm3S4z17YnNOSwmHk08tA75llDm8QYHL0sbdG+l81ysNrw8BAErRP
	 beM+gJuRejqucD2mCC249ArnnJ6ZojuJeSHPUbI/SsMaLpdx2O6a/dWAnmE2J0LFwILS0
	 F21AVSBCWUWSUVAqf1pbJW1rnYa/HIzDv/Lo+MAt4G6DK378hOtqSPpC2NOYj9ETlMw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=infradead.org;
	spf=pass smtp.mailfrom=infradead.org;
	dkim=pass header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Z3ADhScw;
	arc=none smtp.remote-ip=198.137.202.133
X-Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133])
	(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 BD71B606A33B;
	Mon, 23 Nov 2026 00:44:33 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org BD71B606A33B
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=infradead.org
X-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=TN3atIghVemOlMWS6OdQtOm4gB9s02HY7cHrHMnNt1g=; b=Z3ADhScwMuC+uRls6/gs6Q/4nA
	MMFZuo0UX9R0GXb1cCxFJvko7rCzgYCmmBRUYJzCmF2ih1n/L5KvdYj+dvBWKpJbJcJbt2mC+EK5V
	1JgsOfz1mzzezHvHMP+068m5rFFXHENOmJFqovAFiUFdtLqtaOVP6WmywhcJacE21CmrZYOaikyTm
	1u8ZYA9lZ1V9okBI3x5H97qh1XrYuJShsDgDg9VWBt+mB0kchvwCRF6vil1pn+OrMzjy3Z7xR5LMW
	ZBWgr2XGHt6vWW9WbgvjhRRqe7eyYQoDMEWvrYBJqEfuNts0DoKFXgXIwWGxkYbQuUup3leshLl4j
	gpIvaIXQ==;
X-Received: from [50.53.43.113] (helo=bombadil.infradead.org)
	by bombadil.infradead.org with esmtpsa (Exim 4.100.1 #2 (Red Hat Linux))
	id 1xVIAU-000000020Cs-35wA;
	Mon, 23 Nov 2026 00:44:26 +0000
X-Cc: Randy Dunlap <rdunlap@infradead.org>,
	"Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>,
	Eric Van Hensbergen <ericvh@kernel.org>,
	Latchesar Ionkov <lucho@ionkov.net>,
	Dominique Martinet <asmadeus@codewreck.org>,
	Christian Schoenebeck <linux_oss@crudebyte.com>,
	v9fs@lists.linux.dev
X-Mailer: git-send-email 2.56.1
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