Revert "global: Replace BUILD_ASSERT_MSG() with BUILD_ASSERT()"

This reverts commit 8739517107.

Pull Request #23437 was merged by mistake with an invalid manifest.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2020-03-19 15:59:14 +01:00 committed by Carles Cufí
commit 4b37a8f3a4
52 changed files with 207 additions and 206 deletions

View file

@ -47,7 +47,7 @@ BUILD_ASSERT(sizeof(foo) == sizeof(int));
static struct foo foos[5];
/* Check that ARRAY_SIZE compiles. */
BUILD_ASSERT(ARRAY_SIZE(foos) == 5, "expected 5 elements");
BUILD_ASSERT_MSG(ARRAY_SIZE(foos) == 5, "expected 5 elements");
/* Check that SYS_INIT() compiles. */
static int test_init(struct device *dev)