Skip to content

Instantly share code, notes, and snippets.

@graysky2
Created February 4, 2020 21:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save graysky2/ab7ee9dc5194051e3bab32211d86a9c7 to your computer and use it in GitHub Desktop.
Save graysky2/ab7ee9dc5194051e3bab32211d86a9c7 to your computer and use it in GitHub Desktop.
NVIDIA: calling KBUILD...
make[1]: Entering directory '/usr/lib/modules/5.5.1-arch1-1/build'
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)
make -f ./scripts/Makefile.build obj=/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel \
single-build= \
need-builtin=1 need-modorder=1
{ echo /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko; :; } \
| awk '!x[$0]++' - > /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/modules.order
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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 /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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 /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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 /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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 /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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 /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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 /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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 /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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 /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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 /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.o
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-p2p.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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 /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.o
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-pat.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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 /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c
/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c: In function ‘nv_encode_caching’:
/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:199:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
199 | if (NV_ALLOW_CACHING(memory_type))
| ^
/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:201:9: note: here
201 | default:
| ^~~~~~~
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.o
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-procfs.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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_procfs"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.o
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.o
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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_usermap"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.o
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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_vm"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.o
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-vtophys.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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_vtophys"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.os-interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_interface"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.o
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.o
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.os-mlock.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_mlock"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.os-pci.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_pci"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.o
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.os-registry.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_registry"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.o
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.o
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.os-smp.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_smp"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.os-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_usermap"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.o
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.o
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv_uvm_interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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_uvm_interface"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-frontend.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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_frontend"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.o
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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 /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.o
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.o
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.o
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.o
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.o
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.o
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.o
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:173,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.o
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.o
ld -m elf_x86_64 -z max-page-size=0x200000 -r -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-kernel.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.o
{ echo /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-kernel.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.o; echo; } > /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.mod
make -f ./scripts/Makefile.modpost
sed 's/ko$/o/' /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/modules.order | scripts/mod/modpost -a -i ./Module.symvers -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/Module.symvers -s -T -
WARNING: could not find /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-kernel.o.cmd for /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-kernel.o
make -f ./scripts/Makefile.modfinal
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nvidia.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DMODULE -DKBUILD_BASENAME='"nvidia.mod"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.mod.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.mod.c
ld -r -m elf_x86_64 -z max-page-size=0x200000 --build-id -T ./scripts/module-common.lds -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.mod.o; true
make[1]: Leaving directory '/usr/lib/modules/5.5.1-arch1-1/build'
NVIDIA: left KBUILD.
cp ../Module.symvers Module.symvers
NVIDIA UVM: CC=cc, HOST_CC=cc NV_TARGET_ARCH=x86_64
NVIDIA UVM: CONFTEST=/bin/sh ./conftest.sh cc cc x86_64 /usr/src/linux /usr/src/linux
KERNEL_SOURCES: /usr/src/linux
EXTRA_CFLAGS: -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I./.. -I. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.108" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia-uvm"
NVIDIA: calling KBUILD...
make[1]: Entering directory '/usr/lib/modules/5.5.1-arch1-1/build'
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)
make -f ./scripts/Makefile.build obj=/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm \
single-build= \
need-builtin=1 need-modorder=1
{ echo /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia-uvm.ko; :; } \
| awk '!x[$0]++' - > /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/modules.order
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_utils.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_utils"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_common.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_common"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_lite.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_lite"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c:41:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_page_cache.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_page_cache"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_lite_api.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_lite_api"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_lite_counters.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_lite_counters"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_page_migration.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_page_migration"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c:41:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_page_migration_kepler.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_page_migration_kepler"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration_kepler.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration_kepler.c
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_lite_events.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_lite_events"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c:28:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c:41:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c:41:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c:41:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c:28:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration_kepler.o
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.uvm_gpu_ops_tests.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"uvm_gpu_ops_tests"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/uvm_gpu_ops_tests.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/uvm_gpu_ops_tests.c
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c:41:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/uvm_gpu_ops_tests.o
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c:28:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c:28:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
cc -Wp,-MD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_linux.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_linux"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.c
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c:28:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.o
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:26,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.c:24:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c:28:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.c:24:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c: At top level:
/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:859:14: error: initialization of ‘vm_fault_t (*)(struct vm_fault *)’ {aka ‘unsigned int (*)(struct vm_fault *)’} from incompatible pointer type ‘int (*)(struct vm_area_struct *, struct vm_fault *)’ [-Werror=incompatible-pointer-types]
859 | .fault = _fault,
| ^~~~~~
/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:859:14: note: (near initialization for ‘uvmlite_vma_ops.fault’)
/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:889:14: error: initialization of ‘vm_fault_t (*)(struct vm_fault *)’ {aka ‘unsigned int (*)(struct vm_fault *)’} from incompatible pointer type ‘int (*)(struct vm_area_struct *, struct vm_fault *)’ [-Werror=incompatible-pointer-types]
889 | .fault = _sigbus_fault,
| ^~~~~~~~~~~~~
/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:889:14: note: (near initialization for ‘counters_vma_ops.fault’)
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.o
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.c:24:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
194 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.c:24:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.c:24:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
192 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
291 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.o
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
378 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
379 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
380 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
131 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
381 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
459 | raw_cpu_add(pcp, val); \
| ^~~~~~~~~~~
./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
91 | __this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.c:24:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:162:2: note: in expansion of macro ‘for_each_online_cpu’
162 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
259 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:807:36: note: in expansion of macro ‘for_each_cpu’
807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro ‘for_each_online_cpu’
227 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.o
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.o
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.o
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.o
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.o
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:265: /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.o] Error 1
make[1]: *** [Makefile:1693: /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.5.1-arch1-1/build'
NVIDIA: left KBUILD.
nvidia-uvm.ko failed to build!
make: *** [Makefile:218: nvidia-uvm.ko] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment