lkml.org 
[lkml]   [2006]   [Jun]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 1 Jun 2006 12:52:56 -0700
From"Randy.Dunlap" <>
SubjectRe: input: fix comments and blank lines in new ff code
On Thu, 01 Jun 2006 22:07:16 +0300 Anssi Hannula wrote:

> Fix comments so that they conform to kernel-doc and add/remove some
> blank lines.
> 
> Signed-off-by: Anssi Hannula <anssi.hannula@gmail.com>

(attachments make review/comments more trying, so this is an
abbreviated reply)

 /**
- * Lock the mutex and check the device has not been deleted
+ * input_ff_safe_lock - lock the mutex and check for the ff_device struct
+ *
+ * Returns 0 if device still present, 1 otherwise.
  */
 static inline int input_ff_safe_lock(struct input_dev *dev)
 {
Functions that are commented with kernel-doc need all of the parameters
documented also, like:

 * @dev: the input_dev (or better description)

There were a few places where you had these and deleted them.  :(
~~~~~~~~~~~~~~
(repeat for several functions...)

---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-06-01 19:52    [from the cache]
©2003-2008