Skip to content

Commit 493ad07

Browse files
committed
tools headers: Synchronize linux/build_bug.h with the kernel sources
To pick up the changes in: 6ffd853 ("build_bug.h: correct function parameters names in kernel-doc") That just add some comments, addressing this perf tools build warning: Warning: Kernel ABI header differences: diff -u tools/include/linux/build_bug.h include/linux/build_bug.h Please take a look at tools/include/uapi/README for further info on this synchronization process. Cc: Andrew Morton <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Randy Dunlap <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 0a8b2a0 commit 493ad07

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tools/include/linux/build_bug.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
/**
3333
* BUILD_BUG_ON_MSG - break compile if a condition is true & emit supplied
3434
* error message.
35-
* @condition: the condition which the compiler should know is false.
35+
* @cond: the condition which the compiler should know is false.
36+
* @msg: build-time error message
3637
*
3738
* See BUILD_BUG_ON for description.
3839
*/
@@ -60,6 +61,7 @@
6061

6162
/**
6263
* static_assert - check integer constant expression at build time
64+
* @expr: expression to be checked
6365
*
6466
* static_assert() is a wrapper for the C11 _Static_assert, with a
6567
* little macro magic to make the message optional (defaulting to the

0 commit comments

Comments
 (0)