DKMS make.log for nvidia-340-340.107 for kernel 5.0.0-23-generic (x86_64) zo aug 4 11:17:24 CEST 2019 NVIDIA: calling KBUILD... make[1]: Entering directory '/usr/src/linux-headers-5.0.0-23-generic' Makefile:223: ================= WARNING ================ Makefile:224: 'SUBDIRS' will be removed after Linux 5.3 Makefile:225: Please use 'M=' or 'KBUILD_EXTMOD' instead Makefile:226: ========================================== test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p /var/lib/dkms/nvidia-340/340.107/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia-340/340.107/build/.tmp_versions/* make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia-340/340.107/build (cat /dev/null; echo kernel//var/lib/dkms/nvidia-340/340.107/build/nvidia.ko;) > /var/lib/dkms/nvidia-340/340.107/build/modules.order cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-340/340.107/build/nv-acpi.o /var/lib/dkms/nvidia-340/340.107/build/nv-acpi.c cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-340/340.107/build/nv-chrdev.o /var/lib/dkms/nvidia-340/340.107/build/nv-chrdev.c cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-340/340.107/build/nv-cray.o /var/lib/dkms/nvidia-340/340.107/build/nv-cray.c cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-340/340.107/build/nv-dma.o /var/lib/dkms/nvidia-340/340.107/build/nv-dma.c In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-acpi.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-chrdev.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-cray.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-dma.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ ./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’: ./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’: ./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ ./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’: ./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’: ./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ ./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ ./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-chrdev.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-acpi.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-dma.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-cray.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-cray.c:15: ./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/nv-dma.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/nv-cray.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/nv-chrdev.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/nv-acpi.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-cray.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-dma.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-chrdev.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-acpi.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-cray.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-dma.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-chrdev.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-acpi.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/nv-cray.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/nv-dma.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/nv-acpi.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/nv-chrdev.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_drm"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-340/340.107/build/nv-drm.o /var/lib/dkms/nvidia-340/340.107/build/nv-drm.c cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_gvi"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-340/340.107/build/nv-gvi.o /var/lib/dkms/nvidia-340/340.107/build/nv-gvi.c In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-drm.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-gvi.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-340/340.107/build/nv-i2c.o /var/lib/dkms/nvidia-340/340.107/build/nv-i2c.c In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-i2c.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-drm.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-gvi.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-i2c.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_mempool"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-340/340.107/build/nv-mempool.o /var/lib/dkms/nvidia-340/340.107/build/nv-mempool.c ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/nv-drm.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-mempool.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/nv-gvi.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-drm.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/nv-i2c.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-gvi.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-mempool.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-drm.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-gvi.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-i2c.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-i2c.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/nv-drm.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/nv-mempool.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/nv-gvi.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-mempool.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/nv-i2c.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-mempool.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-340/340.107/build/nv-mmap.o /var/lib/dkms/nvidia-340/340.107/build/nv-mmap.c /var/lib/dkms/nvidia-340/340.107/build/nv-drm.c: In function ‘nv_alloc_os_descriptor_handle’: /var/lib/dkms/nvidia-340/340.107/build/nv-drm.c:255:5: error: implicit declaration of function ‘drm_gem_object_unreference_unlocked’; did you mean ‘drm_gem_object_put_unlocked’? [-Werror=implicit-function-declaration] drm_gem_object_unreference_unlocked(&nv_obj->base); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drm_gem_object_put_unlocked In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-mmap.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ cc1: some warnings being treated as errors scripts/Makefile.build:284: recipe for target '/var/lib/dkms/nvidia-340/340.107/build/nv-drm.o' failed make[2]: *** [/var/lib/dkms/nvidia-340/340.107/build/nv-drm.o] Error 1 cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.nv-p2p.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_p2p"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-340/340.107/build/nv-p2p.o /var/lib/dkms/nvidia-340/340.107/build/nv-p2p.c cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.nv-pat.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_pat"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-340/340.107/build/nv-pat.o /var/lib/dkms/nvidia-340/340.107/build/nv-pat.c In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-p2p.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-pat.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/nv-mempool.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-mmap.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-p2p.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.nv-procfs.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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 /var/lib/dkms/nvidia-340/340.107/build/nv-procfs.o /var/lib/dkms/nvidia-340/340.107/build/nv-procfs.c In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-pat.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-procfs.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/nv-mmap.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-mmap.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/nv-p2p.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-procfs.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/nv-pat.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-mmap.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-p2p.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-pat.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-p2p.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-pat.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/nv-procfs.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/nv-mmap.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-procfs.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/nv-p2p.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/nv-pat.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-procfs.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.nv-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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 /var/lib/dkms/nvidia-340/340.107/build/nv-usermap.o /var/lib/dkms/nvidia-340/340.107/build/nv-usermap.c cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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 /var/lib/dkms/nvidia-340/340.107/build/nv-vm.o /var/lib/dkms/nvidia-340/340.107/build/nv-vm.c In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-usermap.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.nv-vtophys.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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 /var/lib/dkms/nvidia-340/340.107/build/nv-vtophys.o /var/lib/dkms/nvidia-340/340.107/build/nv-vtophys.c In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/nv-procfs.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-vm.c:14: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-vtophys.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-usermap.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-vm.c:14: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-vtophys.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/nv-usermap.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/nv-vm.c:14: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.os-interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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 /var/lib/dkms/nvidia-340/340.107/build/os-interface.o /var/lib/dkms/nvidia-340/340.107/build/os-interface.c In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-usermap.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/nv-vtophys.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-interface.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’: ./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-vm.c:14: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-usermap.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-vm.c:14: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-vtophys.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-interface.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-vtophys.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/nv-usermap.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/nv-vm.c:14: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/nv-vtophys.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/os-interface.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.os-mlock.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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 /var/lib/dkms/nvidia-340/340.107/build/os-mlock.o /var/lib/dkms/nvidia-340/340.107/build/os-mlock.c In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-interface.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-mlock.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.os-pci.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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 /var/lib/dkms/nvidia-340/340.107/build/os-pci.o /var/lib/dkms/nvidia-340/340.107/build/os-pci.c In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-interface.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-pci.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-mlock.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-pci.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/os-interface.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /var/lib/dkms/nvidia-340/340.107/build/os-interface.c: In function ‘os_get_current_time’: /var/lib/dkms/nvidia-340/340.107/build/os-interface.c:443:5: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘efi_gettimeofday’? [-Werror=implicit-function-declaration] do_gettimeofday(&tm); ^~~~~~~~~~~~~~~ efi_gettimeofday In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.os-registry.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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 /var/lib/dkms/nvidia-340/340.107/build/os-registry.o /var/lib/dkms/nvidia-340/340.107/build/os-registry.c In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/os-mlock.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-registry.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’: ./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/os-pci.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-mlock.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-mlock.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-pci.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-registry.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-pci.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/os-mlock.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ cc1: some warnings being treated as errors scripts/Makefile.build:284: recipe for target '/var/lib/dkms/nvidia-340/340.107/build/os-interface.o' failed make[2]: *** [/var/lib/dkms/nvidia-340/340.107/build/os-interface.o] Error 1 cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.os-smp.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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 /var/lib/dkms/nvidia-340/340.107/build/os-smp.o /var/lib/dkms/nvidia-340/340.107/build/os-smp.c In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-registry.c:15: ./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/os-registry.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-smp.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/os-pci.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-registry.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.os-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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 /var/lib/dkms/nvidia-340/340.107/build/os-usermap.o /var/lib/dkms/nvidia-340/340.107/build/os-usermap.c In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-registry.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-usermap.c:15: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-smp.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.nv_uvm_interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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 /var/lib/dkms/nvidia-340/340.107/build/nv_uvm_interface.o /var/lib/dkms/nvidia-340/340.107/build/nv_uvm_interface.c In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-usermap.c:15: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/os-registry.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/os-smp.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv_uvm_interface.c:21: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-smp.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/os-usermap.c:15: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-smp.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.nv-frontend.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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 /var/lib/dkms/nvidia-340/340.107/build/nv-frontend.o /var/lib/dkms/nvidia-340/340.107/build/nv-frontend.c In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/nv_uvm_interface.c:21: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-usermap.c:15: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-frontend.c:13: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/os-usermap.c:15: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv_uvm_interface.c:21: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/os-smp.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv_uvm_interface.c:21: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-frontend.c:13: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/os-usermap.c:15: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ cc -Wp,-MD,/var/lib/dkms/nvidia-340/340.107/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include -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_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-340/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/lib/dkms/nvidia-340/340.107/build/nv.o /var/lib/dkms/nvidia-340/340.107/build/nv.c ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./include/linux/byteorder/little_endian.h:11:0, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:507, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv.c:13: ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: ./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/nv_uvm_interface.c:21: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/nv-frontend.c:13: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from ./arch/x86/include/asm/current.h:5:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv.c:13: ./include/linux/thread_info.h: In function ‘check_copy_size’: ./include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ ./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-frontend.c:13: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv-frontend.c:13: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/mmzone.h: In function ‘next_zones_zonelist’: ./include/linux/mmzone.h:995:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ ./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv.c:13: ./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ 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 between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from ./include/linux/page_ref.h:7:0, from ./include/linux/mm.h:26, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:68, from /var/lib/dkms/nvidia-340/340.107/build/nv.c:13: ./include/linux/page-flags.h: In function ‘PagePoisoned’: ./include/linux/page-flags.h:163:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/nv-frontend.c:13: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ In file included from ./arch/x86/include/asm/current.h:6:0, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv.c:13: ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17:0, from ./arch/x86/include/asm/irqflags.h:72, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, 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 /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:44, from /var/lib/dkms/nvidia-340/340.107/build/nv.c:13: ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: ./include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ ./include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20:0, from /var/lib/dkms/nvidia-340/340.107/build/nv-linux.h:173, from /var/lib/dkms/nvidia-340/340.107/build/nv.c:13: ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: ./include/linux/rtc.h:239:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ ./include/linux/rtc.h:244:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ make[2]: Target '__build' not remade because of errors. Makefile:1606: recipe for target '_module_/var/lib/dkms/nvidia-340/340.107/build' failed make[1]: *** [_module_/var/lib/dkms/nvidia-340/340.107/build] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-headers-5.0.0-23-generic' NVIDIA: left KBUILD. nvidia.ko failed to build! Makefile:192: recipe for target 'nvidia.ko' failed make: *** [nvidia.ko] Error 1 make: Target 'module' not remade because of errors. make: Entering directory '/var/lib/dkms/nvidia-340/340.107/build/uvm' cd ./..; make module SYSSRC=/lib/modules/5.0.0-23-generic/build SYSOUT=/lib/modules/5.0.0-23-generic/build KBUILD_EXTMOD=./.. make[1]: Entering directory '/var/lib/dkms/nvidia-340/340.107/build' NVIDIA: calling KBUILD... make[2]: Entering directory '/usr/src/linux-headers-5.0.0-23-generic' Makefile:223: ================= WARNING ================ Makefile:224: 'SUBDIRS' will be removed after Linux 5.3 Makefile:225: Please use 'M=' or 'KBUILD_EXTMOD' instead Makefile:226: ========================================== test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p ./../.tmp_versions ; rm -f ./../.tmp_versions/* make -f ./scripts/Makefile.build obj=./.. scripts/Makefile.build:42: ../Makefile: No such file or directory make[3]: *** No rule to make target '../Makefile'. Stop. Makefile:1606: recipe for target '_module_./..' failed make[2]: *** [_module_./..] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-5.0.0-23-generic' NVIDIA: left KBUILD. nvidia.ko failed to build! Makefile:192: recipe for target 'nvidia.ko' failed make[1]: *** [nvidia.ko] Error 1 make[1]: Leaving directory '/var/lib/dkms/nvidia-340/340.107/build' Makefile:220: recipe for target '../Module.symvers' failed make: *** [../Module.symvers] Error 2 make: Leaving directory '/var/lib/dkms/nvidia-340/340.107/build/uvm'