Skip to content

Commit 65b6e42

Browse files
rddunlapLinus Torvalds
authored andcommitted
docbook: sunrpc filenames and notation fixes
Use updated file list for docbook files and fix kernel-doc warnings in sunrpc: Warning(linux-2.6.24-git12//net/sunrpc/rpc_pipe.c:689): No description found for parameter 'rpc_client' Warning(linux-2.6.24-git12//net/sunrpc/rpc_pipe.c:765): No description found for parameter 'flags' Warning(linux-2.6.24-git12//net/sunrpc/clnt.c:584): No description found for parameter 'tk_ops' Warning(linux-2.6.24-git12//net/sunrpc/clnt.c:618): No description found for parameter 'bufsize' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Trond Myklebust <trond.myklebust@fys.uio.no> Cc: "J. Bruce Fields" <bfields@fieldses.org> Cc: Neil Brown <neilb@suse.de> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 073b86d commit 65b6e42

4 files changed

Lines changed: 15 additions & 8 deletions

File tree

‎Documentation/DocBook/kernel-api.tmpl‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,14 @@ X!Ilib/string.c
231231
!Dnet/sunrpc/sunrpc_syms.c
232232
-->
233233
!Enet/sunrpc/xdr.c
234-
!Enet/sunrpc/svcsock.c
234+
!Enet/sunrpc/svc_xprt.c
235+
!Enet/sunrpc/xprt.c
235236
!Enet/sunrpc/sched.c
237+
!Enet/sunrpc/socklib.c
238+
!Enet/sunrpc/stats.c
239+
!Enet/sunrpc/rpc_pipe.c
240+
!Enet/sunrpc/rpcb_clnt.c
241+
!Enet/sunrpc/clnt.c
236242
</sect1>
237243
</chapter>
238244

‎net/sunrpc/clnt.c‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -464,9 +464,9 @@ rpc_release_client(struct rpc_clnt *clnt)
464464

465465
/**
466466
* rpc_bind_new_program - bind a new RPC program to an existing client
467-
* @old - old rpc_client
468-
* @program - rpc program to set
469-
* @vers - rpc program version
467+
* @old: old rpc_client
468+
* @program: rpc program to set
469+
* @vers: rpc program version
470470
*
471471
* Clones the rpc client and sets up a new RPC program. This is mainly
472472
* of use for enabling different RPC programs to share the same transport.
@@ -575,7 +575,7 @@ EXPORT_SYMBOL_GPL(rpc_call_sync);
575575
* @clnt: pointer to RPC client
576576
* @msg: RPC call parameters
577577
* @flags: RPC call flags
578-
* @ops: RPC call ops
578+
* @tk_ops: RPC call ops
579579
* @data: user call data
580580
*/
581581
int
@@ -610,7 +610,7 @@ EXPORT_SYMBOL_GPL(rpc_call_start);
610610
* rpc_peeraddr - extract remote peer address from clnt's xprt
611611
* @clnt: RPC client structure
612612
* @buf: target buffer
613-
* @size: length of target buffer
613+
* @bufsize: length of target buffer
614614
*
615615
* Returns the number of bytes that are actually in the stored address.
616616
*/

‎net/sunrpc/rpc_pipe.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ rpc_lookup_negative(char *path, struct nameidata *nd)
677677
/**
678678
* rpc_mkdir - Create a new directory in rpc_pipefs
679679
* @path: path from the rpc_pipefs root to the new directory
680-
* @rpc_clnt: rpc client to associate with this directory
680+
* @rpc_client: rpc client to associate with this directory
681681
*
682682
* This creates a directory at the given @path associated with
683683
* @rpc_clnt, which will contain a file named "info" with some basic
@@ -748,6 +748,7 @@ rpc_rmdir(struct dentry *dentry)
748748
* @private: private data to associate with the pipe, for the caller's use
749749
* @ops: operations defining the behavior of the pipe: upcall, downcall,
750750
* release_pipe, and destroy_msg.
751+
* @flags: rpc_inode flags
751752
*
752753
* Data is made available for userspace to read by calls to
753754
* rpc_queue_upcall(). The actual reads will result in calls to

‎net/sunrpc/xprt.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ EXPORT_SYMBOL_GPL(xprt_register_transport);
124124

125125
/**
126126
* xprt_unregister_transport - unregister a transport implementation
127-
* transport: transport to unregister
127+
* @transport: transport to unregister
128128
*
129129
* Returns:
130130
* 0: transport successfully unregistered

0 commit comments

Comments
 (0)