nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Mon Jul 24 16:05:04 2017 installer version: 340.102 PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin nvidia-installer command line: ./nvidia-installer Unable to load: nvidia-installer ncurses v6 user interface Using: nvidia-installer ncurses user interface -> License accepted. -> Installing NVIDIA driver version 340.102. -> Performing CC sanity check with CC="/usr/bin/cc". -> Kernel source path: '/lib/modules/4.9.0-3-amd64/source' -> Kernel output path: '/lib/modules/4.9.0-3-amd64/build' -> Performing rivafb check. -> Performing nvidiafb check. -> Performing Xen check. -> Performing PREEMPT_RT check. -> Cleaning kernel module build directory. executing: 'cd ./kernel; /usr/bin/make clean'... -> Building NVIDIA kernel module: executing: 'cd ./kernel; /usr/bin/make module SYSSRC=/lib/modules/4.9.0-3-amd64/source SYSOUT=/lib/modules/4.9.0-3-amd64/build NV_BUILD_MODULE_INSTANCES='... NVIDIA: calling KBUILD... make[1]: Wejście do katalogu '/usr/src/linux-headers-4.9.0-3-common' /usr/bin/make -C /lib/modules/4.9.0-3-amd64/build KBUILD_SRC=/usr/src/linux-headers-4.9.0-3-common -f /usr/src/linux-headers-4.9.0-3-common/Makefile modules make[2]: Wejście do katalogu '/usr/src/linux-headers-4.9.0-3-amd64' 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/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_versions ; rm -f /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_versions/* /usr/bin/make -f /usr/src/linux-headers-4.9.0-3-common/scripts/Makefile.build obj=/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulat e-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_ STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_nv.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv.c:13: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv.c:13: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv.c:13: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -m tune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compa re -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_nv-acpi.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-acpi.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-acpi.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-acpi.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-acpi.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-acpi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-acpi.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m 64 -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_I NSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_nv-chrdev.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-chrdev.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-chrdev.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-chrdev.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-chrdev.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-chrdev.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-chrdev.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -W error-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=stric t-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_nv-cray.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-cray.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-cray.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-cray.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-cray.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-cray.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-cray.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-34 0.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclarat ion-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_nv-dma.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-dma.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-dma.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-dma.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-dma.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-dma.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-dma.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9. 0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"nv_drm"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_nv-drm.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-drm.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-drm.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-drm.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-drm.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-drm.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-drm.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uap i -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=a llow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"nv_gvi"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_nv-gvi.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-gvi.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-gvi.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-gvi.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-gvi.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-gvi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-gvi.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-commo n/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-co mpare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_nv-i2c .o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-i2c.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-i2c.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-i2c.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-i2c.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-i2c.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-i2c.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/gen erated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX= 1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='" nv_mempool"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_nv-mempool.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-mempool.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-mempool.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-mempool.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-mempool.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-mempool.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-mempool.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 - DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_nv-mmap.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-mmap.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-mmap.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-mmap.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-mmap.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-mmap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-mmap.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv-p2p.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno -red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"nv_p2p"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_nv-p2p.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-p2p.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-p2p.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-p2p.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-p2p.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-p2p.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-p2p.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv-pat.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-l oops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"nv_pat"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_nv-pat.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-pat.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-pat.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-pat.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-pat.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-pat.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-pat.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv-procfs.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-se curity -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatibl e-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"nv_procfs"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_nv-procfs.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-procfs.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-procfs.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-procfs.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-procfs.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-procfs.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-procfs.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wal l -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-point er-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"nv_usermap"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_nv-usermap.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-usermap.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-usermap.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-usermap.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-usermap.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-usermap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-usermap.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9 .0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variabl e -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"nv_vm"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_nv-vm.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-vm.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-vm.c:14: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-vm.c:14: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-vm.c:14: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-vm.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-vm.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv-vtophys.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi - include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allo w-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"nv_vtophys"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_nv-vtophys.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-vtophys.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-vtophys.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-vtophys.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-vtophys.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-vtophys.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-vtophys.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.os-interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/ usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFI G_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"os_interface"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDI A-Linux-x86_64-340.102/kernel/.tmp_os-interface.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-interface.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-interface.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-interface.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-interface.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-interface.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-interface.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.os-mlock.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS =1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DN V_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"os_mlock"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_os-mlock.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-mlock.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-mlock.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-mlock.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-mlock.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-mlock.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-mlock.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.os-pci.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -ma ccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_ VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"os_pci"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_os-pci.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-pci.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-pci.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-pci.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-pci.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-pci.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-pci.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.os-registry.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpr eferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux- x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"os_registry"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_os-registry.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-registry.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-registry.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-registry.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-registry.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-registry.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-registry.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.os-smp.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-securi ty -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-po inter-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"os_smp"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_os-smp.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-smp.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-smp.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-smp.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-smp.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-smp.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-smp.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.os-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototype s -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"os_usermap"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_os-usermap.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-usermap.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-usermap.c:15: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-usermap.c:15: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-usermap.c:15: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-usermap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-usermap.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv_uvm_interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/ selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-con st-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"nv_uvm_interface"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_nv_uvm_interface.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv_uvm_interface.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv_uvm_interface.c:21: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv_uvm_interface.c:21: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv_uvm_interface.c:21: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv_uvm_interface.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv_uvm_interface.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv-frontend.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/sr c/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-ta bles -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DMODULE -DKBUILD_BASENAME='"nv_frontend"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_nv-frontend.o /tmp/selfgz1097/NVID IA-Linux-x86_64-340.102/kernel/nv-frontend.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-frontend.c:13: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-frontend.c:13: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-linux.h:44, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-frontend.c:13: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-frontend.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-frontend.o"; fi; fi; ld -m elf_x86_64 -r -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nvidia.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-kernel.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-acpi.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-chrdev.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-cray.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-dma.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-drm.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-gvi.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-i2c.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-mempool.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-mmap.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-p2p.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-pat.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-procfs.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-usermap.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-vm.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-vtophys.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-interface.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-mlock.o /tmp/selfgz1097/NVID IA-Linux-x86_64-340.102/kernel/os-pci.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-registry.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-smp.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/os-usermap.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv_uvm_interface.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-frontend.o (cat /dev/null; echo kernel//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nvidia.ko;) > /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/modules.order /usr/bin/make -f /usr/src/linux-headers-4.9.0-3-common/scripts/Makefile.modpost find /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.tmp_versions -name '*.mod' | xargs -r grep -h '.ko$' | sort -u | sed 's/.ko$/.o/' | scripts/mod/modpost -m -i ./Module.symvers -I /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/Module.symvers -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/Module.symvers -S -w -s -T - WARNING: could not find /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nv-kernel.o.cmd for /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nv-kernel.o cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/.nvidia.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEB UG -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia" -DKBUILD_BASENAME='"nvidia.mod"' -DKBUILD_MODNAME='"nvidia"' -DMODULE -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nvidia.mod.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nvidia.mod.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/linux/list.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/linux/module.h:9, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nvidia.mod.c:1: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stat.h:18, from /usr/src/linux-headers-4.9.0-3-common/include/linux/module.h:10, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nvidia.mod.c:1: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ld -r -m elf_x86_64 -T /usr/src/linux-headers-4.9.0-3-common/scripts/module-common.lds --build-id -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nvidia.ko /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nvidia.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/nvidia.mod.o ; true make[2]: Opuszczenie katalogu '/usr/src/linux-headers-4.9.0-3-amd64' make[1]: Opuszczenie katalogu '/usr/src/linux-headers-4.9.0-3-common' NVIDIA: left KBUILD. -> done. -> Building Unified Memory kernel module: executing: 'cd ./kernel/uvm; /usr/bin/make module SYSSRC=/lib/modules/4.9.0-3-amd64/source SYSOUT=/lib/modules/4.9.0-3-amd64/build NV_BUILD_MODULE_INSTANCES='... cp ../Module.symvers Module.symvers NVIDIA UVM: CC=cc, HOST_CC=cc NV_TARGET_ARCH=x86_64 NVIDIA UVM: CONFTEST=/bin/sh ./conftest.sh cc cc x86_64 /lib/modules/4.9.0-3-amd64/source /lib/modules/4.9.0-3-amd64/build KERNEL_SOURCES: /lib/modules/4.9.0-3-amd64/source EXTRA_CFLAGS: -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I./.. -I. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia-uvm" NVIDIA: calling KBUILD... make[1]: Wejście do katalogu '/usr/src/linux-headers-4.9.0-3-common' /usr/bin/make -C /lib/modules/4.9.0-3-amd64/build KBUILD_SRC=/usr/src/linux-headers-4.9.0-3-common -f /usr/src/linux-headers-4.9.0-3-common/Makefile modules make[2]: Wejście do katalogu '/usr/src/linux-headers-4.9.0-3-amd64' 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/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.tmp_versions ; rm -f /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.tmp_versions/* /usr/bin/make -f /usr/src/linux-headers-4.9.0-3-common/scripts/Makefile.build obj=/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.nvidia_uvm_linux.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asyn chronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_S TRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia-uvm" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_linux"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.tmp_nvidia_uvm_linux.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.c:24: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.c:24: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.c:24: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.nvidia_uvm_common.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wer ror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia-uvm" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_common"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.tmp_nvidia_uvm_common.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.c:41: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.c:41: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.c:41: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.nvidia_uvm_utils.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED - I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia-uvm" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_utils"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.tmp_nvidia_uvm_utils.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_utils.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_utils.c:25: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_utils.c:25: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_utils.c:25: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_utils.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_utils.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.nvidia_uvm_lite.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-comm on/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wn o-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODU LE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia-uvm" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_lite"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.tmp_nvidia_uvm_lite.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite.c:26: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite.c:26: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite.c:26: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.nvidia_uvm_page_cache.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers- 4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -W frame-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UV M_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia-uvm" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_page_cache"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.tmp_nvidia_uvm_page_cache.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_page_cache.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_page_cache.c:25: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_page_cache.c:25: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_page_cache.c:25: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_page_cache.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_page_cache.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.nvidia_uvm_lite_api.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1 097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-co nst-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia-uvm" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm _lite_api"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.tmp_nvidia_uvm_lite_api.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_api.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_api.c:25: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_api.c:25: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_api.c:25: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_api.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_api.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.nvidia_uvm_lite_counters.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -D __KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-state ment -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia-uvm" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_lite_counters"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/ke rnel/uvm/.tmp_nvidia_uvm_lite_counters.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_counters.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_counters.c:28: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_counters.c:28: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_counters.c:28: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_counters.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_counters.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.nvidia_page_migration.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno- strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Wer ror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia-uvm" -DMODULE -DKBUILD_BASENAME='"nvidia_page_migration"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.tmp_nvidia_page_migration.o /tmp/selfgz1097/NVIDIA-Linux-x 86_64-340.102/kernel/uvm/nvidia_page_migration.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_page_migration.c:28: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_page_migration.c:28: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_page_migration.c:28: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_page_migration.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_page_migration.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.nvidia_page_migration_kepler.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFI G_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia-uvm" -DMODULE -DKBUILD_BASENAME='"nvidia_page_migration_kepler"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.tmp_nvidia_page_migration_kepler.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_page_migration_kepler.c if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_page_migration_kepler.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_page_migration_kepler.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.nvidia_uvm_lite_events.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red- zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.10 2/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia-uvm" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_lite_events"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.tmp_nvidia_uvm_lite_events.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_events.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_events.c:25: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/timex.h:56, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:19, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_events.c:25: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/capability.h:16, from /usr/src/linux-headers-4.9.0-3-common/include/linux/capability.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/sched.h:15, from /usr/src/linux-headers-4.9.0-3-common/include/linux/utsname.h:5, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_events.c:25: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) { ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_events.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_events.o"; fi; fi; cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.uvm_gpu_ops_tests.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3-common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENA BLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia-uvm" -DMODULE -DKBUILD_BASENAME='"uvm_gpu_ops_tests"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.tmp_uvm_gpu_ops_tests.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/uvm_gpu_ops_tests.c if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/uvm_gpu_ops_tests.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/uvm_gpu_ops_tests.o"; fi; fi; ld -m elf_x86_64 -r -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia-uvm.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_linux.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_common.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_utils.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_page_cache.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_api.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_counters.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_page_migration.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_page_migration_kepler.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia_uvm_lite_events.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/uvm_gpu_ops_tests.o (cat /dev/null; echo kernel//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia-uvm.ko;) > /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/modules.order /usr/bin/make -f /usr/src/linux-headers-4.9.0-3-common/scripts/Makefile.modpost find /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.tmp_versions -name '*.mod' | xargs -r grep -h '.ko$' | sort -u | sed 's/.ko$/.o/' | scripts/mod/modpost -m -i ./Module.symvers -I /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/Module.symvers -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/Module.symvers -S -w -s -T - cc -Wp,-MD,/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.nvidia-uvm.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-headers-4.9.0-3-common/include -I./include -I/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/uapi -I/usr/src/linux-headers-4.9.0-3-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.9.0-3-common/include/linux/kconfig.h -I/usr/src/linux-headers-4.9.0-3 -common//tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-var iable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia-uvm" -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm -I/tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/.. -I/tmp/selfgz1097/NV IDIA-Linux-x86_64-340.102/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.102" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia-uvm" -DKBUILD_BASENAME='"nvidia_uvm.mod"' -DKBUILD_MODNAME='"nvidia_uvm"' -DMODULE -c -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia-uvm.mod.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia-uvm.mod.c In file included from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/stddef.h:1:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stddef.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/posix_types.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/uapi/linux/types.h:13, from /usr/src/linux-headers-4.9.0-3-common/include/linux/types.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/linux/list.h:4, from /usr/src/linux-headers-4.9.0-3-common/include/linux/module.h:9, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia-uvm.mod.c:1: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’: /usr/src/linux-headers-4.9.0-3-common/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-headers-4.9.0-3-common/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-headers-4.9.0-3-common/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:5:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stat.h:18, from /usr/src/linux-headers-4.9.0-3-common/include/linux/module.h:10, from /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia-uvm.mod.c:1: /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? ^ /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; ^~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); ^~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-headers-4.9.0-3-common/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ ld -r -m elf_x86_64 -T /usr/src/linux-headers-4.9.0-3-common/scripts/module-common.lds --build-id -o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia-uvm.ko /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia-uvm.o /tmp/selfgz1097/NVIDIA-Linux-x86_64-340.102/kernel/uvm/nvidia-uvm.mod.o ; true make[2]: Opuszczenie katalogu '/usr/src/linux-headers-4.9.0-3-amd64' make[1]: Opuszczenie katalogu '/usr/src/linux-headers-4.9.0-3-common' NVIDIA: left KBUILD. -> done. -> Kernel module compilation complete. -> Unable to determine if Secure Boot is enabled: No such file or directory ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or no NVIDIA GPU installed in this system is supported by this NVIDIA Linux graphics driver release. Please see the log entries 'Kernel module load error' and 'Kernel messages' at the end of the file '/var/log/nvidia-installer.log' for more information. -> Kernel module load error: No such device -> Kernel messages: [ 24.720921] iwlwifi 0000:02:00.0: Radio type=0x1-0x2-0x0 [ 24.752577] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready [ 25.643888] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready [ 28.884607] iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled [ 28.887894] iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled [ 28.887987] iwlwifi 0000:02:00.0: Radio type=0x1-0x2-0x0 [ 28.997646] iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled [ 29.001247] iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled [ 29.001380] iwlwifi 0000:02:00.0: Radio type=0x1-0x2-0x0 [ 29.036534] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready [ 29.083988] wlp2s0: authenticate with 04:8d:38:f0:97:f0 [ 29.088654] wlp2s0: send auth to 04:8d:38:f0:97:f0 (try 1/3) [ 29.090979] wlp2s0: authenticated [ 29.092053] wlp2s0: associate with 04:8d:38:f0:97:f0 (try 1/3) [ 29.096040] wlp2s0: RX AssocResp from 04:8d:38:f0:97:f0 (capab=0x411 status=0 aid=3) [ 29.102221] wlp2s0: associated [ 29.102270] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready [ 32.189914] mtrr: base(0xd1000000) is not aligned on a size(0xe00000) boundary [ 199.666650] [drm] Initialized [ 199.685513] nvidia: loading out-of-tree module taints kernel. [ 199.685522] nvidia: module license 'NVIDIA' taints kernel. [ 199.685524] Disabling lock debugging due to kernel taint [ 199.708190] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem [ 199.708500] Error: Driver 'nvidia' is already registered, aborting... [ 199.708501] NVRM: DRM init failed ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.