Skip to contentSkip to conversation

splice: fix new kernel-doc warnings

PATCH In review Randy Dunlap 2 participants 2 messages Apr 17, 2009 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 splice: fix new kernel-doc warnings

From: Randy Dunlap <[email protected]>

splice: fix kernel-doc warnings

Warning(fs/splice.c:617): bad line:
Warning(fs/splice.c:722): No description found for parameter 'sd' Warning(fs/splice.c:722): Excess function parameter 'pipe' description in 'splice_from_pipe_begin'

---
 fs/splice.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
fs/splice.c +1 -2
@@ -614,7 +614,6 @@ static void wakeup_pipe_writers(struct p
  * @actor:	handler that splices the data
  *
  * Description:
-
  *    This function loops over the pipe and calls @actor to do the
  *    actual moving of a single struct pipe_buffer to the desired
  *    destination.  It returns when there's no more buffers left in
@@ -711,7 +710,7 @@ EXPORT_SYMBOL(splice_from_pipe_next);
 
 /**
  * splice_from_pipe_begin - start splicing from pipe
- * @pipe:	pipe to splice from
+ * @sd:		information about the splice operation
  *
  * Description:
  *    This function should be called before a loop containing
#1 lore raw
Quoted 7 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

splice: fix kernel-doc warnings

Warning(fs/splice.c:617): bad line:
Warning(fs/splice.c:722): No description found for parameter 'sd' Warning(fs/splice.c:722): Excess function parameter 'pipe' description in 'splice_from_pipe_begin'

Thanks Randy, applied.

Signature · 1 line
Jens Axboe