All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] atomic_32.h: fix kernel-doc warnings
@ 2009-06-14  3:00 Randy Dunlap
  2009-06-14  7:09 ` [tip:x86/urgent] x86: atomic_32.h: Fix " tip-bot for Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2009-06-14  3:00 UTC (permalink / raw)
  To: lkml, x86

From: Randy Dunlap <randy.dunlap@oracle.com>

Fix kernel-doc warnings in atomic_32.h:

Warning(arch/x86/include/asm/atomic_32.h:265): No description found for parameter 'ptr'
Warning(arch/x86/include/asm/atomic_32.h:265): Excess function parameter 'v' description in '__atomic64_read'
Warning(arch/x86/include/asm/atomic_32.h:305): Excess function parameter 'old_val' description in 'atomic64_xchg'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 arch/x86/include/asm/atomic_32.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- linux-2.6.30-git7.orig/arch/x86/include/asm/atomic_32.h
+++ linux-2.6.30-git7/arch/x86/include/asm/atomic_32.h
@@ -257,7 +257,7 @@ typedef struct {
 
 /**
  * atomic64_read - read atomic64 variable
- * @v: pointer of type atomic64_t
+ * @ptr: pointer of type atomic64_t
  *
  * Atomically reads the value of @v.
  * Doesn't imply a read memory barrier.
@@ -294,7 +294,6 @@ atomic64_cmpxchg(atomic64_t *ptr, unsign
  * atomic64_xchg - xchg atomic64 variable
  * @ptr:      pointer to type atomic64_t
  * @new_val:  value to assign
- * @old_val:  old value that was there
  *
  * Atomically xchgs the value of @ptr to @new_val and returns
  * the old value.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-14  7:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-14  3:00 [PATCH] atomic_32.h: fix kernel-doc warnings Randy Dunlap
2009-06-14  7:09 ` [tip:x86/urgent] x86: atomic_32.h: Fix " tip-bot for Randy Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.