Re: [PATCH] bitfield: avoid gcc-8 -Wint-in-bool-context warning

From: Andrew Morton
Date: Tue Aug 14 2018 - 19:13:58 EST


On Tue, 14 Aug 2018 16:11:06 -0700 Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> > include/linux/bitfield.h:103:3: note: in expansion of macro '__BF_FIELD_CHECK'
> > __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
> > ^~~~~~~~~~~~~~~~
> > drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c:1025:21: note: in expansion of macro 'FIELD_GET'
> > le16_encode_bits(FIELD_GET(IWL_RX_HE_PHY_SIBG_SYM_OR_USER_NUM_MASK,
>
> Newer compilers will previously be used on older kernels, so I'll add a
> cc:stable here.

No I won't. Older kernels don't have the iwlwifi patch.