lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CA+G9fYvTmoge3esSO-gDU=jLwun-f8hs9-CgXUdGaysVge21Hw@mail.gmail.com>
Date:   Fri, 13 Mar 2020 20:06:44 +0530
From:   Naresh Kamboju <naresh.kamboju@...aro.org>
To:     Linux-Next Mailing List <linux-next@...r.kernel.org>,
        open list <linux-kernel@...r.kernel.org>
Cc:     lkft-triage@...ts.linaro.org, elder@...aro.org,
        "David S. Miller" <davem@...emloft.net>, kuba@...nel.org
Subject: include/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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ