Skip to contentSkip to conversation

wait.c: fix new wake_up_atomic_t kernel-doc warnings

PATCH Superseded Randy Dunlap 1 participant 1 message Jul 15, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wait.c: fix new wake_up_atomic_t kernel-doc warnings

From: Randy Dunlap <[email protected]>

Fix new kernel-doc warnings in kernel/wait.c:

Warning(kernel/wait.c:374): No description found for parameter 'p' Warning(kernel/wait.c:374): Excess function parameter 'word' description in 'wake_up_atomic_t' Warning(kernel/wait.c:374): Excess function parameter 'bit' description in 'wake_up_atomic_t'

---
 kernel/wait.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
kernel/wait.c +1 -2
@@ -362,8 +362,7 @@ EXPORT_SYMBOL(out_of_line_wait_on_atomic
 
 /**
  * wake_up_atomic_t - Wake up a waiter on a atomic_t
- * @word: The word being waited on, a kernel virtual address
- * @bit: The bit of the word being waited on
+ * @p: The atomic_t being waited on, a kernel virtual address
  *
  * Wake up anyone waiting for the atomic_t to go to zero.
  *