Commit ffbbf2da9e578dc7b7ae4f945412c4b74f54b20e

Authored by Randy Dunlap
Committed by Linus Torvalds
1 parent fb9f1f17e9

kernel.h: fix kernel-doc warning

Fix kernel-doc warning in kernel.h from commit 7ef88ad56145
("BUILD_BUG_ON: make it handle more cases"):

  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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

include/linux/kernel.h
... ... @@ -588,7 +588,7 @@
588 588  
589 589 /**
590 590 * BUILD_BUG_ON - break compile if a condition is true.
591   - * @cond: the condition which the compiler should know is false.
  591 + * @condition: the condition which the compiler should know is false.
592 592 *
593 593 * If you have some code which relies on certain constants being equal, or
594 594 * other compile-time-evaluated condition, you should use BUILD_BUG_ON to