DKMS make.log for nvidia-346-updates-346.82 for kernel 4.2.0-040200rc7-lowlatency (x86_64) จ. 17 ส.ค. 2558 15:53:00 ICT NVIDIA: calling KBUILD... make[1]: Entering directory `/usr/src/linux-headers-4.2.0-040200rc7-lowlatency' test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_versions/* make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia-346-updates/346.82/build cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv.c:13: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv.c:13: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv.c:13: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv-acpi.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-acpi.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-acpi.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-acpi.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-acpi.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv-acpi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv-acpi.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_chrdev)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv-chrdev.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-chrdev.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-chrdev.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-chrdev.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-chrdev.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv-chrdev.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv-chrdev.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_cray)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv-cray.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-cray.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-cray.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-cray.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-cray.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv-cray.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv-cray.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_dma)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv-dma.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-dma.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-dma.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-dma.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-dma.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv-dma.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv-dma.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_drm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv-drm.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-drm.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-drm.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-drm.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-drm.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv-drm.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv-drm.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv-gvi.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-gvi.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-gvi.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-gvi.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-gvi.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv-gvi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv-gvi.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nvlink.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvlink)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nvlink.o /var/lib/dkms/nvidia-346-updates/346.82/build/nvlink.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nvlink-linux.h:14, from /var/lib/dkms/nvidia-346-updates/346.82/build/nvlink.c:13: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nvlink-linux.h:14, from /var/lib/dkms/nvidia-346-updates/346.82/build/nvlink.c:13: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nvlink-linux.h:14, from /var/lib/dkms/nvidia-346-updates/346.82/build/nvlink.c:13: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nvlink.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nvlink.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv-i2c.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-i2c.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-i2c.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-i2c.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-i2c.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv-i2c.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv-i2c.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mempool)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv-mempool.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-mempool.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-mempool.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-mempool.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-mempool.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv-mempool.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv-mempool.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mmap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv-mmap.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-mmap.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-mmap.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-mmap.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-mmap.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv-mmap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv-mmap.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv-p2p.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_p2p)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv-p2p.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-p2p.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-p2p.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-p2p.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-p2p.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv-p2p.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv-p2p.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv-pat.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_pat)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv-pat.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-pat.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-pat.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-pat.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-pat.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv-pat.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv-pat.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv-procfs.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_procfs)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv-procfs.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-procfs.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-procfs.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-procfs.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-procfs.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv-procfs.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv-procfs.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_usermap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv-usermap.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-usermap.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-usermap.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-usermap.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-usermap.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv-usermap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv-usermap.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv-vm.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-vm.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-vm.c:14: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-vm.c:14: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-vm.c:14: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv-vm.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv-vm.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv-vtophys.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vtophys)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv-vtophys.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-vtophys.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-vtophys.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-vtophys.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-vtophys.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv-vtophys.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv-vtophys.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.os-interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_os-interface.o /var/lib/dkms/nvidia-346-updates/346.82/build/os-interface.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/os-interface.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/os-interface.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/os-interface.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/os-interface.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/os-interface.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.os-mlock.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_mlock)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_os-mlock.o /var/lib/dkms/nvidia-346-updates/346.82/build/os-mlock.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/os-mlock.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/os-mlock.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/os-mlock.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/os-mlock.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/os-mlock.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.os-pci.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_pci)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_os-pci.o /var/lib/dkms/nvidia-346-updates/346.82/build/os-pci.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/os-pci.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/os-pci.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/os-pci.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/os-pci.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/os-pci.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.os-registry.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_registry)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_os-registry.o /var/lib/dkms/nvidia-346-updates/346.82/build/os-registry.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/os-registry.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/os-registry.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/os-registry.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/os-registry.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/os-registry.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.os-smp.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_smp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_os-smp.o /var/lib/dkms/nvidia-346-updates/346.82/build/os-smp.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/os-smp.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/os-smp.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/os-smp.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/os-smp.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/os-smp.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.os-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_usermap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_os-usermap.o /var/lib/dkms/nvidia-346-updates/346.82/build/os-usermap.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/os-usermap.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/os-usermap.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/os-usermap.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/os-usermap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/os-usermap.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv_uvm_interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_uvm_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv_uvm_interface.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv_uvm_interface.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv_uvm_interface.c:21: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv_uvm_interface.c:21: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv_uvm_interface.c:21: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv_uvm_interface.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv_uvm_interface.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv-frontend.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_frontend)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv-frontend.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-frontend.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-frontend.c:13: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-frontend.c:13: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-frontend.c:13: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv-frontend.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv-frontend.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/.nv-instance.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_instance)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_nv-instance.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-instance.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-instance.c:13: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-instance.c:13: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/nv-instance.c:13: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/nv-instance.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/nv-instance.o"; fi; fi; /usr/bin/ld.bfd -m elf_x86_64 -r -o /var/lib/dkms/nvidia-346-updates/346.82/build/nvidia.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-kernel.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-acpi.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-chrdev.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-cray.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-dma.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-drm.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-gvi.o /var/lib/dkms/nvidia-346-updates/346.82/build/nvlink.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-i2c.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-mempool.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-mmap.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-p2p.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-pat.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-procfs.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-usermap.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-vm.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-vtophys.o /var/lib/dkms/nvidia-346-updates/346.82/build/os-interface.o /var/lib/dkms/nvidia-346-updates/346.82/build/os-mlock.o /var/lib/dkms/nvidia-346-updates/346.82/build/os-pci.o /var/lib/dkms/nvidia-346-updates/346.82/build/os-registry.o /var/lib/dkms/nvidia-346-updates/346.82/build/os-smp.o /var/lib/dkms/nvidia-346-updates/346.82/build/os-usermap.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv_uvm_interface.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-frontend.o /var/lib/dkms/nvidia-346-updates/346.82/build/nv-instance.o (cat /dev/null; echo kernel//var/lib/dkms/nvidia-346-updates/346.82/build/nvidia.ko;) > /var/lib/dkms/nvidia-346-updates/346.82/build/modules.order make -f ./scripts/Makefile.modpost find /var/lib/dkms/nvidia-346-updates/346.82/build/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost -m -a -i ./Module.symvers -I /var/lib/dkms/nvidia-346-updates/346.82/build/Module.symvers -o /var/lib/dkms/nvidia-346-updates/346.82/build/Module.symvers -S -w -s -T - WARNING: could not find /var/lib/dkms/nvidia-346-updates/346.82/build/.nv-kernel.o.cmd for /var/lib/dkms/nvidia-346-updates/346.82/build/nv-kernel.o FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'flush_workqueue' make[2]: *** [__modpost] Error 1 make[2]: Target `_modpost' not remade because of errors. make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-4.2.0-040200rc7-lowlatency' NVIDIA: left KBUILD. nvidia.ko failed to build! make: *** [module] Error 1 make: Entering directory `/var/lib/dkms/nvidia-346-updates/346.82/build/uvm' cd /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/..; make module SYSSRC=/lib/modules/4.2.0-040200rc7-lowlatency/build SYSOUT=/lib/modules/4.2.0-040200rc7-lowlatency/build KBUILD_EXTMOD=/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. make[1]: Entering directory `/var/lib/dkms/nvidia-346-updates/346.82/build' NVIDIA: calling KBUILD... make[2]: Entering directory `/usr/src/linux-headers-4.2.0-040200rc7-lowlatency' test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_versions ; rm -f /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_versions/* make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv.c:13: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv.c:13: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv.c:13: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv-acpi.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-acpi.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-acpi.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-acpi.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-acpi.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-acpi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-acpi.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_chrdev)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv-chrdev.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-chrdev.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-chrdev.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-chrdev.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-chrdev.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-chrdev.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-chrdev.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_cray)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv-cray.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-cray.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-cray.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-cray.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-cray.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-cray.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-cray.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_dma)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv-dma.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-dma.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-dma.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-dma.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-dma.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-dma.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-dma.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_drm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv-drm.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-drm.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-drm.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-drm.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-drm.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-drm.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-drm.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv-gvi.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-gvi.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-gvi.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-gvi.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-gvi.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-gvi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-gvi.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nvlink.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvlink)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nvlink.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nvlink.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nvlink-linux.h:14, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nvlink.c:13: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nvlink-linux.h:14, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nvlink.c:13: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nvlink-linux.h:14, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nvlink.c:13: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nvlink.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nvlink.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv-i2c.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-i2c.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-i2c.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-i2c.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-i2c.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-i2c.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-i2c.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mempool)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv-mempool.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-mempool.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-mempool.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-mempool.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-mempool.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-mempool.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-mempool.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mmap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv-mmap.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-mmap.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-mmap.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-mmap.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-mmap.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-mmap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-mmap.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv-p2p.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_p2p)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv-p2p.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-p2p.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-p2p.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-p2p.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-p2p.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-p2p.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-p2p.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv-pat.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_pat)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv-pat.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-pat.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-pat.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-pat.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-pat.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-pat.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-pat.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv-procfs.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_procfs)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv-procfs.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-procfs.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-procfs.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-procfs.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-procfs.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-procfs.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-procfs.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_usermap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv-usermap.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-usermap.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-usermap.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-usermap.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-usermap.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-usermap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-usermap.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv-vm.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-vm.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-vm.c:14: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-vm.c:14: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-vm.c:14: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-vm.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-vm.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv-vtophys.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vtophys)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv-vtophys.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-vtophys.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-vtophys.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-vtophys.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-vtophys.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-vtophys.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-vtophys.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.os-interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_os-interface.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-interface.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-interface.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-interface.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-interface.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-interface.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-interface.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.os-mlock.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_mlock)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_os-mlock.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-mlock.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-mlock.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-mlock.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-mlock.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-mlock.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-mlock.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.os-pci.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_pci)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_os-pci.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-pci.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-pci.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-pci.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-pci.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-pci.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-pci.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.os-registry.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_registry)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_os-registry.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-registry.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-registry.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-registry.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-registry.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-registry.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-registry.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.os-smp.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_smp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_os-smp.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-smp.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-smp.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-smp.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-smp.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-smp.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-smp.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.os-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_usermap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_os-usermap.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-usermap.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-usermap.c:15: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-usermap.c:15: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-usermap.c:15: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-usermap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-usermap.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv_uvm_interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_uvm_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv_uvm_interface.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv_uvm_interface.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv_uvm_interface.c:21: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv_uvm_interface.c:21: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv_uvm_interface.c:21: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv_uvm_interface.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv_uvm_interface.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv-frontend.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_frontend)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv-frontend.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-frontend.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-frontend.c:13: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-frontend.c:13: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-frontend.c:13: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-frontend.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-frontend.o"; fi; fi; cc -Wp,-MD,/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv-instance.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.82\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_instance)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_nv-instance.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-instance.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-instance.c:13: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from ./arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:64, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-instance.c:13: include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^ include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^ include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ ./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) ^ include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^ include/linux/percpu-defs.h:498:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^ include/linux/percpu-defs.h:508:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^ include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-linux.h:44, from /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-instance.c:13: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:717:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:735:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:165:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-instance.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-instance.o"; fi; fi; ld -m elf_x86_64 -r -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nvidia.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-kernel.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-acpi.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-chrdev.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-cray.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-dma.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-drm.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-gvi.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nvlink.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-i2c.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-mempool.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-mmap.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-p2p.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-pat.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-procfs.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-usermap.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-vm.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-vtophys.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-interface.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-mlock.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-pci.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-registry.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-smp.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../os-usermap.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv_uvm_interface.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-frontend.o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-instance.o (cat /dev/null; echo kernel//var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nvidia.ko;) > /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../modules.order make -f ./scripts/Makefile.modpost find /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost -m -a -i ./Module.symvers -I /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../Module.symvers -o /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../Module.symvers -S -w -s -T - WARNING: could not find /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../.nv-kernel.o.cmd for /var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../nv-kernel.o FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'flush_workqueue' make[3]: *** [__modpost] Error 1 make[2]: *** [modules] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-4.2.0-040200rc7-lowlatency' NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [module] Error 1 make[1]: Leaving directory `/var/lib/dkms/nvidia-346-updates/346.82/build' make: *** [/var/lib/dkms/nvidia-346-updates/346.82/build/uvm/../Module.symvers] Error 2 make: Leaving directory `/var/lib/dkms/nvidia-346-updates/346.82/build/uvm'