Buildresult: linux-next/mips-allmodconfig/mipsel-gcc5 built on Feb 15 2021, 21:33
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Feb 15 2021, 21:33
Duration:
0:18:12.642396
Builder:
blade46
Revision:
Add linux-next specific files for 20210215 (
52a0bcb60e40f30211cb5cbbb0f582ec4e91d896)
Target:
linux-next/mips-allmodconfig/mipsel-gcc5
Branch:
linux-next
Compiler:
mipsel-gcc5
(mipsel-linux-gcc.br_real (Buildroot 2016.11-git-00613-ge98b4dd) 5.4.0 / GNU ld (GNU Binutils) 2.26.1)
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:15: 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 (93)
.config:12948:warning: override: reassigning to symbol MIPS_CPS_NS16550_SHIFT /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/mips/mips.h:2913:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/mips/mips.h:2913:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/mips/mips.h:2913:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/mips/mips.h:2913:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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' 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 include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] include/linux/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] drivers/net/wireless/ath/ath11k/qmi.c:1690:8: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type 'dma_addr_t {aka unsigned int}' [-Wformat=]
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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 52a0bcb60e40f30211cb5cbbb0f582ec4e91d896 # < make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_mips-allmodconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-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 # Added to kconfig # < make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_mips-allmodconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- help # make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_mips-allmodconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- olddefconfig .config:12948:warning: override: reassigning to symbol MIPS_CPS_NS16550_SHIFT # make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_mips-allmodconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- In file included from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:35, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/latent_entropy_plugin.c:78: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:41, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/latent_entropy_plugin.c:78: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/mips/mips.h:2913: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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:56, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/latent_entropy_plugin.c:78: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:35, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/sancov_plugin.c:22: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:41, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/sancov_plugin.c:22: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/mips/mips.h:2913: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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:35, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/structleak_plugin.c:32: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:56, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/sancov_plugin.c:22: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:41, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/structleak_plugin.c:32: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/mips/mips.h:2913: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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:56, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/structleak_plugin.c:32: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:35, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/randomize_layout_plugin.c:19: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:41, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/randomize_layout_plugin.c:19: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/mips/mips.h:2913: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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:56, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/randomize_layout_plugin.c:19: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/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/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) ^ 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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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:15: 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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:35:22: warning: left shift count >= width of type [-Wshift-count-overflow] (((~UL(0)) - (UL(1) << (l)) + 1) & \ ^ /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:38:31: note: in expansion of macro '__GENMASK' (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/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) ^ /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:38:31: note: in expansion of macro '__GENMASK' (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.... In file included from /kisskb/src/drivers/net/wireless/ath/ath11k/qmi.c:10:0: /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:1690:8: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type 'dma_addr_t {aka unsigned int}' [-Wformat=] "qmi req mem_seg[%d] 0x%llx %u %u\n", i, ^ /kisskb/src/drivers/net/wireless/ath/ath11k/debug.h:64:30: note: in definition of macro 'ath11k_dbg' __ath11k_dbg(ar, dbg_mask, fmt, ##__VA_ARGS__); \ ^ make[1]: *** [/kisskb/src/Makefile:1830: drivers] Error 2 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_mips-allmodconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linux-next_mips-allmodconfig_mipsel # Build took: 0:18:12.642396
© Michael Ellerman 2006-2018.