LKML Archive on
help / color / mirror / Atom feed
From: Randy Dunlap <>
To: lkml <>
Cc: torvalds <>,
	Rusty Russell <>
Subject: [PATCH] kernel.h: fix kernel-doc warning
Date: Mon, 31 Jan 2011 09:29:14 -0800	[thread overview]
Message-ID: <> (raw)

From: Randy Dunlap <>

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 <>
 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

                 reply	other threads:[~2011-01-31 17:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: [PATCH] kernel.h: fix kernel-doc warning' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).