* Package: x11-drivers/nvidia-drivers-340.102-r1 * Repository: gentoo * Maintainer: jer@gentoo.org hardened@gentoo.org * USE: X abi_x86_32 abi_x86_64 acpi amd64 elibc_glibc kernel_linux multilib tools userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/4.12.5-gentoo/build * Found sources for kernel version: * 4.12.5-gentoo * Gentoo supports kernels which are supported by NVIDIA * which are limited to the following kernels: * >> Unpacking source... >>> Unpacking NVIDIA-Linux-x86_64-340.102.run to /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work >>> Unpacking nvidia-settings-340.102.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work >>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work >>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work ... * abi_x86_32.x86: running multilib-minimal_abi_src_configure * abi_x86_64.amd64: running multilib-minimal_abi_src_configure >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work ... * Preparing nvidia module make -j12 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' ARCH=x86_64 IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/4.12.5-gentoo/build CC=x86_64-pc-linux-gnu-gcc clean module NVIDIA: calling KBUILD... make[1]: Entering directory '/usr/src/linux-4.12.5-gentoo' make -C /lib/modules/4.12.5-gentoo/build KBUILD_SRC=/usr/src/linux-4.12.5-gentoo \ -f /usr/src/linux-4.12.5-gentoo/Makefile modules make[2]: Entering directory '/usr/src/linux-4.12.5-gentoo' test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/.tmp_versions ; rm -f /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/.tmp_versions/* make -f /usr/src/linux-4.12.5-gentoo/scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel (cat /dev/null; echo kernel//var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nvidia.ko;) > /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/modules.order x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.12.5-gentoo/include -I./include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include/uapi -I/usr/src/linux-4.12.5-gentoo/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.12.5-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv.c x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.12.5-gentoo/include -I./include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include/uapi -I/usr/src/linux-4.12.5-gentoo/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.12.5-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-acpi.o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-acpi.c x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.12.5-gentoo/include -I./include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include/uapi -I/usr/src/linux-4.12.5-gentoo/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.12.5-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-chrdev.o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-chrdev.c x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.12.5-gentoo/include -I./include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include/uapi -I/usr/src/linux-4.12.5-gentoo/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.12.5-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-cray.o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-cray.c x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.12.5-gentoo/include -I./include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include/uapi -I/usr/src/linux-4.12.5-gentoo/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.12.5-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-dma.o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-dma.c x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.12.5-gentoo/include -I./include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include/uapi -I/usr/src/linux-4.12.5-gentoo/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.12.5-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_drm"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-drm.o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-drm.c x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.12.5-gentoo/include -I./include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include/uapi -I/usr/src/linux-4.12.5-gentoo/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.12.5-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_gvi"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-gvi.o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-gvi.c x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.12.5-gentoo/include -I./include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include/uapi -I/usr/src/linux-4.12.5-gentoo/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.12.5-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-i2c.o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-i2c.c x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.12.5-gentoo/include -I./include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include/uapi -I/usr/src/linux-4.12.5-gentoo/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.12.5-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_mempool"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-mempool.o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-mempool.c x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.12.5-gentoo/include -I./include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include/uapi -I/usr/src/linux-4.12.5-gentoo/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.12.5-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-mmap.o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-mmap.c x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/.nv-p2p.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.12.5-gentoo/include -I./include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include/uapi -I/usr/src/linux-4.12.5-gentoo/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.12.5-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_p2p"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-p2p.o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-p2p.c x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/.nv-pat.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.12.5-gentoo/include -I./include -I/usr/src/linux-4.12.5-gentoo/arch/x86/include/uapi -I/usr/src/linux-4.12.5-gentoo/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.12.5-gentoo/include/linux/kconfig.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.102\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_pat"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-pat.o /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-pat.c In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv.c:13: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-acpi.c:15: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-chrdev.c:15: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-cray.c:15: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-drm.c:15: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-i2c.c:15: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-gvi.c:15: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-p2p.c:15: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-mmap.c:15: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-pat.c:15: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-dma.c:15: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-mempool.c:15: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-4.12.5-gentoo/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:5:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv.c:13: /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:5:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-chrdev.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:5:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-cray.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:5:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-drm.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:5:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-acpi.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h: In function ‘next_zones_zonelist’: In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:5:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-i2c.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:5:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-gvi.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-4.12.5-gentoo/include/linux/mmzone.h:972:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:5:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-pat.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:5:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-mmap.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:5:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-dma.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:5:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-p2p.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:5:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-mempool.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv.c:13: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-chrdev.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-cray.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-acpi.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-drm.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-i2c.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-4.12.5-gentoo/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-gvi.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-pat.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-mmap.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-dma.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-p2p.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-4.12.5-gentoo/arch/x86/include/asm/current.h:4:0, from /usr/src/linux-4.12.5-gentoo/include/linux/sched.h:11, from /usr/src/linux-4.12.5-gentoo/include/linux/utsname.h:5, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:44, from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-mempool.c:15: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-4.12.5-gentoo/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-4.12.5-gentoo/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv.c:13:0: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h: At top level: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:199:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-chrdev.c:15:0: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h: At top level: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:199:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-acpi.c:15:0: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h: At top level: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:199:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-cray.c:15:0: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h: At top level: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:199:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-drm.c:15:0: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h: At top level: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:199:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-i2c.c:15:0: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h: At top level: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:199:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-gvi.c:15:0: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h: At top level: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:199:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-pat.c:15:0: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h: At top level: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:199:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-mmap.c:15:0: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h: At top level: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:199:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-dma.c:15:0: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h: At top level: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:199:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ make[3]: *** [/usr/src/linux-4.12.5-gentoo/scripts/Makefile.build:302: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-chrdev.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-mempool.c:15:0: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h: At top level: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:199:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-p2p.c:15:0: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h: At top level: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:199:2: error: #error "This driver requires the ability to change memory types!" #error "This driver requires the ability to change memory types!" ^~~~~ make[3]: *** [/usr/src/linux-4.12.5-gentoo/scripts/Makefile.build:302: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-cray.o] Error 1 make[3]: *** [/usr/src/linux-4.12.5-gentoo/scripts/Makefile.build:302: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-drm.o] Error 1 make[3]: *** [/usr/src/linux-4.12.5-gentoo/scripts/Makefile.build:302: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-i2c.o] Error 1 /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-pat.c: In function ‘nvidia_cpu_callback’: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-pat.c:213:14: error: ‘CPU_DOWN_FAILED’ undeclared (first use in this function) case CPU_DOWN_FAILED: ^~~~~~~~~~~~~~~ /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-pat.c:213:14: note: each undeclared identifier is reported only once for each function it appears in /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-pat.c:220:14: error: ‘CPU_DOWN_PREPARE’ undeclared (first use in this function) case CPU_DOWN_PREPARE: ^~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-pat.c:15:0: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-pat.c: In function ‘nv_init_pat_support’: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:368:34: error: implicit declaration of function ‘register_cpu_notifier’ [-Werror=implicit-function-declaration] #define register_hotcpu_notifier register_cpu_notifier ^ /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-pat.c:258:17: note: in expansion of macro ‘register_hotcpu_notifier’ if (register_hotcpu_notifier(&nv_hotcpu_nfb) != 0) ^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-pat.c: In function ‘nv_teardown_pat_support’: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-linux.h:365:36: error: implicit declaration of function ‘unregister_cpu_notifier’ [-Werror=implicit-function-declaration] #define unregister_hotcpu_notifier unregister_cpu_notifier ^ /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-pat.c:283:9: note: in expansion of macro ‘unregister_hotcpu_notifier’ unregister_hotcpu_notifier(&nv_hotcpu_nfb); ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [/usr/src/linux-4.12.5-gentoo/scripts/Makefile.build:302: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-acpi.o] Error 1 make[3]: *** [/usr/src/linux-4.12.5-gentoo/scripts/Makefile.build:302: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-gvi.o] Error 1 cc1: some warnings being treated as errors make[3]: *** [/usr/src/linux-4.12.5-gentoo/scripts/Makefile.build:302: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-pat.o] Error 1 make[3]: *** [/usr/src/linux-4.12.5-gentoo/scripts/Makefile.build:302: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-mmap.o] Error 1 make[3]: *** [/usr/src/linux-4.12.5-gentoo/scripts/Makefile.build:302: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-dma.o] Error 1 make[3]: *** [/usr/src/linux-4.12.5-gentoo/scripts/Makefile.build:302: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-mempool.o] Error 1 make[3]: *** [/usr/src/linux-4.12.5-gentoo/scripts/Makefile.build:302: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv.o] Error 1 make[3]: *** [/usr/src/linux-4.12.5-gentoo/scripts/Makefile.build:302: /var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel/nv-p2p.o] Error 1 make[2]: *** [/usr/src/linux-4.12.5-gentoo/Makefile:1515: _module_/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel] Error 2 make[2]: Leaving directory '/usr/src/linux-4.12.5-gentoo' make[1]: *** [Makefile:152: sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-4.12.5-gentoo' NVIDIA: left KBUILD. nvidia.ko failed to build! make: *** [Makefile:185: nvidia.ko] Error 1 * ERROR: x11-drivers/nvidia-drivers-340.102-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-340.102-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-340.102-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/temp/environment'. * Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/kernel' * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-340.102-r1/work/'