Skip to contentSkip to conversation

9p/trans_fd: remove Excess kernel-doc comment

PATCH In review Randy Dunlap 2 participants 2 messages Feb 12, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 9p/trans_fd: remove Excess kernel-doc comment

Remove the "@req" kernel-doc description since there is not 'req' member in the struct p9_conn.

Fixes one kernel-doc warning:
trans_fd.c:133: warning: Excess struct member 'req' description in 'p9_conn'

Cc Eric Van Hensbergen <[email protected]>
Cc Latchesar Ionkov <[email protected]>
Cc Dominique Martinet <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Eric Dumazet <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Paolo Abeni <[email protected]>

---

v2: add Simon's Reviewed-by;
    rebase & resend;
 net/9p/trans_fd.c |    1 -
 1 file changed, 1 deletion(-)
net/9p/trans_fd.c +0 -1
diff -- a/net/9p/trans_fd.c b/net/9p/trans_fd.c
@@ -95,7 +95,6 @@ struct p9_poll_wait {
  * @unsent_req_list: accounting for requests that haven't been sent
  * @rreq: read request
  * @wreq: write request
- * @req: current request being processed (if any)
  * @tmp_buf: temporary buffer to read in header
  * @rc: temporary fcall for reading current frame
  * @wpos: write position for current frame
#1 lore raw

Randy Dunlap wrote on Sun, Feb 11, 2024 at 08:33:41PM -0800:

Quoted 7 lines

Remove the "@req" kernel-doc description since there is not 'req' member in the struct p9_conn.

Fixes one kernel-doc warning:
trans_fd.c:133: warning: Excess struct member 'req' description in 'p9_conn'

Sorry for the lack of reply, I intended to take the patch when the next ""real"" patch comes in but it doesn't look like we'll get much activity this cycle so I've just queued it up to -next.

Thanks!

FWIW, I contemplated adding

Fixes 6d35190f3953 ("9p: Rename req to rreq in trans_fd")

but that's basically been forever so I don't think anyone will care about backports -- and I'm both surprised and ashamed I didn't see this W=1 warning earlier, I thought I regularly build with that...

Signature · 1 line
Dominique