net/9p: client.h: clean up kernel-doc warnings
Subsystems (4)
PATCH 1/1 net/9p: client.h: clean up kernel-doc warnings
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!
---
Cc: Aneesh Kumar K.V <[email protected]>
Cc: Eric Van Hensbergen <[email protected]>
Cc: Latchesar Ionkov <[email protected]>
Cc: Dominique Martinet <[email protected]>
Cc: Christian Schoenebeck <[email protected]>
Cc: [email protected]
include/net/9p/client.h | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-)
include/net/9p/client.h +14 -8
@@ -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;
[email protected]
AI reviewSashiko has reviewed this patch and found no issues.
Quoted 10 lines
Repair all kernel-doc warnings:
Warning:
include/net/9p/client.h:52Enum value 'BeginDisconnect' not described in enum 'p9_trans_status'
Warning:include/net/9p/client.h:90struct member 'refcount' not described in 'p9_req_t'
Warning:include/net/9p/client.h:132struct member 'fcall_cache' not described in 'p9_client'
Warning:include/net/9p/client.h:132struct member 'trans_opts' not described in 'p9_client'
Warning:include/net/9p/client.h:147expecting prototype for structp9_fd_opts. Prototype was for structp9_client_optsinstead
Warning:include/net/9p/client.h:243enumfid_source{FID_FROM_OTHER,FID_FROM_INODE,FID_FROM_DENTRY, }; error: Cannot parse struct or union!Signed-off-by Randy Dunlap <[email protected]>
Sashiko has reviewed this patch and found no issues.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Dominique Martinet
maintainerRandy Dunlap wrote on Sun, Nov 22, 2026 at 04:44:25PM -0800:
Quoted 10 lines
Repair all kernel-doc warnings:
Warning:
include/net/9p/client.h:52Enum value 'BeginDisconnect' not described in enum 'p9_trans_status'
Warning:include/net/9p/client.h:90struct member 'refcount' not described in 'p9_req_t'
Warning:include/net/9p/client.h:132struct member 'fcall_cache' not described in 'p9_client'
Warning:include/net/9p/client.h:132struct member 'trans_opts' not described in 'p9_client'
Warning:include/net/9p/client.h:147expecting prototype for structp9_fd_opts. Prototype was for structp9_client_optsinstead
Warning:include/net/9p/client.h:243enumfid_source{FID_FROM_OTHER,FID_FROM_INODE,FID_FROM_DENTRY, }; error: Cannot parse struct or union!Signed-off-by Randy Dunlap <[email protected]>
Thanks, picked up!
Signature · 1 line
Dominique