Makefile build failure 5.4..3

From: David F.
Date: Fri Dec 13 2019 - 20:09:34 EST


Hello,

Building 5.4.3 x64 it completes but I noticed:

CC [M] drivers/net/wireless/intel/iwlwifi/iwl-debug.o
In file included from ./include/linux/export.h:42:0,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:8,
from ./include/linux/skbuff.h:13,
from ./include/linux/if_ether.h:19,
from ./include/linux/etherdevice.h:20,
from drivers/net/wireless/mediatek/mt76/mt7615/mac.c:10:
drivers/net/wireless/mediatek/mt76/mt7615/mac.c: In function âto_rssiâ:
./include/linux/compiler.h:350:38: error: call to
â__compiletime_assert_18â declared with attribute error: BUILD_BUG_ON
failed: (((field) + (1ULL << (__builtin_ffsll(field) - 1))) &
(((field) + (1ULL << (__builtin_ffsll(field) - 1))) - 1)) != 0
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^
./include/linux/compiler.h:331:4: note: in definition of macro
â__compiletime_assertâ
prefix ## suffix(); \
^
./include/linux/compiler.h:350:2: note: in expansion of macro
â_compiletime_assertâ
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^
./include/linux/build_bug.h:39:37: note: in expansion of macro
âcompiletime_assertâ
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^
./include/linux/bitfield.h:46:3: note: in expansion of macro âBUILD_BUG_ON_MSGâ
BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
^
./include/linux/bitfield.h:95:3: note: in expansion of macro â__BF_FIELD_CHECKâ
__BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
^
drivers/net/wireless/mediatek/mt76/mt7615/mac.c:18:10: note: in
expansion of macro âFIELD_GETâ
return (FIELD_GET(field, rxv) - 220) / 2;
^
./include/linux/compiler.h:350:38: error: call to
â__compiletime_assert_18â declared with attribute error: BUILD_BUG_ON
failed: (((field) + (1ULL << (__builtin_ffsll(field) - 1))) &
(((field) + (1ULL << (__builtin_ffsll(field) - 1))) - 1)) != 0
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^
./include/linux/compiler.h:331:4: note: in definition of macro
â__compiletime_assertâ
prefix ## suffix(); \
^
./include/linux/compiler.h:350:2: note: in expansion of macro
â_compiletime_assertâ
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^
./include/linux/build_bug.h:39:37: note: in expansion of macro
âcompiletime_assertâ
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^
./include/linux/bitfield.h:48:3: note: in expansion of macro âBUILD_BUG_ON_MSGâ
BUILD_BUG_ON_MSG((_mask) == 0, _pfx "mask is zero"); \
^
./include/linux/bitfield.h:95:3: note: in expansion of macro â__BF_FIELD_CHECKâ
__BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
^
drivers/net/wireless/mediatek/mt76/mt7615/mac.c:18:10: note: in
expansion of macro âFIELD_GETâ
return (FIELD_GET(field, rxv) - 220) / 2;
^
./include/linux/compiler.h:350:38: error: call to
â__compiletime_assert_18â declared with attribute error: BUILD_BUG_ON
failed: (((field) + (1ULL << (__builtin_ffsll(field) - 1))) &
(((field) + (1ULL << (__builtin_ffsll(field) - 1))) - 1)) != 0
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^
./include/linux/compiler.h:331:4: note: in definition of macro
â__compiletime_assertâ
prefix ## suffix(); \
^
./include/linux/compiler.h:350:2: note: in expansion of macro
â_compiletime_assertâ
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^
./include/linux/build_bug.h:39:37: note: in expansion of macro
âcompiletime_assertâ
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^
./include/linux/build_bug.h:50:2: note: in expansion of macro âBUILD_BUG_ON_MSGâ
BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
^
./include/linux/build_bug.h:21:2: note: in expansion of macro âBUILD_BUG_ONâ
BUILD_BUG_ON(((n) & ((n) - 1)) != 0)
^
./include/linux/bitfield.h:54:3: note: in expansion of macro
â__BUILD_BUG_ON_NOT_POWER_OF_2â
__BUILD_BUG_ON_NOT_POWER_OF_2((_mask) + \
^
./include/linux/bitfield.h:95:3: note: in expansion of macro â__BF_FIELD_CHECKâ
__BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
^
drivers/net/wireless/mediatek/mt76/mt7615/mac.c:18:10: note: in
expansion of macro âFIELD_GETâ
return (FIELD_GET(field, rxv) - 220) / 2;
^
scripts/Makefile.build:265: recipe for target
'drivers/net/wireless/mediatek/mt76/mt7615/mac.o' failed
make[9]: *** [drivers/net/wireless/mediatek/mt76/mt7615/mac.o] Error 1
scripts/Makefile.build:509: recipe for target
'drivers/net/wireless/mediatek/mt76/mt7615' failed
make[8]: *** [drivers/net/wireless/mediatek/mt76/mt7615] Error 2
scripts/Makefile.build:509: recipe for target
'drivers/net/wireless/mediatek/mt76' failed
make[7]: *** [drivers/net/wireless/mediatek/mt76] Error 2
scripts/Makefile.build:509: recipe for target
'drivers/net/wireless/mediatek' failed
make[6]: *** [drivers/net/wireless/mediatek] Error 2
make[6]: *** Waiting for unfinished jobs....