summaryrefslogtreecommitdiff
path: root/include/linux/build_bug.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-03-24 01:02:41 +0300
committerMark Brown <broonie@kernel.org>2026-03-24 01:02:41 +0300
commit1fe7579ab0a51513ba35cfb3cde62706df31912f (patch)
treeda4fe6b21d7aea11eefb9415bd13df6dba3bdf0f /include/linux/build_bug.h
parentea0e916de13426dc62fc349f80bf5326adb17cea (diff)
parent579a49aaab0814c55595cddf0be9651e37972f6a (diff)
downloadlinux-1fe7579ab0a51513ba35cfb3cde62706df31912f.tar.xz
spi: hisi-kunpeng cleanup and fix
Pei Xiao <xiaopei01@kylinos.cn> says: I might have wasted your valuable time again. Please help check the two modifications. Thank you!
Diffstat (limited to 'include/linux/build_bug.h')
-rw-r--r--include/linux/build_bug.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/build_bug.h b/include/linux/build_bug.h
index 2cfbb4c65c78..d3dc5dc5f916 100644
--- a/include/linux/build_bug.h
+++ b/include/linux/build_bug.h
@@ -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