Buildresult: linux-next/mips-allmodconfig/mips-gcc4.9 built on Feb 15 2021, 22:39
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Feb 15 2021, 22:39
Duration:
0:15:49.217196
Builder:
ka2
Revision:
Add linux-next specific files for 20210215 (
52a0bcb60e40f30211cb5cbbb0f582ec4e91d896)
Target:
linux-next/mips-allmodconfig/mips-gcc4.9
Branch:
linux-next
Compiler:
mips-gcc4.9
(mips-linux-gcc (GCC) 4.9.4 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible errors
BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) drivers/cxl/mem.c:335:2: error: implicit declaration of function 'writeq' [-Werror=implicit-function-declaration] drivers/cxl/mem.c:350:2: error: implicit declaration of function 'readq' [-Werror=implicit-function-declaration] BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_277' declared with attribute error: FIELD_GET: mask is not constant include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_278' declared with attribute error: FIELD_GET: mask is zero include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_283' declared with attribute error: FIELD_GET: mask is not constant include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_271' declared with attribute error: FIELD_PREP: mask is not constant include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_309' declared with attribute error: FIELD_GET: mask is not constant include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_310' declared with attribute error: FIELD_GET: mask is zero cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:287: drivers/cxl/mem.o] Error 1 make[2]: *** [scripts/Makefile.build:530: drivers/cxl] Error 2 make[1]: *** [Makefile:1830: drivers] Error 2 make: *** [Makefile:185: __sub-make] Error 2
Possible warnings (147)
.config:12931:warning: override: reassigning to symbol MIPS_CPS_NS16550_SHIFT /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/mips/mips.h:2791:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/mips/mips.h:2791:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/mips/mips.h:2791:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/mips/mips.h:2791:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] cc1plus: warning: unrecognized command line option '-Wno-format-diag' cc1plus: warning: unrecognized command line option '-Wno-format-diag' cc1plus: warning: unrecognized command line option '-Wno-format-diag' cc1plus: warning: unrecognized command line option '-Wno-format-diag' drivers/clk/xilinx/xlnx_vcu.c:524:9: warning: missing braces around initializer [-Wmissing-braces] drivers/clk/xilinx/xlnx_vcu.c:524:9: warning: (near initialization for 'parent_data[0]') [-Wmissing-braces] drivers/soc/qcom/pdr_interface.c:572:9: warning: missing braces around initializer [-Wmissing-braces] drivers/soc/qcom/pdr_interface.c:572:9: warning: (near initialization for 'req.service_path') [-Wmissing-braces] drivers/gpu/drm/xlnx/zynqmp_dp.c:667:9: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/xlnx/zynqmp_dp.c:667:9: warning: (near initialization for 'opts.mipi_dphy') [-Wmissing-braces] fs/btrfs/tree-checker.c:1071:9: warning: missing braces around initializer [-Wmissing-braces] fs/btrfs/tree-checker.c:1071:9: warning: (near initialization for 'ri.inode') [-Wmissing-braces] lib/bitfield_kunit.c:93:1: warning: the frame size of 4224 bytes is larger than 2048 bytes [-Wframe-larger-than=] drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. arch/mips/include/asm/sibyte/bcm1480_scd.h:261:0: warning: "M_SPC_CFG_CLEAR" redefined arch/mips/include/asm/sibyte/bcm1480_scd.h:262:0: warning: "M_SPC_CFG_ENABLE" redefined drivers/net/wireless/ath/ath11k/qmi.c:1689:4: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type 'dma_addr_t' [-Wformat=] drivers/media/i2c/imx334.c:288:9: warning: missing braces around initializer [-Wmissing-braces] drivers/media/i2c/imx334.c:288:9: warning: (near initialization for 'msgs[0]') [-Wmissing-braces] drivers/crypto/sa2ul.c:932:9: warning: missing braces around initializer [-Wmissing-braces] drivers/crypto/sa2ul.c:932:9: warning: (near initialization for 'ad.enc_eng') [-Wmissing-braces] drivers/crypto/sa2ul.c:952:9: warning: missing braces around initializer [-Wmissing-braces] drivers/crypto/sa2ul.c:952:9: warning: (near initialization for 'ad.enc_eng') [-Wmissing-braces] drivers/crypto/sa2ul.c:970:9: warning: missing braces around initializer [-Wmissing-braces] drivers/crypto/sa2ul.c:970:9: warning: (near initialization for 'ad.enc_eng') [-Wmissing-braces] drivers/crypto/sa2ul.c:984:9: warning: missing braces around initializer [-Wmissing-braces] drivers/crypto/sa2ul.c:984:9: warning: (near initialization for 'ad.enc_eng') [-Wmissing-braces] drivers/crypto/sa2ul.c:1606:9: warning: missing braces around initializer [-Wmissing-braces] drivers/crypto/sa2ul.c:1606:9: warning: (near initialization for 'ad.enc_eng') [-Wmissing-braces] drivers/crypto/sa2ul.c:1622:9: warning: missing braces around initializer [-Wmissing-braces] drivers/crypto/sa2ul.c:1622:9: warning: (near initialization for 'ad.enc_eng') [-Wmissing-braces] drivers/crypto/sa2ul.c:1638:9: warning: missing braces around initializer [-Wmissing-braces] drivers/crypto/sa2ul.c:1638:9: warning: (near initialization for 'ad.enc_eng') [-Wmissing-braces] drivers/crypto/sa2ul.c:1867:9: warning: missing braces around initializer [-Wmissing-braces] drivers/crypto/sa2ul.c:1867:9: warning: (near initialization for 'ad.enc_eng') [-Wmissing-braces] drivers/crypto/sa2ul.c:1880:9: warning: missing braces around initializer [-Wmissing-braces] drivers/crypto/sa2ul.c:1880:9: warning: (near initialization for 'ad.enc_eng') [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/navi10_ppt.c:2297:2: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/navi10_ppt.c:2297:2: warning: (near initialization for 'nv12_metrics.CurrClock') [-Wmissing-braces] drivers/net/ethernet/freescale/enetc/enetc_pf.c:1004:9: warning: missing braces around initializer [-Wmissing-braces] drivers/net/ethernet/freescale/enetc/enetc_pf.c:1004:9: warning: (near initialization for 'rfse.smac_h') [-Wmissing-braces] drivers/net/ethernet/chelsio/cxgb4/sge.c:910:9: warning: missing braces around initializer [-Wmissing-braces] drivers/net/ethernet/chelsio/cxgb4/sge.c:910:9: warning: (near initialization for 'buf[0]') [-Wmissing-braces] drivers/net/ethernet/mscc/ocelot_vcap.c:755:11: warning: missing braces around initializer [-Wmissing-braces] drivers/net/ethernet/mscc/ocelot_vcap.c:755:11: warning: (near initialization for 'etype.value') [-Wmissing-braces] include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative include/linux/build_bug.h:16:51: warning: left shift count >= width of type include/linux/build_bug.h:16:51: warning: right shift count is negative drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:9798:9: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:9798:9: warning: (near initialization for 'params.triggers') [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:297:9: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:297:9: warning: (near initialization for 'dummy_record.record_header') [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2483:11: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2483:11: warning: (near initialization for 'hw_locks.bits') [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2664:11: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2664:11: warning: (near initialization for 'hw_locks.bits') [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:2821:8: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:2821:8: warning: (near initialization for 'dpcd_test_mode.bits') [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:2823:8: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:2823:8: warning: (near initialization for 'dpcd_pattern_period[0]') [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:4161:11: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:4161:11: warning: (near initialization for 'hw_locks.bits') [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:4205:11: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:4205:11: warning: (near initialization for 'hw_locks.bits') [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_dcn20.c:333:8: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_dcn20.c:333:8: warning: (near initialization for 'boot_options.bits') [-Wmissing-braces]
Full Log
# git rev-parse -q --verify 52a0bcb60e40f30211cb5cbbb0f582ec4e91d896^{commit} 52a0bcb60e40f30211cb5cbbb0f582ec4e91d896 already have revision, skipping fetch # git checkout -q -f -B kisskb 52a0bcb60e40f30211cb5cbbb0f582ec4e91d896 # git clean -qxdf # < git log -1 # commit 52a0bcb60e40f30211cb5cbbb0f582ec4e91d896 # Author: Stephen Rothwell <sfr@canb.auug.org.au> # Date: Mon Feb 15 20:29:14 2021 +1100 # # Add linux-next specific files for 20210215 # # Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 52a0bcb60e40f30211cb5cbbb0f582ec4e91d896 # < make -s -j 48 ARCH=mips O=/kisskb/build/linux-next_mips-allmodconfig_mips-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_MIPS_CPS_NS16550_BASE=0x1b0003f8 # Added to kconfig CONFIG_MIPS_CPS_NS16550_SHIFT=0 # < make -s -j 48 ARCH=mips O=/kisskb/build/linux-next_mips-allmodconfig_mips-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux- help # make -s -j 48 ARCH=mips O=/kisskb/build/linux-next_mips-allmodconfig_mips-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux- olddefconfig .config:12931:warning: override: reassigning to symbol MIPS_CPS_NS16550_SHIFT # make -s -j 48 ARCH=mips O=/kisskb/build/linux-next_mips-allmodconfig_mips-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux- In file included from /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/tm.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:15, from /kisskb/src/scripts/gcc-plugins/latent_entropy_plugin.c:78: /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\ ^ /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/tm.h:29, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:15, from /kisskb/src/scripts/gcc-plugins/latent_entropy_plugin.c:78: /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/mips/mips.h:2791:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf (STREAM, "\t.space\t"HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE)) ^ In file included from /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/tm.h:43, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:15, from /kisskb/src/scripts/gcc-plugins/latent_entropy_plugin.c:78: /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/tm.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:15, from /kisskb/src/scripts/gcc-plugins/sancov_plugin.c:22: /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\ ^ /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/tm.h:29, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:15, from /kisskb/src/scripts/gcc-plugins/sancov_plugin.c:22: /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/mips/mips.h:2791:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf (STREAM, "\t.space\t"HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE)) ^ In file included from /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/tm.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:15, from /kisskb/src/scripts/gcc-plugins/structleak_plugin.c:32: /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\ ^ In file included from /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/tm.h:43, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:15, from /kisskb/src/scripts/gcc-plugins/sancov_plugin.c:22: /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/tm.h:29, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:15, from /kisskb/src/scripts/gcc-plugins/structleak_plugin.c:32: /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/mips/mips.h:2791:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf (STREAM, "\t.space\t"HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE)) ^ In file included from /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/tm.h:43, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:15, from /kisskb/src/scripts/gcc-plugins/structleak_plugin.c:32: /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/tm.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:15, from /kisskb/src/scripts/gcc-plugins/randomize_layout_plugin.c:19: /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\ ^ /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/tm.h:29, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:15, from /kisskb/src/scripts/gcc-plugins/randomize_layout_plugin.c:19: /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/config/mips/mips.h:2791:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf (STREAM, "\t.space\t"HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE)) ^ In file included from /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/tm.h:43, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:15, from /kisskb/src/scripts/gcc-plugins/randomize_layout_plugin.c:19: /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.4/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ cc1plus: warning: unrecognized command line option '-Wno-format-diag' cc1plus: warning: unrecognized command line option '-Wno-format-diag' cc1plus: warning: unrecognized command line option '-Wno-format-diag' cc1plus: warning: unrecognized command line option '-Wno-format-diag' /kisskb/src/drivers/clk/xilinx/xlnx_vcu.c: In function 'xvcu_register_clock_provider': /kisskb/src/drivers/clk/xilinx/xlnx_vcu.c:524:9: warning: missing braces around initializer [-Wmissing-braces] struct clk_parent_data parent_data[2] = { 0 }; ^ /kisskb/src/drivers/clk/xilinx/xlnx_vcu.c:524:9: warning: (near initialization for 'parent_data[0]') [-Wmissing-braces] /kisskb/src/drivers/soc/qcom/pdr_interface.c: In function 'pdr_restart_pd': /kisskb/src/drivers/soc/qcom/pdr_interface.c:572:9: warning: missing braces around initializer [-Wmissing-braces] struct servreg_restart_pd_req req = { 0 }; ^ /kisskb/src/drivers/soc/qcom/pdr_interface.c:572:9: warning: (near initialization for 'req.service_path') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/xlnx/zynqmp_dp.c: In function 'zynqmp_dp_update_vs_emph': /kisskb/src/drivers/gpu/drm/xlnx/zynqmp_dp.c:667:9: warning: missing braces around initializer [-Wmissing-braces] union phy_configure_opts opts = { 0 }; ^ /kisskb/src/drivers/gpu/drm/xlnx/zynqmp_dp.c:667:9: warning: (near initialization for 'opts.mipi_dphy') [-Wmissing-braces] /kisskb/src/fs/btrfs/tree-checker.c: In function 'check_root_item': /kisskb/src/fs/btrfs/tree-checker.c:1071:9: warning: missing braces around initializer [-Wmissing-braces] struct btrfs_root_item ri = { 0 }; ^ /kisskb/src/fs/btrfs/tree-checker.c:1071:9: warning: (near initialization for 'ri.inode') [-Wmissing-braces] /kisskb/src/lib/bitfield_kunit.c: In function 'test_bitfields_constants': /kisskb/src/lib/bitfield_kunit.c:93:1: warning: the frame size of 4224 bytes is larger than 2048 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. ^ In file included from /kisskb/src/arch/mips/include/asm/sibyte/sb1250.h:28:0, from /kisskb/src/drivers/watchdog/sb_wdog.c:58: /kisskb/src/arch/mips/include/asm/sibyte/bcm1480_scd.h:261:0: warning: "M_SPC_CFG_CLEAR" redefined #define M_SPC_CFG_CLEAR M_BCM1480_SPC_CFG_CLEAR ^ In file included from /kisskb/src/arch/mips/include/asm/sibyte/sb1250.h:27:0, from /kisskb/src/drivers/watchdog/sb_wdog.c:58: /kisskb/src/arch/mips/include/asm/sibyte/sb1250_scd.h:392:0: note: this is the location of the previous definition #define M_SPC_CFG_CLEAR _SB_MAKEMASK1(32) ^ In file included from /kisskb/src/arch/mips/include/asm/sibyte/sb1250.h:28:0, from /kisskb/src/drivers/watchdog/sb_wdog.c:58: /kisskb/src/arch/mips/include/asm/sibyte/bcm1480_scd.h:262:0: warning: "M_SPC_CFG_ENABLE" redefined #define M_SPC_CFG_ENABLE M_BCM1480_SPC_CFG_ENABLE ^ In file included from /kisskb/src/arch/mips/include/asm/sibyte/sb1250.h:27:0, from /kisskb/src/drivers/watchdog/sb_wdog.c:58: /kisskb/src/arch/mips/include/asm/sibyte/sb1250_scd.h:393:0: note: this is the location of the previous definition #define M_SPC_CFG_ENABLE _SB_MAKEMASK1(33) ^ /kisskb/src/drivers/net/wireless/ath/ath11k/qmi.c: In function 'ath11k_qmi_respond_fw_mem_request': /kisskb/src/drivers/net/wireless/ath/ath11k/qmi.c:1689:4: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type 'dma_addr_t' [-Wformat=] ath11k_dbg(ab, ATH11K_DBG_QMI, ^ /kisskb/src/drivers/media/i2c/imx334.c: In function 'imx334_read_reg': /kisskb/src/drivers/media/i2c/imx334.c:288:9: warning: missing braces around initializer [-Wmissing-braces] struct i2c_msg msgs[2] = {0}; ^ /kisskb/src/drivers/media/i2c/imx334.c:288:9: warning: (near initialization for 'msgs[0]') [-Wmissing-braces] /kisskb/src/drivers/crypto/sa2ul.c: In function 'sa_aes_cbc_setkey': /kisskb/src/drivers/crypto/sa2ul.c:932:9: warning: missing braces around initializer [-Wmissing-braces] struct algo_data ad = { 0 }; ^ /kisskb/src/drivers/crypto/sa2ul.c:932:9: warning: (near initialization for 'ad.enc_eng') [-Wmissing-braces] /kisskb/src/drivers/crypto/sa2ul.c: In function 'sa_aes_ecb_setkey': /kisskb/src/drivers/crypto/sa2ul.c:952:9: warning: missing braces around initializer [-Wmissing-braces] struct algo_data ad = { 0 }; ^ /kisskb/src/drivers/crypto/sa2ul.c:952:9: warning: (near initialization for 'ad.enc_eng') [-Wmissing-braces] /kisskb/src/drivers/crypto/sa2ul.c: In function 'sa_3des_cbc_setkey': /kisskb/src/drivers/crypto/sa2ul.c:970:9: warning: missing braces around initializer [-Wmissing-braces] struct algo_data ad = { 0 }; ^ /kisskb/src/drivers/crypto/sa2ul.c:970:9: warning: (near initialization for 'ad.enc_eng') [-Wmissing-braces] /kisskb/src/drivers/crypto/sa2ul.c: In function 'sa_3des_ecb_setkey': /kisskb/src/drivers/crypto/sa2ul.c:984:9: warning: missing braces around initializer [-Wmissing-braces] struct algo_data ad = { 0 }; ^ /kisskb/src/drivers/crypto/sa2ul.c:984:9: warning: (near initialization for 'ad.enc_eng') [-Wmissing-braces] /kisskb/src/drivers/crypto/sa2ul.c: In function 'sa_sha1_cra_init': /kisskb/src/drivers/crypto/sa2ul.c:1606:9: warning: missing braces around initializer [-Wmissing-braces] struct algo_data ad = { 0 }; ^ /kisskb/src/drivers/crypto/sa2ul.c:1606:9: warning: (near initialization for 'ad.enc_eng') [-Wmissing-braces] /kisskb/src/drivers/crypto/sa2ul.c: In function 'sa_sha256_cra_init': /kisskb/src/drivers/crypto/sa2ul.c:1622:9: warning: missing braces around initializer [-Wmissing-braces] struct algo_data ad = { 0 }; ^ /kisskb/src/drivers/crypto/sa2ul.c:1622:9: warning: (near initialization for 'ad.enc_eng') [-Wmissing-braces] /kisskb/src/drivers/crypto/sa2ul.c: In function 'sa_sha512_cra_init': /kisskb/src/drivers/crypto/sa2ul.c:1638:9: warning: missing braces around initializer [-Wmissing-braces] struct algo_data ad = { 0 }; ^ /kisskb/src/drivers/crypto/sa2ul.c:1638:9: warning: (near initialization for 'ad.enc_eng') [-Wmissing-braces] /kisskb/src/drivers/crypto/sa2ul.c: In function 'sa_aead_cbc_sha1_setkey': /kisskb/src/drivers/crypto/sa2ul.c:1867:9: warning: missing braces around initializer [-Wmissing-braces] struct algo_data ad = { 0 }; ^ /kisskb/src/drivers/crypto/sa2ul.c:1867:9: warning: (near initialization for 'ad.enc_eng') [-Wmissing-braces] /kisskb/src/drivers/crypto/sa2ul.c: In function 'sa_aead_cbc_sha256_setkey': /kisskb/src/drivers/crypto/sa2ul.c:1880:9: warning: missing braces around initializer [-Wmissing-braces] struct algo_data ad = { 0 }; ^ /kisskb/src/drivers/crypto/sa2ul.c:1880:9: warning: (near initialization for 'ad.enc_eng') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/navi10_ppt.c: In function 'navi10_get_gpu_metrics': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/navi10_ppt.c:2297:2: warning: missing braces around initializer [-Wmissing-braces] SmuMetrics_NV12_t nv12_metrics = { 0 }; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/navi10_ppt.c:2297:2: warning: (near initialization for 'nv12_metrics.CurrClock') [-Wmissing-braces] /kisskb/src/drivers/net/ethernet/freescale/enetc/enetc_pf.c: In function 'enetc_init_port_rfs_memory': /kisskb/src/drivers/net/ethernet/freescale/enetc/enetc_pf.c:1004:9: warning: missing braces around initializer [-Wmissing-braces] struct enetc_cmd_rfse rfse = {0}; ^ /kisskb/src/drivers/net/ethernet/freescale/enetc/enetc_pf.c:1004:9: warning: (near initialization for 'rfse.smac_h') [-Wmissing-braces] /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/sge.c: In function 'cxgb4_write_partial_sgl': /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/sge.c:910:9: warning: missing braces around initializer [-Wmissing-braces] struct ulptx_sge_pair buf[MAX_SKB_FRAGS / 2 + 1] = {0}, *to; ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/sge.c:910:9: warning: (near initialization for 'buf[0]') [-Wmissing-braces] /kisskb/src/drivers/net/ethernet/mscc/ocelot_vcap.c: In function 'is1_entry_set': /kisskb/src/drivers/net/ethernet/mscc/ocelot_vcap.c:755:11: warning: missing braces around initializer [-Wmissing-braces] struct ocelot_vcap_u16 etype = {0}; ^ /kisskb/src/drivers/net/ethernet/mscc/ocelot_vcap.c:755:11: warning: (near initialization for 'etype.value') [-Wmissing-braces] In file included from <command-line>:0:0: /kisskb/src/drivers/cxl/mem.c: In function '__cxl_mem_mbox_send_cmd': /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:46:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ ^ /kisskb/src/include/linux/bitfield.h:94:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ ^ /kisskb/src/drivers/cxl/mem.c:329:14: note: in expansion of macro 'FIELD_PREP' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:329:25: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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"); \ ^ /kisskb/src/include/linux/bitfield.h:94:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ ^ /kisskb/src/drivers/cxl/mem.c:329:14: note: in expansion of macro 'FIELD_PREP' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:329:25: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:49:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ ^ /kisskb/src/include/linux/bitfield.h:94:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ ^ /kisskb/src/drivers/cxl/mem.c:329:14: note: in expansion of macro 'FIELD_PREP' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:329:25: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:49:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ ^ /kisskb/src/include/linux/bitfield.h:50:19: note: in expansion of macro '__bf_shf' ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \ ^ /kisskb/src/include/linux/bitfield.h:94:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ ^ /kisskb/src/drivers/cxl/mem.c:329:14: note: in expansion of macro 'FIELD_PREP' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:329:25: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:52:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, \ ^ /kisskb/src/include/linux/bitfield.h:94:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ ^ /kisskb/src/drivers/cxl/mem.c:329:14: note: in expansion of macro 'FIELD_PREP' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:329:25: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:94:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ ^ /kisskb/src/drivers/cxl/mem.c:329:14: note: in expansion of macro 'FIELD_PREP' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:329:25: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:55:21: note: in expansion of macro '__bf_shf' (1ULL << __bf_shf(_mask))); \ ^ /kisskb/src/include/linux/bitfield.h:94:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ ^ /kisskb/src/drivers/cxl/mem.c:329:14: note: in expansion of macro 'FIELD_PREP' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:329:25: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:94:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ ^ /kisskb/src/drivers/cxl/mem.c:329:14: note: in expansion of macro 'FIELD_PREP' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:329:25: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:55:21: note: in expansion of macro '__bf_shf' (1ULL << __bf_shf(_mask))); \ ^ /kisskb/src/include/linux/bitfield.h:94:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ ^ /kisskb/src/drivers/cxl/mem.c:329:14: note: in expansion of macro 'FIELD_PREP' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:329:25: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ In file included from /kisskb/src/drivers/cxl/cxl.h:7:0, from /kisskb/src/drivers/cxl/mem.c:13: /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/bitfield.h:42:38: note: in definition of macro '__bf_shf' #define __bf_shf(x) (__builtin_ffsll(x) - 1) ^ /kisskb/src/drivers/cxl/mem.c:329:14: note: in expansion of macro 'FIELD_PREP' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:329:25: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/bitfield.h:95:49: note: in definition of macro 'FIELD_PREP' ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \ ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:329:25: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ /kisskb/src/drivers/cxl/mem.c:335:2: error: implicit declaration of function 'writeq' [-Werror=implicit-function-declaration] writeq(cmd_reg, cxlm->mbox_regs + CXLDEV_MBOX_CMD_OFFSET); ^ /kisskb/src/drivers/cxl/mem.c:350:2: error: implicit declaration of function 'readq' [-Werror=implicit-function-declaration] status_reg = readq(cxlm->mbox_regs + CXLDEV_MBOX_STATUS_OFFSET); ^ In file included from <command-line>:0:0: /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:46:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:46:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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"); \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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"); \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:49:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:49:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:49:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ ^ /kisskb/src/include/linux/bitfield.h:50:19: note: in expansion of macro '__bf_shf' ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:49:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ ^ /kisskb/src/include/linux/bitfield.h:50:19: note: in expansion of macro '__bf_shf' ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:52:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:52:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:55:21: note: in expansion of macro '__bf_shf' (1ULL << __bf_shf(_mask))); \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:55:21: note: in expansion of macro '__bf_shf' (1ULL << __bf_shf(_mask))); \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:55:21: note: in expansion of macro '__bf_shf' (1ULL << __bf_shf(_mask))); \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:55:21: note: in expansion of macro '__bf_shf' (1ULL << __bf_shf(_mask))); \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ In file included from /kisskb/src/drivers/cxl/cxl.h:7:0, from /kisskb/src/drivers/cxl/mem.c:13: /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/bitfield.h:109:30: note: in definition of macro 'FIELD_GET' (typeof(_mask))(((_reg) & (_mask)) >> __bf_shf(_mask)); \ ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/bitfield.h:109:30: note: in definition of macro 'FIELD_GET' (typeof(_mask))(((_reg) & (_mask)) >> __bf_shf(_mask)); \ ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/bitfield.h:42:38: note: in definition of macro '__bf_shf' #define __bf_shf(x) (__builtin_ffsll(x) - 1) ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/bitfield.h:42:38: note: in definition of macro '__bf_shf' #define __bf_shf(x) (__builtin_ffsll(x) - 1) ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:31:44: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_STATUS_RET_CODE_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:352:13: note: in expansion of macro 'CXLDEV_MBOX_STATUS_RET_CODE_MASK' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ In file included from <command-line>:0:0: /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:46:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:361:12: note: in expansion of macro 'FIELD_GET' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:361:22: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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"); \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:361:12: note: in expansion of macro 'FIELD_GET' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:361:22: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:49:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:361:12: note: in expansion of macro 'FIELD_GET' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:361:22: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:49:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ ^ /kisskb/src/include/linux/bitfield.h:50:19: note: in expansion of macro '__bf_shf' ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:361:12: note: in expansion of macro 'FIELD_GET' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:361:22: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:52:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:361:12: note: in expansion of macro 'FIELD_GET' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:361:22: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:361:12: note: in expansion of macro 'FIELD_GET' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:361:22: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:55:21: note: in expansion of macro '__bf_shf' (1ULL << __bf_shf(_mask))); \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:361:12: note: in expansion of macro 'FIELD_GET' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:361:22: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:361:12: note: in expansion of macro 'FIELD_GET' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:361:22: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:55:21: note: in expansion of macro '__bf_shf' (1ULL << __bf_shf(_mask))); \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:361:12: note: in expansion of macro 'FIELD_GET' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:361:22: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ In file included from /kisskb/src/drivers/cxl/cxl.h:7:0, from /kisskb/src/drivers/cxl/mem.c:13: /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/bitfield.h:109:30: note: in definition of macro 'FIELD_GET' (typeof(_mask))(((_reg) & (_mask)) >> __bf_shf(_mask)); \ ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:361:22: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/bitfield.h:42:38: note: in definition of macro '__bf_shf' #define __bf_shf(x) (__builtin_ffsll(x) - 1) ^ /kisskb/src/drivers/cxl/mem.c:361:12: note: in expansion of macro 'FIELD_GET' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:29:47: note: in expansion of macro 'GENMASK' #define CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16) ^ /kisskb/src/drivers/cxl/mem.c:361:22: note: in expansion of macro 'CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ In file included from <command-line>:0:0: /kisskb/src/drivers/cxl/mem.c: In function 'cxl_mem_setup_regs': /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:46:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:46:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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"); \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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"); \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:49:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:49:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:49:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ ^ /kisskb/src/include/linux/bitfield.h:50:19: note: in expansion of macro '__bf_shf' ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:49:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ ^ /kisskb/src/include/linux/bitfield.h:50:19: note: in expansion of macro '__bf_shf' ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:52:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:52:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:55:21: note: in expansion of macro '__bf_shf' (1ULL << __bf_shf(_mask))); \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:55:21: note: in expansion of macro '__bf_shf' (1ULL << __bf_shf(_mask))); \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:55:21: note: in expansion of macro '__bf_shf' (1ULL << __bf_shf(_mask))); \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:300:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/build_bug.h:21:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(((n) & ((n) - 1)) != 0) ^ /kisskb/src/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) + \ ^ /kisskb/src/include/linux/bitfield.h:55:21: note: in expansion of macro '__bf_shf' (1ULL << __bf_shf(_mask))); \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ In file included from /kisskb/src/drivers/cxl/cxl.h:7:0, from /kisskb/src/drivers/cxl/mem.c:13: /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/bitfield.h:109:30: note: in definition of macro 'FIELD_GET' (typeof(_mask))(((_reg) & (_mask)) >> __bf_shf(_mask)); \ ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/bitfield.h:109:30: note: in definition of macro 'FIELD_GET' (typeof(_mask))(((_reg) & (_mask)) >> __bf_shf(_mask)); \ ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: left shift count >= width of type #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/bitfield.h:42:38: note: in definition of macro '__bf_shf' #define __bf_shf(x) (__builtin_ffsll(x) - 1) ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/build_bug.h:16:51: warning: right shift count is negative #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/bitfield.h:42:38: note: in definition of macro '__bf_shf' #define __bf_shf(x) (__builtin_ffsll(x) - 1) ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \ ^ /kisskb/src/include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK' (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) ^ /kisskb/src/drivers/cxl/cxl.h:15:39: note: in expansion of macro 'GENMASK' #define CXLDEV_CAP_ARRAY_COUNT_MASK GENMASK(47, 32) ^ /kisskb/src/drivers/cxl/mem.c:849:24: note: in expansion of macro 'CXLDEV_CAP_ARRAY_COUNT_MASK' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ In file included from <command-line>:0:0: /kisskb/src/drivers/cxl/mem.c: In function '__cxl_mem_mbox_send_cmd': /kisskb/src/include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_277' declared with attribute error: FIELD_GET: mask is not constant _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/compiler_types.h:301:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:46:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_278' declared with attribute error: FIELD_GET: mask is zero _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/compiler_types.h:301:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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"); \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:352:3: note: in expansion of macro 'FIELD_GET' FIELD_GET(CXLDEV_MBOX_STATUS_RET_CODE_MASK, status_reg); ^ /kisskb/src/include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_283' declared with attribute error: FIELD_GET: mask is not constant _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/compiler_types.h:301:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:46:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:361:12: note: in expansion of macro 'FIELD_GET' out_len = FIELD_GET(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, cmd_reg); ^ /kisskb/src/include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_271' declared with attribute error: FIELD_PREP: mask is not constant _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/compiler_types.h:301:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:46:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ ^ /kisskb/src/include/linux/bitfield.h:94:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ ^ /kisskb/src/drivers/cxl/mem.c:329:14: note: in expansion of macro 'FIELD_PREP' cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK, ^ In function 'cxl_mem_setup_regs', inlined from 'cxl_mem_probe' at /kisskb/src/drivers/cxl/mem.c:1451:5: /kisskb/src/include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_309' declared with attribute error: FIELD_GET: mask is not constant _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/compiler_types.h:301:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/include/linux/bitfield.h:46:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ /kisskb/src/include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_310' declared with attribute error: FIELD_GET: mask is zero _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/compiler_types.h:301:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^ /kisskb/src/include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/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) ^ /kisskb/src/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"); \ ^ /kisskb/src/include/linux/bitfield.h:108:3: note: in expansion of macro '__BF_FIELD_CHECK' __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ ^ /kisskb/src/drivers/cxl/mem.c:849:14: note: in expansion of macro 'FIELD_GET' cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); ^ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:287: drivers/cxl/mem.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:530: drivers/cxl] Error 2 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function 'amdgpu_dm_psr_enable': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:9798:9: warning: missing braces around initializer [-Wmissing-braces] struct dc_static_screen_params params = {0}; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:9798:9: warning: (near initialization for 'params.triggers') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c: In function 'bios_parser_get_i2c_info': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:297:9: warning: missing braces around initializer [-Wmissing-braces] struct atom_i2c_record dummy_record = {0}; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:297:9: warning: (near initialization for 'dummy_record.record_header') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c: In function 'commit_planes_for_stream': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2483:11: warning: missing braces around initializer [-Wmissing-braces] union dmub_hw_lock_flags hw_locks = { 0 }; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2483:11: warning: (near initialization for 'hw_locks.bits') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2664:11: warning: missing braces around initializer [-Wmissing-braces] union dmub_hw_lock_flags hw_locks = { 0 }; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2664:11: warning: (near initialization for 'hw_locks.bits') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c: In function 'dp_test_get_audio_test_data': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:2821:8: warning: missing braces around initializer [-Wmissing-braces] union audio_test_mode dpcd_test_mode = {0}; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:2821:8: warning: (near initialization for 'dpcd_test_mode.bits') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:2823:8: warning: missing braces around initializer [-Wmissing-braces] union audio_test_pattern_period dpcd_pattern_period[AUDIO_CHANNELS_COUNT] = {0}; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:2823:8: warning: (near initialization for 'dpcd_pattern_period[0]') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c: In function 'dc_link_dp_set_test_pattern': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:4161:11: warning: missing braces around initializer [-Wmissing-braces] union dmub_hw_lock_flags hw_locks = { 0 }; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:4161:11: warning: (near initialization for 'hw_locks.bits') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:4205:11: warning: missing braces around initializer [-Wmissing-braces] union dmub_hw_lock_flags hw_locks = { 0 }; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:4205:11: warning: (near initialization for 'hw_locks.bits') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_dcn20.c: In function 'dmub_dcn20_enable_dmub_boot_options': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_dcn20.c:333:8: warning: missing braces around initializer [-Wmissing-braces] union dmub_fw_boot_options boot_options = {0}; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_dcn20.c:333:8: warning: (near initialization for 'boot_options.bits') [-Wmissing-braces] make[1]: *** [/kisskb/src/Makefile:1830: drivers] Error 2 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 48 ARCH=mips O=/kisskb/build/linux-next_mips-allmodconfig_mips-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linux-next_mips-allmodconfig_mips-gcc4.9 # Build took: 0:15:49.217196
© Michael Ellerman 2006-2018.