LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] kernel.h: fix kernel-doc warning
@ 2011-01-31 17:29 Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2011-01-31 17:29 UTC (permalink / raw)
  To: lkml; +Cc: torvalds, Rusty Russell

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

Fix kernel-doc warning in kernel.h:
(from commit 7ef88ad561457c0346355dfd1f53e503ddfde719)

Warning(include/linux/kernel.h:605): No description found for parameter 'condition'
Warning(include/linux/kernel.h:605): Excess function parameter 'cond' description in 'BUILD_BUG_ON'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 include/linux/kernel.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.38-rc2-git5.orig/include/linux/kernel.h
+++ linux-2.6.38-rc2-git5/include/linux/kernel.h
@@ -588,7 +588,7 @@ struct sysinfo {
 
 /**
  * BUILD_BUG_ON - break compile if a condition is true.
- * @cond: the condition which the compiler should know is false.
+ * @condition: the condition which the compiler should know is false.
  *
  * If you have some code which relies on certain constants being equal, or
  * other compile-time-evaluated condition, you should use BUILD_BUG_ON to

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-31 17:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-31 17:29 [PATCH] kernel.h: fix kernel-doc warning Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).