BUILD_BUG_ON_MSG
BUILD_BUG_ON_MSG(L1_CACHE_BYTES > SMP_CACHE_BYTES,
BUILD_BUG_ON_MSG(1, "kernel_neon_begin() called from NEON code")
BUILD_BUG_ON_MSG(1, "Unsupported size for __xchg_local");
BUILD_BUG_ON_MSG(1, "Unsupported size for __xchg_relaxed");
BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg");
BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg_local");
BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg_relaxed");
BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg_acquire");
({ BUILD_BUG_ON_MSG(1, "__efi_nargs limit exceeded"); 10; }))
BUILD_BUG_ON_MSG( \
BUILD_BUG_ON_MSG(__builtin_constant_p(field) &&
BUILD_BUG_ON_MSG(bits != 64 && __builtin_constant_p(field) &&
BUILD_BUG_ON_MSG(bits != 32 && __builtin_constant_p(field) &&
BUILD_BUG_ON_MSG(bits != 16 && __builtin_constant_p(field) &&
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x2000,
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x2000,
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000,
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001,
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x4000,
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000,
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0,
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000,
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001,
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000,
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0,
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001,
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x4000,
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000,
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0,
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000,
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001,
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x4000,
BUILD_BUG_ON_MSG(KVM_MAX_NR_FIXED_COUNTERS != 3,
BUILD_BUG_ON_MSG(sizeof(cycles_t) != sizeof(u32),
BUILD_BUG_ON_MSG((out_data_buf_size
BUILD_BUG_ON_MSG((in_data_buf_size
BUILD_BUG_ON_MSG(__same_type(current_config->name, bool), \
BUILD_BUG_ON_MSG(__same_type(current_config->name, bool), \
BUILD_BUG_ON_MSG(__same_type(current_config->name, bool), \
BUILD_BUG_ON_MSG(!__same_type(current_config->name, bool), \
BUILD_BUG_ON_MSG(!__same_type(*(ptr), typeof_member(type, member)) && \
BUILD_BUG_ON_MSG(((mask) & 0xffff0000), "Incorrect mask"); \
BUILD_BUG_ON_MSG((value) & 0xffff0000, "Incorrect value"); \
BUILD_BUG_ON_MSG((value) & ~(mask), \
BUILD_BUG_ON_MSG(ARRAY_SIZE(d) > 64, "DCS sequence too big for stack");\
BUILD_BUG_ON_MSG(RCAR_MIN_DMA_LEN < 3, "Invalid min DMA length");
BUILD_BUG_ON_MSG(sizeof(struct lan9303_alr_cache_entry) & 1,
BUILD_BUG_ON_MSG((offsetof(struct fw_interface_in, ITEM) % \
BUILD_BUG_ON_MSG((sizeof(VARIABLE) % sizeof(u32)) != 0,\
BUILD_BUG_ON_MSG((offsetof(struct fw_interface_in, ITEM) % \
BUILD_BUG_ON_MSG((sizeof(VARIABLE) % sizeof(u32)) != 0,\
BUILD_BUG_ON_MSG((offsetof(struct fw_interface_out, ITEM) % \
BUILD_BUG_ON_MSG((sizeof(VARIABLE) % sizeof(u32)) != 0,\
BUILD_BUG_ON_MSG(sizeof(VARIABLE) > sizeof(u32),\
BUILD_BUG_ON_MSG((offsetof(struct fw_interface_out, ITEM) % \
BUILD_BUG_ON_MSG((sizeof(((struct fw_interface_out *)0)->ITEM) % \
BUILD_BUG_ON_MSG(ARRAY_SIZE(rq_sw_state_type_name) != MLX5E_NUM_RQ_STATES,
BUILD_BUG_ON_MSG(ARRAY_SIZE(sq_sw_state_type_name) != MLX5E_NUM_SQ_STATES,
BUILD_BUG_ON_MSG(sizeof(struct am65_cpsw_tx_swdata) > AM65_CPSW_NAV_SW_DATA_SIZE,
BUILD_BUG_ON_MSG(sizeof(struct am65_cpsw_swdata) > AM65_CPSW_NAV_SW_DATA_SIZE,
BUILD_BUG_ON_MSG((sizeof(struct prueth_swdata) > PRUETH_NAV_SW_DATA_SIZE),
BUILD_BUG_ON_MSG(__ETHTOOL_LINK_MODE_MASK_NBITS != 125,
BUILD_BUG_ON_MSG(sizeof(struct wfx_tx_priv) > driver_data_room,
BUILD_BUG_ON_MSG(!__builtin_constant_p(mask), "mask is not constant"); \
BUILD_BUG_ON_MSG(!__builtin_constant_p((mask)), \
BUILD_BUG_ON_MSG(PIPE_BULK != 3, "PIPE_* doesn't range from 0 to 3");
BUILD_BUG_ON_MSG(upper_32_bits(VALID_OPEN_FLAGS),
BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
BUILD_BUG_ON_MSG((_mask) == 0, _pfx "mask is zero"); \
BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \
BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \
BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
#define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed")
BUILD_BUG_ON_MSG(offsetof(type, field) != (expected_offset), \
BUILD_BUG_ON_MSG(cls > _DPRINTK_CLASS_DFLT, \
BUILD_BUG_ON_MSG(!__builtin_constant_p(cls), \
BUILD_BUG_ON_MSG(!__types_ok3(ux, uy, uz), \
BUILD_BUG_ON_MSG(statically_true(ulo > uhi), \
BUILD_BUG_ON_MSG(!__types_ok3(uval, ulo, uhi), \
BUILD_BUG_ON_MSG(!__types_ok(ux, uy), \
({ BUILD_BUG_ON_MSG(1, "CHECK_PACKED_FIELDS() must be regenerated to support array sizes larger than 50."); }) \
BUILD_BUG_ON_MSG(_ascending && _f1.startbit >= _f2.startbit, \
BUILD_BUG_ON_MSG(!_ascending && _f1.startbit <= _f2.startbit, \
BUILD_BUG_ON_MSG(max(_f1.endbit, _f2.endbit) <= \
BUILD_BUG_ON_MSG(__f.startbit < __f.endbit, \
BUILD_BUG_ON_MSG(__f.size != 1 && __f.size != 2 && \
BUILD_BUG_ON_MSG(__f.startbit - __f.endbit >= BITS_PER_BYTE * __f.size, \
BUILD_BUG_ON_MSG(!__builtin_constant_p(_len), \
BUILD_BUG_ON_MSG(_f[0].startbit >= BITS_PER_BYTE * _len, \
BUILD_BUG_ON_MSG(_f[num_fields - 1].startbit >= BITS_PER_BYTE * _len, \
BUILD_BUG_ON_MSG(__builtin_constant_p(floor) && floor == U32_MAX,
BUILD_BUG_ON_MSG(__builtin_constant_p(floor) && __builtin_constant_p(ceil) &&
BUILD_BUG_ON_MSG(!ceil, "get_random_u32_below() must take ceil > 0");
BUILD_BUG_ON_MSG(1, "unexpected size in kmalloc_index()");
BUILD_BUG_ON_MSG(!__same_type(*(a), *(b)), \
BUILD_BUG_ON_MSG(ARRAY_SIZE(resident_page_types) != NR_MM_COUNTERS,
BUILD_BUG_ON_MSG(IPVS_EST_TICK_CHAINS > 127,
BUILD_BUG_ON_MSG(
BUILD_BUG_ON_MSG(
BUILD_BUG_ON_MSG(
BUILD_BUG_ON_MSG(
BUILD_BUG_ON_MSG(
BUILD_BUG_ON_MSG(
BUILD_BUG_ON_MSG(READING_MAX_ID > 8,
BUILD_BUG_ON_MSG(LOADING_MAX_ID > 8,
BUILD_BUG_ON_MSG(LINE6_ISO_PACKETS != 1,
BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
BUILD_BUG_ON_MSG((_mask) == 0, _pfx "mask is zero"); \
BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \
BUILD_BUG_ON_MSG(__bf_cast_unsigned(_mask, _mask) > \
BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
#define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed")
BUILD_BUG_ON_MSG(offsetof(type, field) != (expected_offset), \