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 --- Cc: Aneesh Kumar K.V Cc: Eric Van Hensbergen Cc: Latchesar Ionkov Cc: Dominique Martinet Cc: Christian Schoenebeck 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;