Netdev List
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: linux-fsdevel@vger.kernel.org, netdev@vger.kernel.org
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
Subject: [PATCH] net/9p: client.h: clean up kernel-doc warnings
Date: Sun, 22 Nov 2026 16:44:25 -0800	[thread overview]
Message-ID: <20261123004425.1770155-1-rdunlap@infradead.org> (raw)

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;

                 reply	other threads:[~2026-11-23  0:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261123004425.1770155-1-rdunlap@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=asmadeus@codewreck.org \
    --cc=ericvh@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux_oss@crudebyte.com \
    --cc=lucho@ionkov.net \
    --cc=netdev@vger.kernel.org \
    --cc=v9fs@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox