diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-07-10 06:55:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-11 02:13:45 -0400 |
commit | 2c53040f018b6c36a46eec75b9b937aaa5f78e6d (patch) | |
tree | f77d987c380f78daf40838688a5f49bb4ab065ee /net/sunrpc | |
parent | a55b138b1da3d25c04f66f8df03d659dfd46c950 (diff) |
net: Fix (nearly-)kernel-doc comments for various functions
Fix incorrect start markers, wrapped summary lines, missing section
breaks, incorrect separators, and some name mismatches.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/backchannel_rqst.c | 9 | ||||
-rw-r--r-- | net/sunrpc/clnt.c | 2 | ||||
-rw-r--r-- | net/sunrpc/xdr.c | 12 | ||||
-rw-r--r-- | net/sunrpc/xprt.c | 2 |
4 files changed, 14 insertions, 11 deletions
diff --git a/net/sunrpc/backchannel_rqst.c b/net/sunrpc/backchannel_rqst.c index 31def68a0f6e..5a3d675d2f2f 100644 --- a/net/sunrpc/backchannel_rqst.c +++ b/net/sunrpc/backchannel_rqst.c | |||
@@ -176,13 +176,14 @@ out_free: | |||
176 | } | 176 | } |
177 | EXPORT_SYMBOL_GPL(xprt_setup_backchannel); | 177 | EXPORT_SYMBOL_GPL(xprt_setup_backchannel); |
178 | 178 | ||
179 | /* | 179 | /** |
180 | * Destroys the backchannel preallocated structures. | 180 | * xprt_destroy_backchannel - Destroys the backchannel preallocated structures. |
181 | * @xprt: the transport holding the preallocated strucures | ||
182 | * @max_reqs the maximum number of preallocated structures to destroy | ||
183 | * | ||
181 | * Since these structures may have been allocated by multiple calls | 184 | * Since these structures may have been allocated by multiple calls |
182 | * to xprt_setup_backchannel, we only destroy up to the maximum number | 185 | * to xprt_setup_backchannel, we only destroy up to the maximum number |
183 | * of reqs specified by the caller. | 186 | * of reqs specified by the caller. |
184 | * @xprt: the transport holding the preallocated strucures | ||
185 | * @max_reqs the maximum number of preallocated structures to destroy | ||
186 | */ | 187 | */ |
187 | void xprt_destroy_backchannel(struct rpc_xprt *xprt, unsigned int max_reqs) | 188 | void xprt_destroy_backchannel(struct rpc_xprt *xprt, unsigned int max_reqs) |
188 | { | 189 | { |
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index f56f045778ae..00eb859b7de5 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
@@ -385,7 +385,7 @@ out_no_rpciod: | |||
385 | return ERR_PTR(err); | 385 | return ERR_PTR(err); |
386 | } | 386 | } |
387 | 387 | ||
388 | /* | 388 | /** |
389 | * rpc_create - create an RPC client and transport with one call | 389 | * rpc_create - create an RPC client and transport with one call |
390 | * @args: rpc_clnt create argument structure | 390 | * @args: rpc_clnt create argument structure |
391 | * | 391 | * |
diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c index fddcccfcdf76..0cf165580d8d 100644 --- a/net/sunrpc/xdr.c +++ b/net/sunrpc/xdr.c | |||
@@ -180,7 +180,9 @@ EXPORT_SYMBOL_GPL(xdr_inline_pages); | |||
180 | 180 | ||
181 | /* | 181 | /* |
182 | * Helper routines for doing 'memmove' like operations on a struct xdr_buf | 182 | * Helper routines for doing 'memmove' like operations on a struct xdr_buf |
183 | * | 183 | */ |
184 | |||
185 | /** | ||
184 | * _shift_data_right_pages | 186 | * _shift_data_right_pages |
185 | * @pages: vector of pages containing both the source and dest memory area. | 187 | * @pages: vector of pages containing both the source and dest memory area. |
186 | * @pgto_base: page vector address of destination | 188 | * @pgto_base: page vector address of destination |
@@ -242,7 +244,7 @@ _shift_data_right_pages(struct page **pages, size_t pgto_base, | |||
242 | } while ((len -= copy) != 0); | 244 | } while ((len -= copy) != 0); |
243 | } | 245 | } |
244 | 246 | ||
245 | /* | 247 | /** |
246 | * _copy_to_pages | 248 | * _copy_to_pages |
247 | * @pages: array of pages | 249 | * @pages: array of pages |
248 | * @pgbase: page vector address of destination | 250 | * @pgbase: page vector address of destination |
@@ -286,7 +288,7 @@ _copy_to_pages(struct page **pages, size_t pgbase, const char *p, size_t len) | |||
286 | flush_dcache_page(*pgto); | 288 | flush_dcache_page(*pgto); |
287 | } | 289 | } |
288 | 290 | ||
289 | /* | 291 | /** |
290 | * _copy_from_pages | 292 | * _copy_from_pages |
291 | * @p: pointer to destination | 293 | * @p: pointer to destination |
292 | * @pages: array of pages | 294 | * @pages: array of pages |
@@ -326,7 +328,7 @@ _copy_from_pages(char *p, struct page **pages, size_t pgbase, size_t len) | |||
326 | } | 328 | } |
327 | EXPORT_SYMBOL_GPL(_copy_from_pages); | 329 | EXPORT_SYMBOL_GPL(_copy_from_pages); |
328 | 330 | ||
329 | /* | 331 | /** |
330 | * xdr_shrink_bufhead | 332 | * xdr_shrink_bufhead |
331 | * @buf: xdr_buf | 333 | * @buf: xdr_buf |
332 | * @len: bytes to remove from buf->head[0] | 334 | * @len: bytes to remove from buf->head[0] |
@@ -399,7 +401,7 @@ xdr_shrink_bufhead(struct xdr_buf *buf, size_t len) | |||
399 | buf->len = buf->buflen; | 401 | buf->len = buf->buflen; |
400 | } | 402 | } |
401 | 403 | ||
402 | /* | 404 | /** |
403 | * xdr_shrink_pagelen | 405 | * xdr_shrink_pagelen |
404 | * @buf: xdr_buf | 406 | * @buf: xdr_buf |
405 | * @len: bytes to remove from buf->pages | 407 | * @len: bytes to remove from buf->pages |
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c index 3c83035cdaa9..a5a402a7d21f 100644 --- a/net/sunrpc/xprt.c +++ b/net/sunrpc/xprt.c | |||
@@ -531,7 +531,7 @@ void xprt_set_retrans_timeout_def(struct rpc_task *task) | |||
531 | } | 531 | } |
532 | EXPORT_SYMBOL_GPL(xprt_set_retrans_timeout_def); | 532 | EXPORT_SYMBOL_GPL(xprt_set_retrans_timeout_def); |
533 | 533 | ||
534 | /* | 534 | /** |
535 | * xprt_set_retrans_timeout_rtt - set a request's retransmit timeout | 535 | * xprt_set_retrans_timeout_rtt - set a request's retransmit timeout |
536 | * @task: task whose timeout is to be set | 536 | * @task: task whose timeout is to be set |
537 | * | 537 | * |