Skip to contentSkip to conversation

svcrdma: Fix svc_rdma_recv_cid_init() kernel-doc

PATCH In review Karl Mehltretter 2 participants 2 messages Sep 9

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

PATCH 1/1 svcrdma: Fix svc_rdma_recv_cid_init() kernel-doc

svc_rdma_recv_cid_init() initializes a Receive Queue completion ID, but its kernel-doc heading names svc_rdma_send_cid_init(). The latter is a separate helper immediately below it, so kernel-doc cannot match this comment to the receive helper.

Fix the copied function name.

Fixes 28ee0ec8948a ("svcrdma: De-duplicate completion ID initialization helpers")
Assisted-by LLM
---
 include/linux/sunrpc/svc_rdma.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/sunrpc/svc_rdma.h +1 -1
index 76aa5ec4ab40..5ccb13bf906f 100644
@@ -142,7 +142,7 @@ enum {
 #define RPCSVC_MAXPAYLOAD_RDMA	RPCSVC_MAXPAYLOAD
 
 /**
- * svc_rdma_send_cid_init - Initialize a Receive Queue completion ID
+ * svc_rdma_recv_cid_init - Initialize a Receive Queue completion ID
  * @rdma: controlling transport
  * @cid: completion ID to initialize
  */

base-commit: 893e11787f78e43b534e252249ac3fff4d1333f8

Signature · 1 line
2.53.0
maintainer
#1 lore raw
Quoted 8 lines · Karl Mehltretter

svc_rdma_recv_cid_init() initializes a Receive Queue completion ID, but its kernel-doc heading names svc_rdma_send_cid_init(). The latter is a separate helper immediately below it, so kernel-doc cannot match this comment to the receive helper.

Fix the copied function name.

[...]

Applied to nfsd-testing, thanks!

[1/1] svcrdma: Fix svc_rdma_recv_cid_init() kernel-doc
(no commit info)

--
Chuck Lever