aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/build_bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/build_bug.h')
-rw-r--r--include/linux/build_bug.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/build_bug.h b/include/linux/build_bug.h
index 3efed0d742a0..43d1fd50d433 100644
--- a/include/linux/build_bug.h
+++ b/include/linux/build_bug.h
@@ -8,7 +8,6 @@
8#define __BUILD_BUG_ON_NOT_POWER_OF_2(n) (0) 8#define __BUILD_BUG_ON_NOT_POWER_OF_2(n) (0)
9#define BUILD_BUG_ON_NOT_POWER_OF_2(n) (0) 9#define BUILD_BUG_ON_NOT_POWER_OF_2(n) (0)
10#define BUILD_BUG_ON_ZERO(e) (0) 10#define BUILD_BUG_ON_ZERO(e) (0)
11#define BUILD_BUG_ON_NULL(e) ((void *)0)
12#define BUILD_BUG_ON_INVALID(e) (0) 11#define BUILD_BUG_ON_INVALID(e) (0)
13#define BUILD_BUG_ON_MSG(cond, msg) (0) 12#define BUILD_BUG_ON_MSG(cond, msg) (0)
14#define BUILD_BUG_ON(condition) (0) 13#define BUILD_BUG_ON(condition) (0)
@@ -28,7 +27,6 @@
28 * aren't permitted). 27 * aren't permitted).
29 */ 28 */
30#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); })) 29#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
31#define BUILD_BUG_ON_NULL(e) ((void *)sizeof(struct { int:(-!!(e)); }))
32 30
33/* 31/*
34 * BUILD_BUG_ON_INVALID() permits the compiler to check the validity of the 32 * BUILD_BUG_ON_INVALID() permits the compiler to check the validity of the