global: Replace BUILD_ASSERT_MSG() with BUILD_ASSERT()
Replace all occurences of BUILD_ASSERT_MSG() with BUILD_ASSERT() as a result of merging BUILD_ASSERT() and BUILD_ASSERT_MSG(). Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
This commit is contained in:
parent
c408fa88a3
commit
b1e1f64d14
53 changed files with 215 additions and 216 deletions
|
@ -47,7 +47,7 @@ BUILD_ASSERT(sizeof(foo) == sizeof(int));
|
|||
|
||||
static struct foo foos[5];
|
||||
/* Check that ARRAY_SIZE compiles. */
|
||||
BUILD_ASSERT_MSG(ARRAY_SIZE(foos) == 5, "expected 5 elements");
|
||||
BUILD_ASSERT(ARRAY_SIZE(foos) == 5, "expected 5 elements");
|
||||
|
||||
/* Check that SYS_INIT() compiles. */
|
||||
static int test_init(struct device *dev)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue