瀏覽代碼

kernel/timer.c: fix kernel-doc function parameter warning

Fix kernel-doc warning, add @timer description:

  Warning(kernel/timer.c:335): No description found for parameter 'timer'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Randy Dunlap 15 年之前
父節點
當前提交
0caa621065
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      kernel/timer.c

+ 1 - 0
kernel/timer.c

@@ -326,6 +326,7 @@ EXPORT_SYMBOL_GPL(round_jiffies_up_relative);
 
 
 /**
 /**
  * set_timer_slack - set the allowed slack for a timer
  * set_timer_slack - set the allowed slack for a timer
+ * @timer: the timer to be modified
  * @slack_hz: the amount of time (in jiffies) allowed for rounding
  * @slack_hz: the amount of time (in jiffies) allowed for rounding
  *
  *
  * Set the amount of time, in jiffies, that a certain timer has
  * Set the amount of time, in jiffies, that a certain timer has