lkml.org 
[lkml]   [2008]   [Feb]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSat, 9 Feb 2008 08:22:42 +0100
FromChristoph Hellwig <>
SubjectRe: [PATCH] fix up kerneldoc in fs/ioctl.c a little bit
On Sat, Feb 09, 2008 at 02:19:27AM -0500, Erez Zadok wrote:
> >   * Invokes filesystem specific ->unlocked_ioctl, if one exists; otherwise
> >   * invokes * filesystem specific ->ioctl method.  If neither method exists,
>               ^
> 
> I also think this extra '*' in the last comment line above is spurious,
> perhaps the result of a paragraph reformatting command that mixed comment
> *'s with text.

Indeed.  Updated patch below:


Index: linux-2.6/fs/ioctl.c
===================================================================
--- linux-2.6.orig/fs/ioctl.c	2008-02-09 07:51:31.000000000 +0100
+++ linux-2.6/fs/ioctl.c	2008-02-09 08:21:30.000000000 +0100
@@ -18,12 +18,12 @@
 
 /**
  * vfs_ioctl - call filesystem specific ioctl methods
- * @filp: [in]     open file to invoke ioctl method on
- * @cmd:  [in]     ioctl command to execute
- * @arg:  [in/out] command-specific argument for ioctl
+ * @filp:	open file to invoke ioctl method on
+ * @cmd:	ioctl command to execute
+ * @arg:	command-specific argument for ioctl
  *
  * Invokes filesystem specific ->unlocked_ioctl, if one exists; otherwise
- * invokes * filesystem specific ->ioctl method.  If neither method exists,
+ * invokes filesystem specific ->ioctl method.  If neither method exists,
  * returns -ENOTTY.
  *
  * Returns 0 on success, -errno on error.

\
 
 \ /
  Last update: 2008-02-09 08:27    [from the cache]
©2003-2008