mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 21:02:43 +01:00
build_bug.h: correct function parameters names in kernel-doc
Use the correct function (or macro) names to avoid kernel-doc warnings: Warning: include/linux/build_bug.h:38 function parameter 'cond' not described in 'BUILD_BUG_ON_MSG' Warning: include/linux/build_bug.h:38 function parameter 'msg' not described in 'BUILD_BUG_ON_MSG' Warning: include/linux/build_bug.h:76 function parameter 'expr' not described in 'static_assert' Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Randy Dunlap <[email protected]> Reviewed-by: SeongJae Park <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
This commit is contained in:
1 parent
36f46b0e36
commit
6ffd853b0b
1 file changed
+3
-1
@@ -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: build-time error message
|
||||
*
|
||||
* See BUILD_BUG_ON for description.
|
||||
*/
|
||||
@@ -60,6 +61,7 @@
|
||||
|
||||
/**
|
||||
* static_assert - check integer constant expression at build time
|
||||
* @expr: expression to be checked
|
||||
*
|
||||
* static_assert() is a wrapper for the C11 _Static_assert, with a
|
||||
* little macro magic to make the message optional (defaulting to the
|
||||
|
||||
Reference in new issue
Block a user