include/linux/bitfield.h:131:3: error: call to ‘__field_overflow’ declared with attribute error: value doesn't fit into mask

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux