Browse Source

xprtrdma: Correct some documenting comments

Fix kernel-doc warnings in net/sunrpc/xprtrdma/ .

net/sunrpc/xprtrdma/verbs.c:1575: warning: No description found for parameter 'count'
net/sunrpc/xprtrdma/verbs.c:1575: warning: Excess function parameter 'min_reqs' description in 'rpcrdma_ep_post_extra_recv'

net/sunrpc/xprtrdma/backchannel.c:288: warning: No description found for parameter 'r_xprt'
net/sunrpc/xprtrdma/backchannel.c:288: warning: Excess function parameter 'xprt' description in 'rpcrdma_bc_receive_call'

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Chuck Lever 7 years ago
parent
commit
9ab6d89e74
2 changed files with 2 additions and 2 deletions
  1. 1 1
      net/sunrpc/xprtrdma/backchannel.c
  2. 1 1
      net/sunrpc/xprtrdma/verbs.c

+ 1 - 1
net/sunrpc/xprtrdma/backchannel.c

@@ -294,7 +294,7 @@ void xprt_rdma_bc_free_rqst(struct rpc_rqst *rqst)
 
 
 /**
 /**
  * rpcrdma_bc_receive_call - Handle a backward direction call
  * rpcrdma_bc_receive_call - Handle a backward direction call
- * @xprt: transport receiving the call
+ * @r_xprt: transport receiving the call
  * @rep: receive buffer containing the call
  * @rep: receive buffer containing the call
  *
  *
  * Operational assumptions:
  * Operational assumptions:

+ 1 - 1
net/sunrpc/xprtrdma/verbs.c

@@ -1584,7 +1584,7 @@ out_map:
 /**
 /**
  * rpcrdma_ep_post_extra_recv - Post buffers for incoming backchannel requests
  * rpcrdma_ep_post_extra_recv - Post buffers for incoming backchannel requests
  * @r_xprt: transport associated with these backchannel resources
  * @r_xprt: transport associated with these backchannel resources
- * @min_reqs: minimum number of incoming requests expected
+ * @count: minimum number of incoming requests expected
  *
  *
  * Returns zero if all requested buffers were posted, or a negative errno.
  * Returns zero if all requested buffers were posted, or a negative errno.
  */
  */