Merge pull request #329 from arutk/static_assert
Add ENV_BUILD_BUG_ON macro to kernel environment
This commit is contained in:
commit
0b9350955c
@ -621,6 +621,7 @@ static inline uint32_t env_crc32(uint32_t crc, uint8_t const *data, size_t len)
|
|||||||
|
|
||||||
#define ENV_BUG() BUG()
|
#define ENV_BUG() BUG()
|
||||||
#define ENV_BUG_ON(cond) BUG_ON(cond)
|
#define ENV_BUG_ON(cond) BUG_ON(cond)
|
||||||
|
#define ENV_BUILD_BUG_ON(cond) BUILD_BUG_ON(cond)
|
||||||
|
|
||||||
|
|
||||||
/* *** EXECUTION COTNEXT *** */
|
/* *** EXECUTION COTNEXT *** */
|
||||||
|
2
ocf
2
ocf
@ -1 +1 @@
|
|||||||
Subproject commit fabd41250b94c75bddbf93a1259f35011c54ae25
|
Subproject commit 1dfae0d166441ade6537e0a290edf3fc329f74db
|
Loading…
Reference in New Issue
Block a user