@@ -32,7 +32,8 @@
/**
* BUILD_BUG_ON_MSG - break compile if a condition is true & emit supplied
* error message.
- * @condition: the condition which the compiler should know is false.
+ * @cond: the condition which the compiler should know is false.
+ * @msg: the error message to show when the condition is true.
*
* See BUILD_BUG_ON for description.
*/
@@ -60,6 +61,8 @@
/**
* static_assert - check integer constant expression at build time
+ * @expr: the integer constant expression which the compiler should know is
+ * true.
*
* static_assert() is a wrapper for the C11 _Static_assert, with a
* little macro magic to make the message optional (defaulting to the
Add missing documentation describing function parameters of macros, thus removing warnings. Signed-off-by: Milan Lakhani <milan.lakhani@codethink.co.uk> --- include/linux/build_bug.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)