lkml.org 
[lkml]   [2020]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjectinclude/linux/bitfield.h:131:3: error: call to ‘ field overflow’ declared with attribute error: value doesn 't fit into mask
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

\
 
 \ /
  Last update: 2020-03-13 15:37    [W:1.475 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site