Bugzilla – Attachment 682892 Details for
Bug 987464
TW 20160626 - fails to compile Nvidia driver
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
Installer log
nvidia-installer.log (text/x-log), 295.56 KB, created by
Axel Braun
on 2016-07-02 13:39:41 UTC
(
hide
)
Description:
Installer log
Filename:
MIME Type:
Creator:
Axel Braun
Created:
2016-07-02 13:39:41 UTC
Size:
295.56 KB
patch
obsolete
>nvidia-installer log file '/var/log/nvidia-installer.log' >creation time: Sat Jul 2 15:34:26 2016 >installer version: 340.96 > >PATH: /home/gorden/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/games > >nvidia-installer command line: > ./nvidia-installer > >Using: nvidia-installer ncurses user interface >-> License accepted. >-> Installing NVIDIA driver version 340.96. >-> Running distribution scripts > executing: '/usr/lib/nvidia/pre-install'... > grep: /etc/sysconfig/kernel: Datei oder Verzeichnis nicht gefunden >-> done. >-> The distribution-provided pre-install script completed successfully. If this is the first time you have run the installer, this script may have helped disable Nouveau, but a reboot may be required first. Would you like to continue, or would you prefer to abort installation to reboot the system? (Answer: Continue installation) >-> Performing CC sanity check with CC="/usr/bin/cc". >-> Kernel source path: '/lib/modules/4.6.2-1-default/source' >-> Kernel output path: '/lib/modules/4.6.2-1-default/build' >-> Performing rivafb check. >-> Performing nvidiafb check. >-> Performing Xen check. >-> Performing PREEMPT_RT check. >-> Cleaning kernel module build directory. > executing: 'cd ./kernel; /usr/bin/make clean'... >-> Building NVIDIA kernel module: > executing: 'cd ./kernel; /usr/bin/make module SYSSRC=/lib/modules/4.6.2-1-default/source SYSOUT=/lib/modules/4.6.2-1-default/build NV_BUILD_MODULE_INSTANCES='... > NVIDIA: calling KBUILD... > make[1]: Verzeichnis â/usr/src/linux-4.6.2-1â wird betreten > /usr/bin/make -C /lib/modules/4.6.2-1-default/build KBUILD_SRC=/usr/src/linux-4.6.2-1 \ > -f /usr/src/linux-4.6.2-1/Makefile modules > make[2]: Verzeichnis â/usr/src/linux-4.6.2-1-obj/x86_64/defaultâ wird betreten > test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ > echo >&2; \ > echo >&2 " ERROR: Kernel configuration is invalid."; \ > echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ > echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ > echo >&2 ; \ > /bin/false) > mkdir -p /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_versions ; rm -f /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_versions/* > /usr/bin/make -f /usr/src/linux-4.6.2-1/scripts/Makefile.build obj=/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel > cc -Wp,-MD,/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.nv.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/6/include -I/usr/src/linux-4.6.2-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.6.2-1/include -Iinclude -I/usr/src/linux-4.6.2-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.6.2-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.6.2-1/include/linux/kconfig.h -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_ > AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.96\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" > -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_nv.o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv.c > In file included from /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv.c:13: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h: In function âqueued_write_trylockâ: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > cnts, cnts | _QW_LOCKED) == cnts); > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:5:0, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv.c:13: > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_get_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_put_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/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 /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv.c:13: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv.o"; fi; fi; > cc -Wp,-MD,/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/6/include -I/usr/src/linux-4.6.2-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.6.2-1/include -Iinclude -I/usr/src/linux-4.6.2-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.6.2-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.6.2-1/include/linux/kconfig.h -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno > -avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_ > INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.96\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_nv-acpi.o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-acpi.c > In file included from /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-acpi.c:15: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h: In function âqueued_write_trylockâ: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > cnts, cnts | _QW_LOCKED) == cnts); > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:5:0, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-acpi.c:15: > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_get_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_put_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/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 /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-acpi.c:15: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-acpi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-acpi.o"; fi; fi; > cc -Wp,-MD,/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/6/include -I/usr/src/linux-4.6.2-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.6.2-1/include -Iinclude -I/usr/src/linux-4.6.2-1/arch/x86/include/uap > i -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.6.2-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.6.2-1/include/linux/kconfig.h -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-va > riable -Wno-unused-const-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.96\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_chrdev)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_nv-chrdev.o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-chrdev.c > In file included from /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-chrdev.c:15: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h: In function âqueued_write_trylockâ: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > cnts, cnts | _QW_LOCKED) == cnts); > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:5:0, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-chrdev.c:15: > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_get_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_put_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/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 /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-chrdev.c:15: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-chrdev.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-chrdev.o"; fi; fi; > cc -Wp,-MD,/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/6/include -I/usr/src/linux-4.6.2-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.6.2-1/include -Iinclude -I/usr/src/linux-4.6.2-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.6.2-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.6.2-1/include/linux/kconfig.h -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-t > ime -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV > _VERSION_STRING=\"340.96\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_cray)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_nv-cray.o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-cray.c > In file included from /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-cray.c:15: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h: In function âqueued_write_trylockâ: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > cnts, cnts | _QW_LOCKED) == cnts); > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:5:0, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-cray.c:15: > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_get_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_put_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/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 /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-cray.c:15: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-cray.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-cray.o"; fi; fi; > cc -Wp,-MD,/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.nv-dma.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/6/include -I/usr/src/linux-4.6.2-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.6.2-1/include -Iinclude -I/usr/src/linux-4.6.2-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.6.2-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.6.2-1/include/linux/kconfig.h -I/tmp/selfgz8681/NVID > IA-Linux-x86_64-340.96/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclar > ation-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.96\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_dma)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_nv-dma.o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-dma.c > In file included from /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-dma.c:15: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h: In function âqueued_write_trylockâ: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > cnts, cnts | _QW_LOCKED) == cnts); > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:5:0, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-dma.c:15: > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_get_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_put_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/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 /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-dma.c:15: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-dma.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-dma.o"; fi; fi; > cc -Wp,-MD,/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.nv-drm.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/6/include -I/usr/src/linux-4.6.2-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.6.2-1/include -Iinclude -I/usr/src/linux-4.6.2-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.6.2-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.6.2-1/include/linux/kconfig.h -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AV > X=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.96\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"K > BUILD_BASENAME=KBUILD_STR(nv_drm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_nv-drm.o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-drm.c > In file included from /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-drm.c:15: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h: In function âqueued_write_trylockâ: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > cnts, cnts | _QW_LOCKED) == cnts); > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:5:0, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-drm.c:15: > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_get_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_put_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/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 /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-drm.c:15: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-drm.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-drm.o"; fi; fi; > cc -Wp,-MD,/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.nv-gvi.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/6/include -I/usr/src/linux-4.6.2-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.6.2-1/include -Iinclude -I/usr/src/linux-4.6.2-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.6.2-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.6.2-1/include/linux/kconfig.h -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx > -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INS > TANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.96\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_nv-gvi.o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-gvi.c > In file included from /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-gvi.c:15: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h: In function âqueued_write_trylockâ: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > cnts, cnts | _QW_LOCKED) == cnts); > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:5:0, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-gvi.c:15: > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_get_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_put_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/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 /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-gvi.c:15: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-gvi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-gvi.o"; fi; fi; > cc -Wp,-MD,/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.nv-i2c.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/6/include -I/usr/src/linux-4.6.2-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.6.2-1/include -Iinclude -I/usr/src/linux-4.6.2-1/arch/ > x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.6.2-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.6.2-1/include/linux/kconfig.h -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-un > used-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.96\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_nv-i2c.o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-i2c.c > In file included from /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-i2c.c:15: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h: In function âqueued_write_trylockâ: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > cnts, cnts | _QW_LOCKED) == cnts); > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:5:0, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-i2c.c:15: > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_get_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_put_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/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 /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-i2c.c:15: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-i2c.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-i2c.o"; fi; fi; > cc -Wp,-MD,/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.nv-mempool.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/6/include -I/usr/src/linux-4.6.2-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.6.2-1/include -Iinclude -I/usr/src/linux-4.6.2-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.6.2-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.6.2-1/include/linux/kconfig.h -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -m > accumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSI > ON_STRING=\"340.96\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mempool)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_nv-mempool.o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-mempool.c > In file included from /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-mempool.c:15: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h: In function âqueued_write_trylockâ: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > cnts, cnts | _QW_LOCKED) == cnts); > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:5:0, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-mempool.c:15: > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_get_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_put_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/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 /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-mempool.c:15: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-mempool.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-mempool.o"; fi; fi; > cc -Wp,-MD,/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.nv-mmap.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/6/include -I/usr/src/linux-4.6.2-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.6.2-1/include -Iinclude -I/usr/src/linux-4.6.2-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.6.2-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.6.2-1/include/linux/kconfig.h -I/ > tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-c > alled-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.96\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mmap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_nv-mmap.o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-mmap.c > In file included from /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-mmap.c:15: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h: In function âqueued_write_trylockâ: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > cnts, cnts | _QW_LOCKED) == cnts); > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:5:0, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-mmap.c:15: > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_get_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_put_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/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 /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-mmap.c:15: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-mmap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-mmap.o"; fi; fi; > cc -Wp,-MD,/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.nv-p2p.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/6/include -I/usr/src/linux-4.6.2-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.6.2-1/include -Iinclude -I/usr/src/linux-4.6.2-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.6.2-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.6.2-1/include/linux/kconfig.h -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFI > G_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.96\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE > -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_p2p)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_nv-p2p.o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-p2p.c > In file included from /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-p2p.c:15: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h: In function âqueued_write_trylockâ: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > cnts, cnts | _QW_LOCKED) == cnts); > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:5:0, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-p2p.c:15: > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_get_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_put_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/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 /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-p2p.c:15: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-p2p.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-p2p.o"; fi; fi; > cc -Wp,-MD,/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.nv-pat.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/6/include -I/usr/src/linux-4.6.2-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.6.2-1/include -Iinclude -I/usr/src/linux-4.6.2-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.6.2-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.6.2-1/include/linux/kconfig.h -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security - > std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HA > VE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.96\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_pat)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_nv-pat.o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-pat.c > In file included from /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-pat.c:15: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h: In function âqueued_write_trylockâ: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > cnts, cnts | _QW_LOCKED) == cnts); > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:5:0, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-pat.c:15: > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_get_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_put_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/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 /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-pat.c:15: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-pat.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-pat.o"; fi; fi; > cc -Wp,-MD,/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.nv-procfs.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/6/include -I/usr/src/linux-4.6.2-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.6.2-1/include -Iinclude > -I/usr/src/linux-4.6.2-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.6.2-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.6.2-1/include/linux/kconfig.h -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than= > 2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.96\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_procfs)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_nv-procfs.o /tmp/selfgz8681/NVIDIA-Linux-x86 > _64-340.96/kernel/nv-procfs.c > In file included from /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-procfs.c:15: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h: In function âqueued_write_trylockâ: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > cnts, cnts | _QW_LOCKED) == cnts); > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:5:0, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-procfs.c:15: > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_get_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_put_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/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 /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-procfs.c:15: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-procfs.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-procfs.o"; fi; fi; > cc -Wp,-MD,/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.nv-usermap.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/6/include -I/usr/src/linux-4.6.2-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.6.2-1/include -Iinclude -I/usr/src/linux-4.6.2-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.6.2-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.6.2-1/include/linux/kconfig.h -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=gen > eric -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -Wall -MD -Wsign-compare -Wno-cast-q > ual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.96\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_usermap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_nv-usermap.o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-usermap.c > In file included from /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-usermap.c:15: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h: In function âqueued_write_trylockâ: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > cnts, cnts | _QW_LOCKED) == cnts); > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:5:0, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-usermap.c:15: > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_get_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_put_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/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 /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-usermap.c:15: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-usermap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-usermap.o"; fi; fi; > cc -Wp,-MD,/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.nv-vm.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/6/include -I/usr/src/linux-4.6.2-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.6.2-1/include -Iinclude -I/usr/src/linux-4.6.2-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.6.2-1/include/uapi -Iinclude/generated/uapi -include > /usr/src/linux-4.6.2-1/include/linux/kconfig.h -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -p > g -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.96\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_nv-vm.o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-vm.c > In file included from /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-vm.c:14: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h: In function âqueued_write_trylockâ: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > cnts, cnts | _QW_LOCKED) == cnts); > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:5:0, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-vm.c:14: > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_get_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_put_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/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 /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-vm.c:14: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-vm.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-vm.o"; fi; fi; > cc -Wp,-MD,/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.nv-vtophys.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/6/include -I/usr/src/linux-4.6.2-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.6.2-1/include -Iinclude -I/usr/src/linux-4.6.2-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.6.2-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.6.2-1/include/linux/kconfig.h -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_ > AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.96\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__li > nux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vtophys)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_nv-vtophys.o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-vtophys.c > In file included from /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-vtophys.c:15: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h: In function âqueued_write_trylockâ: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > cnts, cnts | _QW_LOCKED) == cnts); > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:5:0, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-vtophys.c:15: > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_get_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_put_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/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 /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-vtophys.c:15: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-vtophys.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-vtophys.o"; fi; fi; > cc -Wp,-MD,/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.os-interface.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/6/include -I/usr/src/linux-4.6.2-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.6.2-1/include -Iinclude -I/usr/src/linux-4.6.2-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.6.2-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.6.2-1/include/linux/kconfig.h -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-ali > asing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror= > strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.96\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_os-interface.o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-interface.c > In file included from /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-interface.c:15: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h: In function âqueued_write_trylockâ: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > cnts, cnts | _QW_LOCKED) == cnts); > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:5:0, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-interface.c:15: > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_get_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_put_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/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 /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-interface.c:15: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-interface.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-interface.o"; fi; fi; > cc -Wp,-MD,/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.os-mlock.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/6/include -I/usr/src/linux-4.6.2-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.6.2-1/include -Iinclude -I/usr/src/linux-4.6.2-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.6.2-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.6.2-1/include/linux/kconfig.h -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_ > SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.96\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_mlock)" -D"KBUILD_MODNAME=K > BUILD_STR(nvidia)" -c -o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/.tmp_os-mlock.o /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-mlock.c > In file included from /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-mlock.c:15: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h: In function âqueued_write_trylockâ: > /usr/src/linux-4.6.2-1/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > cnts, cnts | _QW_LOCKED) == cnts); > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:5:0, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-mlock.c:15: > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_get_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:177:3: note: in expansion of macro âthis_cpu_addâ > this_cpu_add(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h: In function âpercpu_ref_put_manyâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:364:11: note: in expansion of macro âthis_cpu_add_1â > case 1: stem##1(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:365:11: note: in expansion of macro âthis_cpu_add_2â > case 2: stem##2(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:366:11: note: in expansion of macro âthis_cpu_add_4â > case 4: stem##4(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-refcount.h:276:3: note: in expansion of macro âthis_cpu_subâ > this_cpu_sub(*percpu_count, nr); > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((val) == 1 || (val) == -1)) ? \ > ^ > /usr/src/linux-4.6.2-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) > ^~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:367:11: note: in expansion of macro âthis_cpu_add_8â > case 8: stem##8(variable, __VA_ARGS__);break; \ > ^~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:496:33: note: in expansion of macro â__pcpu_size_callâ > #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) > ^~~~~~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/include/linux/percpu-defs.h:506:33: note: in expansion of macro âthis_cpu_addâ > #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) > ^~~~~~~~~~~~ > /usr/src/linux-4.6.2-1/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 /usr/src/linux-4.6.2-1/include/uapi/linux/stddef.h:1:0, > from /usr/src/linux-4.6.2-1/include/linux/stddef.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/posix_types.h:4, > from /usr/src/linux-4.6.2-1/include/uapi/linux/types.h:13, > from /usr/src/linux-4.6.2-1/include/linux/types.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/capability.h:16, > from /usr/src/linux-4.6.2-1/include/linux/capability.h:15, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:15, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-mlock.c:15: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (likely(sz < 0 || sz >= n)) > ^ > /usr/src/linux-4.6.2-1/include/linux/compiler.h:169:40: note: in definition of macro âlikelyâ > # define likely(x) __builtin_expect(!!(x), 1) > ^ > In file included from /usr/src/linux-4.6.2-1/arch/x86/include/asm/processor.h:15:0, > from /usr/src/linux-4.6.2-1/arch/x86/include/asm/cpufeature.h:4, > from /usr/src/linux-4.6.2-1/arch/x86/include/asm/thread_info.h:52, > from /usr/src/linux-4.6.2-1/include/linux/thread_info.h:54, > from /usr/src/linux-4.6.2-1/arch/x86/include/asm/preempt.h:6, > from /usr/src/linux-4.6.2-1/include/linux/preempt.h:59, > from /usr/src/linux-4.6.2-1/include/linux/spinlock.h:50, > from /usr/src/linux-4.6.2-1/include/linux/seqlock.h:35, > from /usr/src/linux-4.6.2-1/include/linux/time.h:5, > from /usr/src/linux-4.6.2-1/include/uapi/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/timex.h:56, > from /usr/src/linux-4.6.2-1/include/linux/sched.h:19, > from /usr/src/linux-4.6.2-1/include/linux/utsname.h:5, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:44, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-mlock.c:15: > /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-mlock.c: In function âos_lock_user_pagesâ: > /usr/src/linux-4.6.2-1/arch/x86/include/asm/current.h:17:17: warning: passing argument 1 of âget_user_pagesâ makes integer from pointer without a cast [-Wint-conversion] > #define current get_current() > ^ > /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-mlock.c:48:26: note: in expansion of macro âcurrentâ > ret = get_user_pages(current, mm, (unsigned long)address, > ^~~~~~~ > In file included from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:68:0, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-mlock.c:15: > /usr/src/linux-4.6.2-1/include/linux/mm.h:1266:6: note: expected âlong unsigned intâ but argument is of type âstruct task_struct *â > long get_user_pages(unsigned long start, unsigned long nr_pages, > ^~~~~~~~~~~~~~ > /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-mlock.c:48:35: warning: passing argument 2 of âget_user_pagesâ makes integer from pointer without a cast [-Wint-conversion] > ret = get_user_pages(current, mm, (unsigned long)address, > ^~ > In file included from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:68:0, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-mlock.c:15: > /usr/src/linux-4.6.2-1/include/linux/mm.h:1266:6: note: expected âlong unsigned intâ but argument is of type âstruct mm_struct *â > long get_user_pages(unsigned long start, unsigned long nr_pages, > ^~~~~~~~~~~~~~ > /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-mlock.c:49:25: warning: passing argument 5 of âget_user_pagesâ makes pointer from integer without a cast [-Wint-conversion] > page_count, write, force, user_pages, NULL); > ^~~~~ > In file included from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:68:0, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-mlock.c:15: > /usr/src/linux-4.6.2-1/include/linux/mm.h:1266:6: note: expected âstruct page **â but argument is of type âNvBool {aka unsigned char}â > long get_user_pages(unsigned long start, unsigned long nr_pages, > ^~~~~~~~~~~~~~ > /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-mlock.c:49:32: warning: passing argument 6 of âget_user_pagesâ makes pointer from integer without a cast [-Wint-conversion] > page_count, write, force, user_pages, NULL); > ^~~~~ > In file included from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:68:0, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-mlock.c:15: > /usr/src/linux-4.6.2-1/include/linux/mm.h:1266:6: note: expected âstruct vm_area_struct **â but argument is of type âNvBool {aka unsigned char}â > long get_user_pages(unsigned long start, unsigned long nr_pages, > ^~~~~~~~~~~~~~ > /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-mlock.c:48:11: error: too many arguments to function âget_user_pagesâ > ret = get_user_pages(current, mm, (unsigned long)address, > ^~~~~~~~~~~~~~ > In file included from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/nv-linux.h:68:0, > from /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-mlock.c:15: > /usr/src/linux-4.6.2-1/include/linux/mm.h:1266:6: note: declared here > long get_user_pages(unsigned long start, unsigned long nr_pages, > ^~~~~~~~~~~~~~ > /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-mlock.c:61:13: error: implicit declaration of function âpage_cache_releaseâ [-Werror=implicit-function-declaration] > page_cache_release(user_pages[i]); > ^~~~~~~~~~~~~~~~~~ > cc1: some warnings being treated as errors > make[3]: *** [/usr/src/linux-4.6.2-1/scripts/Makefile.build:294: /tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel/os-mlock.o] Fehler 1 > make[2]: *** [/usr/src/linux-4.6.2-1/Makefile:1455: _module_/tmp/selfgz8681/NVIDIA-Linux-x86_64-340.96/kernel] Fehler 2 > make[2]: Verzeichnis â/usr/src/linux-4.6.2-1-obj/x86_64/defaultâ wird verlassen > make[1]: *** [Makefile:146: sub-make] Fehler 2 > make[1]: Verzeichnis â/usr/src/linux-4.6.2-1â wird verlassen > NVIDIA: left KBUILD. > nvidia.ko failed to build! > make: *** [Makefile:184: nvidia.ko] Fehler 1 >-> Error. >ERROR: Unable to build the NVIDIA kernel module. >ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 987464
: 682892