include/linux/bitfield.h:131:3: error: call to â__field_overflowâ declared with attribute error: value doesn't fit into mask
From: Naresh Kamboju
Date: Fri Mar 13 2020 - 10:36:59 EST
The following error noticed while building linux-next kernel modules
for arm64 with CONFIG_ARM64_64K_PAGES=y
# make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm64
CROSS_COMPILE=aarch64-linux-gnu- HOSTCC=gcc CC="sccache
aarch64-linux-gnu-gcc" O=build modules
#
In file included from ../drivers/net/ipa/ipa_endpoint.c:10:
In function âu32_encode_bitsâ,
inlined from âipa_endpoint_init_aggrâ at
../drivers/net/ipa/ipa_endpoint.c:544:11:
../include/linux/bitfield.h:131:3: error: call to â__field_overflowâ
declared with attribute error: value doesn't fit into mask
131 | __field_overflow(); \
| ^~~~~~~~~~~~~~~~~~
../include/linux/bitfield.h:151:2: note: in expansion of macro â____MAKE_OPâ
151 | ____MAKE_OP(u##size,u##size,,)
| ^~~~~~~~~~~
../include/linux/bitfield.h:154:1: note: in expansion of macro â__MAKE_OPâ
154 | __MAKE_OP(32)
| ^~~~~~~~~
make[4]: *** [../scripts/Makefile.build:268:
drivers/net/ipa/ipa_endpoint.o] Error 1
ref:
https://gitlab.com/Linaro/lkft/kernel-runs/-/jobs/470723504
--
Linaro LKFT
https://lkft.linaro.org