Advertisement
Guest User

cuda7.5.18 installation logs in ubuntu14.0.4.5

a guest
Nov 27th, 2016
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 225.06 KB | None | 0 0
  1. nvidia-installer log file '/var/log/nvidia-installer.log'
  2. creation time: Mon Nov 28 05:53:27 2016
  3. installer version: 352.39
  4.  
  5. PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  6.  
  7. nvidia-installer command line:
  8.     ./nvidia-installer
  9.     --ui=none
  10.     --no-questions
  11.     --accept-license
  12.     --disable-nouveau
  13.     --kernel-source-path=/usr/src/linux-headers-4.4.0-47-generic/
  14.  
  15. Using built-in stream user interface
  16. -> Detected 2 CPUs online; setting concurrency level to 2.
  17. -> License accepted by command line option.
  18. -> Installing NVIDIA driver version 352.39.
  19. -> Running distribution scripts
  20.    executing: '/usr/lib/nvidia/pre-install'...
  21. -> done.
  22. -> The distribution-provided pre-install script failed!  Are you sure you want to continue? (Answer: Continue installation)
  23. WARNING: One or more modprobe configuration files to disable Nouveau are already present at: /etc/modprobe.d/nvidia-installer-disable-nouveau.conf.  Please be sure you have rebooted your system since these files were written.  If you have rebooted, then Nouveau may be enabled for other reasons, such as being included in the system initial ramdisk or in your X configuration file.  Please consult the NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver.
  24. -> For some distributions, Nouveau can be disabled by adding a file in the modprobe configuration directory.  Would you like nvidia-installer to attempt to create this modprobe file for you? (Answer: Yes)
  25. -> One or more modprobe configuration files to disable Nouveau have been written.  For some distributions, this may be sufficient to disable Nouveau; other distributions may require modification of the initial ramdisk.  Please reboot your system and attempt NVIDIA driver installation again.  Note if you later wish to reenable Nouveau, you will need to delete these files: /etc/modprobe.d/nvidia-installer-disable-nouveau.conf
  26. -> Performing CC sanity check with CC="/usr/bin/cc".
  27. -> Using the kernel source path '/usr/src/linux-headers-4.4.0-47-generic/' as specified by the '--kernel-source-path' commandline option.
  28. -> Kernel source path: '/usr/src/linux-headers-4.4.0-47-generic/'
  29. -> Kernel output path: '/usr/src/linux-headers-4.4.0-47-generic/'
  30. -> Performing rivafb check.
  31. -> Performing nvidiafb check.
  32. -> Performing Xen check.
  33. -> Performing PREEMPT_RT check.
  34. -> Cleaning kernel module build directory.
  35.   executing: 'cd ./kernel; /usr/bin/make clean'...
  36. -> Building NVIDIA kernel module:
  37.   executing: 'cd ./kernel; /usr/bin/make module SYSSRC=/usr/src/linux-headers-4.4.0-47-generic/ SYSOUT=/usr/src/linux-headers-4.4.0-47-generic/ -j2  NV_BUILD_MODULE_INSTANCES='...
  38.   NVIDIA: calling KBUILD...
  39.   make[1]: Entering directory `/usr/src/linux-headers-4.4.0-47-generic'
  40.    test -e include/generated/autoconf.h -a -e include/config/auto.conf || (     \
  41.     echo >&2;                           \
  42.     echo >&2 "  ERROR: Kernel configuration is invalid.";       \
  43.     echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
  44.     echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
  45.     echo >&2 ;                          \
  46.     /bin/false)
  47.    mkdir -p /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.tmp_versions ; rm -f /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.tmp_versions/*
  48.    /usr/bin/make -f ./scripts/Makefile.build obj=/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel
  49.      cc -Wp,-MD,/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.nv-frontend.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iin
  50.    clude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include  -D__KERNEL__ -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -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-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-
  51.    assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.39\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_frontend)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.tmp_nv-frontend.o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-frontend.c
  52.      cc -Wp,-MD,/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.nv-instance.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include  -D__KERNEL__ -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -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-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fn
  53.    o-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.39\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_instance)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.tmp_nv-instance.o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-instance.c
  54.    In file included from include/uapi/linux/stddef.h:1:0,
  55.                     from include/linux/stddef.h:4,
  56.                     from ./include/uapi/linux/posix_types.h:4,
  57.                     from include/uapi/linux/types.h:13,
  58.                     from include/linux/types.h:5,
  59.                     from include/uapi/linux/capability.h:16,
  60.                     from include/linux/capability.h:15,
  61.                     from include/linux/sched.h:15,
  62.                     from include/linux/utsname.h:5,
  63.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  64.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-frontend.c:13:
  65.    include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  66.    include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  67.               cnts, cnts | _QW_LOCKED) == cnts);
  68.                                        ^
  69.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  70.     # define likely(x) __builtin_expect(!!(x), 1)
  71.                                            ^
  72.    In file included from include/uapi/linux/stddef.h:1:0,
  73.                     from include/linux/stddef.h:4,
  74.                     from ./include/uapi/linux/posix_types.h:4,
  75.                     from include/uapi/linux/types.h:13,
  76.                     from include/linux/types.h:5,
  77.                     from include/uapi/linux/capability.h:16,
  78.                     from include/linux/capability.h:15,
  79.                     from include/linux/sched.h:15,
  80.                     from include/linux/utsname.h:5,
  81.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  82.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-instance.c:13:
  83.    include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  84.    include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  85.               cnts, cnts | _QW_LOCKED) == cnts);
  86.                                        ^
  87.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  88.     # define likely(x) __builtin_expect(!!(x), 1)
  89.                                            ^
  90.    In file included from ./arch/x86/include/asm/preempt.h:5:0,
  91.                     from include/linux/preempt.h:59,
  92.                     from include/linux/spinlock.h:50,
  93.                     from include/linux/seqlock.h:35,
  94.                     from include/linux/time.h:5,
  95.                     from include/uapi/linux/timex.h:56,
  96.                     from include/linux/timex.h:56,
  97.                     from include/linux/sched.h:19,
  98.                     from include/linux/utsname.h:5,
  99.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  100.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-frontend.c:13:
  101.    include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  102.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  103.              ((val) == 1 || (val) == -1)) ?  \
  104.                                   ^
  105.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  106.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  107.                                      ^
  108.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  109.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  110.               ^
  111.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  112.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  113.                                     ^
  114.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  115.       this_cpu_add(*percpu_count, nr);
  116.       ^
  117.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  118.              ((val) == 1 || (val) == -1)) ?  \
  119.                                   ^
  120.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  121.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  122.                                      ^
  123.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  124.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  125.               ^
  126.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  127.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  128.                                     ^
  129.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  130.       this_cpu_add(*percpu_count, nr);
  131.       ^
  132.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  133.              ((val) == 1 || (val) == -1)) ?  \
  134.                                   ^
  135.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  136.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  137.                                      ^
  138.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  139.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  140.               ^
  141.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  142.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  143.                                     ^
  144.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  145.       this_cpu_add(*percpu_count, nr);
  146.       ^
  147.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  148.              ((val) == 1 || (val) == -1)) ?  \
  149.                                   ^
  150.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  151.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  152.                                       ^
  153.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  154.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  155.               ^
  156.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  157.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  158.                                     ^
  159.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  160.       this_cpu_add(*percpu_count, nr);
  161.       ^
  162.    include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  163.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  164.              ((val) == 1 || (val) == -1)) ?  \
  165.                                   ^
  166.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  167.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  168.                                      ^
  169.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  170.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  171.               ^
  172.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  173.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  174.                                     ^
  175.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  176.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  177.                                     ^
  178.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  179.       this_cpu_sub(*percpu_count, nr);
  180.       ^
  181.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  182.              ((val) == 1 || (val) == -1)) ?  \
  183.                                   ^
  184.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  185.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  186.                                      ^
  187.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  188.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  189.               ^
  190.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  191.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  192.                                     ^
  193.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  194.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  195.                                     ^
  196.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  197.       this_cpu_sub(*percpu_count, nr);
  198.       ^
  199.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  200.              ((val) == 1 || (val) == -1)) ?  \
  201.                                   ^
  202.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  203.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  204.                                      ^
  205.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  206.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  207.               ^
  208.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  209.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  210.                                     ^
  211.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  212.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  213.                                     ^
  214.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  215.       this_cpu_sub(*percpu_count, nr);
  216.       ^
  217.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  218.              ((val) == 1 || (val) == -1)) ?  \
  219.                                   ^
  220.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  221.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  222.                                       ^
  223.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  224.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  225.               ^
  226.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  227.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  228.                                     ^
  229.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  230.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  231.                                     ^
  232.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  233.       this_cpu_sub(*percpu_count, nr);
  234.       ^
  235.    In file included from ./arch/x86/include/asm/preempt.h:5:0,
  236.                     from include/linux/preempt.h:59,
  237.                     from include/linux/spinlock.h:50,
  238.                     from include/linux/seqlock.h:35,
  239.                     from include/linux/time.h:5,
  240.                     from include/uapi/linux/timex.h:56,
  241.                     from include/linux/timex.h:56,
  242.                     from include/linux/sched.h:19,
  243.                     from include/linux/utsname.h:5,
  244.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  245.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-instance.c:13:
  246.    include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  247.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  248.              ((val) == 1 || (val) == -1)) ?  \
  249.                                   ^
  250.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  251.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  252.                                      ^
  253.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  254.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  255.               ^
  256.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  257.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  258.                                     ^
  259.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  260.       this_cpu_add(*percpu_count, nr);
  261.       ^
  262.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  263.              ((val) == 1 || (val) == -1)) ?  \
  264.                                   ^
  265.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  266.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  267.                                      ^
  268.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  269.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  270.               ^
  271.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  272.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  273.                                     ^
  274.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  275.       this_cpu_add(*percpu_count, nr);
  276.       ^
  277.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  278.              ((val) == 1 || (val) == -1)) ?  \
  279.                                   ^
  280.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  281.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  282.                                      ^
  283.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  284.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  285.               ^
  286.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  287.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  288.                                     ^
  289.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  290.       this_cpu_add(*percpu_count, nr);
  291.       ^
  292.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  293.              ((val) == 1 || (val) == -1)) ?  \
  294.                                   ^
  295.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  296.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  297.                                       ^
  298.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  299.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  300.               ^
  301.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  302.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  303.                                     ^
  304.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  305.       this_cpu_add(*percpu_count, nr);
  306.       ^
  307.    include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  308.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  309.              ((val) == 1 || (val) == -1)) ?  \
  310.                                   ^
  311.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  312.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  313.                                      ^
  314.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  315.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  316.               ^
  317.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  318.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  319.                                     ^
  320.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  321.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  322.                                     ^
  323.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  324.       this_cpu_sub(*percpu_count, nr);
  325.       ^
  326.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  327.              ((val) == 1 || (val) == -1)) ?  \
  328.                                   ^
  329.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  330.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  331.                                      ^
  332.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  333.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  334.               ^
  335.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  336.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  337.                                     ^
  338.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  339.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  340.                                     ^
  341.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  342.       this_cpu_sub(*percpu_count, nr);
  343.       ^
  344.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  345.              ((val) == 1 || (val) == -1)) ?  \
  346.                                   ^
  347.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  348.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  349.                                      ^
  350.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  351.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  352.               ^
  353.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  354.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  355.                                     ^
  356.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  357.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  358.                                     ^
  359.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  360.       this_cpu_sub(*percpu_count, nr);
  361.       ^
  362.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  363.              ((val) == 1 || (val) == -1)) ?  \
  364.                                   ^
  365.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  366.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  367.                                       ^
  368.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  369.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  370.               ^
  371.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  372.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  373.                                     ^
  374.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  375.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  376.                                     ^
  377.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  378.       this_cpu_sub(*percpu_count, nr);
  379.       ^
  380.    In file included from include/uapi/linux/stddef.h:1:0,
  381.                     from include/linux/stddef.h:4,
  382.                     from ./include/uapi/linux/posix_types.h:4,
  383.                     from include/uapi/linux/types.h:13,
  384.                     from include/linux/types.h:5,
  385.                     from include/uapi/linux/capability.h:16,
  386.                     from include/linux/capability.h:15,
  387.                     from include/linux/sched.h:15,
  388.                     from include/linux/utsname.h:5,
  389.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  390.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-instance.c:13:
  391.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  392.    In file included from include/uapi/linux/stddef.h:1:0,
  393.                     from include/linux/stddef.h:4,
  394.                     from ./include/uapi/linux/posix_types.h:4,
  395.                     from include/uapi/linux/types.h:13,
  396.                     from include/linux/types.h:5,
  397.                     from include/uapi/linux/capability.h:16,
  398.                     from include/linux/capability.h:15,
  399.                     from include/linux/sched.h:15,
  400.                     from include/linux/utsname.h:5,
  401.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  402.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-frontend.c:13:
  403.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  404.    ./arch/x86/include/asm/uaccess.h:721:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  405.      if (likely(sz < 0 || sz >= n))
  406.                              ^
  407.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  408.     # define likely(x) __builtin_expect(!!(x), 1)
  409.                                            ^
  410.    ./arch/x86/include/asm/uaccess.h:721:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  411.      if (likely(sz < 0 || sz >= n))
  412.                              ^
  413.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  414.     # define likely(x) __builtin_expect(!!(x), 1)
  415.                                            ^
  416.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  417.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  418.    ./arch/x86/include/asm/uaccess.h:739:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  419.      if (likely(sz < 0 || sz >= n))
  420.                              ^
  421.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  422.     # define likely(x) __builtin_expect(!!(x), 1)
  423.                                            ^
  424.    ./arch/x86/include/asm/uaccess.h:739:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  425.      if (likely(sz < 0 || sz >= n))
  426.                              ^
  427.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  428.     # define likely(x) __builtin_expect(!!(x), 1)
  429.                                            ^
  430.      if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-instance.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-instance.o"; fi; fi;
  431.      cc -Wp,-MD,/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.nv-acpi.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include  -D__KERNEL__ -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wer
  432.    ror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -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-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_H
  433.    AVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.39\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.tmp_nv-acpi.o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-acpi.c
  434.    In file included from include/uapi/linux/stddef.h:1:0,
  435.                     from include/linux/stddef.h:4,
  436.                     from ./include/uapi/linux/posix_types.h:4,
  437.                     from include/uapi/linux/types.h:13,
  438.                     from include/linux/types.h:5,
  439.                     from include/uapi/linux/capability.h:16,
  440.                     from include/linux/capability.h:15,
  441.                     from include/linux/sched.h:15,
  442.                     from include/linux/utsname.h:5,
  443.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  444.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-acpi.c:15:
  445.    include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  446.    include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  447.               cnts, cnts | _QW_LOCKED) == cnts);
  448.                                        ^
  449.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  450.     # define likely(x) __builtin_expect(!!(x), 1)
  451.                                            ^
  452.    In file included from ./arch/x86/include/asm/preempt.h:5:0,
  453.                     from include/linux/preempt.h:59,
  454.                     from include/linux/spinlock.h:50,
  455.                     from include/linux/seqlock.h:35,
  456.                     from include/linux/time.h:5,
  457.                     from include/uapi/linux/timex.h:56,
  458.                     from include/linux/timex.h:56,
  459.                     from include/linux/sched.h:19,
  460.                     from include/linux/utsname.h:5,
  461.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  462.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-acpi.c:15:
  463.    include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  464.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  465.              ((val) == 1 || (val) == -1)) ?  \
  466.                                   ^
  467.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  468.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  469.                                      ^
  470.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  471.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  472.               ^
  473.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  474.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  475.                                     ^
  476.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  477.       this_cpu_add(*percpu_count, nr);
  478.       ^
  479.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  480.              ((val) == 1 || (val) == -1)) ?  \
  481.                                   ^
  482.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  483.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  484.                                      ^
  485.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  486.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  487.               ^
  488.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  489.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  490.                                     ^
  491.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  492.       this_cpu_add(*percpu_count, nr);
  493.       ^
  494.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  495.              ((val) == 1 || (val) == -1)) ?  \
  496.                                   ^
  497.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  498.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  499.                                      ^
  500.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  501.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  502.               ^
  503.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  504.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  505.                                     ^
  506.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  507.       this_cpu_add(*percpu_count, nr);
  508.       ^
  509.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  510.              ((val) == 1 || (val) == -1)) ?  \
  511.                                   ^
  512.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  513.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  514.                                       ^
  515.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  516.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  517.               ^
  518.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  519.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  520.                                     ^
  521.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  522.       this_cpu_add(*percpu_count, nr);
  523.       ^
  524.    include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  525.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  526.              ((val) == 1 || (val) == -1)) ?  \
  527.                                   ^
  528.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  529.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  530.                                      ^
  531.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  532.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  533.               ^
  534.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  535.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  536.                                     ^
  537.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  538.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  539.                                     ^
  540.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  541.       this_cpu_sub(*percpu_count, nr);
  542.       ^
  543.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  544.              ((val) == 1 || (val) == -1)) ?  \
  545.                                   ^
  546.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  547.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  548.                                      ^
  549.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  550.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  551.               ^
  552.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  553.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  554.                                     ^
  555.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  556.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  557.                                     ^
  558.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  559.       this_cpu_sub(*percpu_count, nr);
  560.       ^
  561.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  562.              ((val) == 1 || (val) == -1)) ?  \
  563.                                   ^
  564.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  565.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  566.                                      ^
  567.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  568.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  569.               ^
  570.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  571.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  572.                                     ^
  573.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  574.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  575.                                     ^
  576.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  577.       this_cpu_sub(*percpu_count, nr);
  578.       ^
  579.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  580.              ((val) == 1 || (val) == -1)) ?  \
  581.                                   ^
  582.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  583.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  584.                                       ^
  585.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  586.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  587.               ^
  588.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  589.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  590.                                     ^
  591.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  592.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  593.                                     ^
  594.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  595.       this_cpu_sub(*percpu_count, nr);
  596.       ^
  597.    In file included from include/uapi/linux/stddef.h:1:0,
  598.                     from include/linux/stddef.h:4,
  599.                     from ./include/uapi/linux/posix_types.h:4,
  600.                     from include/uapi/linux/types.h:13,
  601.                     from include/linux/types.h:5,
  602.                     from include/uapi/linux/capability.h:16,
  603.                     from include/linux/capability.h:15,
  604.                     from include/linux/sched.h:15,
  605.                     from include/linux/utsname.h:5,
  606.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  607.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-acpi.c:15:
  608.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  609.    ./arch/x86/include/asm/uaccess.h:721:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  610.      if (likely(sz < 0 || sz >= n))
  611.                              ^
  612.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  613.     # define likely(x) __builtin_expect(!!(x), 1)
  614.                                            ^
  615.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  616.    ./arch/x86/include/asm/uaccess.h:739:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  617.      if (likely(sz < 0 || sz >= n))
  618.                              ^
  619.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  620.     # define likely(x) __builtin_expect(!!(x), 1)
  621.                                            ^
  622.      if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-frontend.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-frontend.o"; fi; fi;
  623.      cc -Wp,-MD,/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.nv-chrdev.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include  -D__KERNEL__ -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wer
  624.    ror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -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-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_H
  625.    AVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.39\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_chrdev)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.tmp_nv-chrdev.o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-chrdev.c
  626.    In file included from include/uapi/linux/stddef.h:1:0,
  627.                     from include/linux/stddef.h:4,
  628.                     from ./include/uapi/linux/posix_types.h:4,
  629.                     from include/uapi/linux/types.h:13,
  630.                     from include/linux/types.h:5,
  631.                     from include/uapi/linux/capability.h:16,
  632.                     from include/linux/capability.h:15,
  633.                     from include/linux/sched.h:15,
  634.                     from include/linux/utsname.h:5,
  635.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  636.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-chrdev.c:15:
  637.    include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  638.    include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  639.               cnts, cnts | _QW_LOCKED) == cnts);
  640.                                        ^
  641.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  642.     # define likely(x) __builtin_expect(!!(x), 1)
  643.                                            ^
  644.    In file included from ./arch/x86/include/asm/preempt.h:5:0,
  645.                     from include/linux/preempt.h:59,
  646.                     from include/linux/spinlock.h:50,
  647.                     from include/linux/seqlock.h:35,
  648.                     from include/linux/time.h:5,
  649.                     from include/uapi/linux/timex.h:56,
  650.                     from include/linux/timex.h:56,
  651.                     from include/linux/sched.h:19,
  652.                     from include/linux/utsname.h:5,
  653.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  654.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-chrdev.c:15:
  655.    include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  656.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  657.              ((val) == 1 || (val) == -1)) ?  \
  658.                                   ^
  659.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  660.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  661.                                      ^
  662.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  663.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  664.               ^
  665.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  666.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  667.                                     ^
  668.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  669.       this_cpu_add(*percpu_count, nr);
  670.       ^
  671.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  672.              ((val) == 1 || (val) == -1)) ?  \
  673.                                   ^
  674.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  675.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  676.                                      ^
  677.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  678.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  679.               ^
  680.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  681.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  682.                                     ^
  683.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  684.       this_cpu_add(*percpu_count, nr);
  685.       ^
  686.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  687.              ((val) == 1 || (val) == -1)) ?  \
  688.                                   ^
  689.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  690.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  691.                                      ^
  692.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  693.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  694.               ^
  695.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  696.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  697.                                     ^
  698.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  699.       this_cpu_add(*percpu_count, nr);
  700.       ^
  701.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  702.              ((val) == 1 || (val) == -1)) ?  \
  703.                                   ^
  704.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  705.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  706.                                       ^
  707.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  708.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  709.               ^
  710.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  711.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  712.                                     ^
  713.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  714.       this_cpu_add(*percpu_count, nr);
  715.       ^
  716.    include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  717.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  718.              ((val) == 1 || (val) == -1)) ?  \
  719.                                   ^
  720.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  721.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  722.                                      ^
  723.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  724.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  725.               ^
  726.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  727.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  728.                                     ^
  729.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  730.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  731.                                     ^
  732.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  733.       this_cpu_sub(*percpu_count, nr);
  734.       ^
  735.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  736.              ((val) == 1 || (val) == -1)) ?  \
  737.                                   ^
  738.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  739.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  740.                                      ^
  741.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  742.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  743.               ^
  744.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  745.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  746.                                     ^
  747.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  748.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  749.                                     ^
  750.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  751.       this_cpu_sub(*percpu_count, nr);
  752.       ^
  753.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  754.              ((val) == 1 || (val) == -1)) ?  \
  755.                                   ^
  756.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  757.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  758.                                      ^
  759.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  760.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  761.               ^
  762.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  763.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  764.                                     ^
  765.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  766.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  767.                                     ^
  768.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  769.       this_cpu_sub(*percpu_count, nr);
  770.       ^
  771.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  772.              ((val) == 1 || (val) == -1)) ?  \
  773.                                   ^
  774.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  775.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  776.                                       ^
  777.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  778.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  779.               ^
  780.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  781.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  782.                                     ^
  783.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  784.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  785.                                     ^
  786.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  787.       this_cpu_sub(*percpu_count, nr);
  788.       ^
  789.      if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-acpi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-acpi.o"; fi; fi;
  790.      cc -Wp,-MD,/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.nv-cray.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include  -D__KERNEL__ -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -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_
  791.    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-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.39\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_cray)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tm
  792.    p/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.tmp_nv-cray.o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-cray.c
  793.    In file included from include/uapi/linux/stddef.h:1:0,
  794.                     from include/linux/stddef.h:4,
  795.                     from ./include/uapi/linux/posix_types.h:4,
  796.                     from include/uapi/linux/types.h:13,
  797.                     from include/linux/types.h:5,
  798.                     from include/uapi/linux/capability.h:16,
  799.                     from include/linux/capability.h:15,
  800.                     from include/linux/sched.h:15,
  801.                     from include/linux/utsname.h:5,
  802.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  803.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-chrdev.c:15:
  804.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  805.    ./arch/x86/include/asm/uaccess.h:721:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  806.      if (likely(sz < 0 || sz >= n))
  807.                              ^
  808.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  809.     # define likely(x) __builtin_expect(!!(x), 1)
  810.                                            ^
  811.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  812.    ./arch/x86/include/asm/uaccess.h:739:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  813.      if (likely(sz < 0 || sz >= n))
  814.                              ^
  815.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  816.     # define likely(x) __builtin_expect(!!(x), 1)
  817.                                            ^
  818.    In file included from include/uapi/linux/stddef.h:1:0,
  819.                     from include/linux/stddef.h:4,
  820.                     from ./include/uapi/linux/posix_types.h:4,
  821.                     from include/uapi/linux/types.h:13,
  822.                     from include/linux/types.h:5,
  823.                     from include/uapi/linux/capability.h:16,
  824.                     from include/linux/capability.h:15,
  825.                     from include/linux/sched.h:15,
  826.                     from include/linux/utsname.h:5,
  827.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  828.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-cray.c:15:
  829.    include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  830.    include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  831.               cnts, cnts | _QW_LOCKED) == cnts);
  832.                                        ^
  833.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  834.     # define likely(x) __builtin_expect(!!(x), 1)
  835.                                            ^
  836.      if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-chrdev.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-chrdev.o"; fi; fi;
  837.      cc -Wp,-MD,/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.nv-dma.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include  -D__KERNEL__ -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -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-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-stor
  838.    e-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.39\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_dma)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.tmp_nv-dma.o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-dma.c
  839.    In file included from ./arch/x86/include/asm/preempt.h:5:0,
  840.                     from include/linux/preempt.h:59,
  841.                     from include/linux/spinlock.h:50,
  842.                     from include/linux/seqlock.h:35,
  843.                     from include/linux/time.h:5,
  844.                     from include/uapi/linux/timex.h:56,
  845.                     from include/linux/timex.h:56,
  846.                     from include/linux/sched.h:19,
  847.                     from include/linux/utsname.h:5,
  848.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  849.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-cray.c:15:
  850.    include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  851.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  852.              ((val) == 1 || (val) == -1)) ?  \
  853.                                   ^
  854.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  855.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  856.                                      ^
  857.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  858.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  859.               ^
  860.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  861.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  862.                                     ^
  863.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  864.       this_cpu_add(*percpu_count, nr);
  865.       ^
  866.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  867.              ((val) == 1 || (val) == -1)) ?  \
  868.                                   ^
  869.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  870.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  871.                                      ^
  872.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  873.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  874.               ^
  875.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  876.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  877.                                     ^
  878.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  879.       this_cpu_add(*percpu_count, nr);
  880.       ^
  881.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  882.              ((val) == 1 || (val) == -1)) ?  \
  883.                                   ^
  884.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  885.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  886.                                      ^
  887.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  888.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  889.               ^
  890.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  891.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  892.                                     ^
  893.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  894.       this_cpu_add(*percpu_count, nr);
  895.       ^
  896.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  897.              ((val) == 1 || (val) == -1)) ?  \
  898.                                   ^
  899.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  900.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  901.                                       ^
  902.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  903.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  904.               ^
  905.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  906.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  907.                                     ^
  908.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  909.       this_cpu_add(*percpu_count, nr);
  910.       ^
  911.    include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  912.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  913.              ((val) == 1 || (val) == -1)) ?  \
  914.                                   ^
  915.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  916.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  917.                                      ^
  918.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  919.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  920.               ^
  921.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  922.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  923.                                     ^
  924.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  925.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  926.                                     ^
  927.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  928.       this_cpu_sub(*percpu_count, nr);
  929.       ^
  930.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  931.              ((val) == 1 || (val) == -1)) ?  \
  932.                                   ^
  933.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  934.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  935.                                      ^
  936.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  937.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  938.               ^
  939.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  940.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  941.                                     ^
  942.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  943.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  944.                                     ^
  945.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  946.       this_cpu_sub(*percpu_count, nr);
  947.       ^
  948.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  949.              ((val) == 1 || (val) == -1)) ?  \
  950.                                   ^
  951.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  952.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  953.                                      ^
  954.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  955.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  956.               ^
  957.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  958.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  959.                                     ^
  960.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  961.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  962.                                     ^
  963.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  964.       this_cpu_sub(*percpu_count, nr);
  965.       ^
  966.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  967.              ((val) == 1 || (val) == -1)) ?  \
  968.                                   ^
  969.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  970.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  971.                                       ^
  972.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  973.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  974.               ^
  975.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  976.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  977.                                     ^
  978.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  979.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  980.                                     ^
  981.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  982.       this_cpu_sub(*percpu_count, nr);
  983.       ^
  984.    In file included from include/uapi/linux/stddef.h:1:0,
  985.                     from include/linux/stddef.h:4,
  986.                     from ./include/uapi/linux/posix_types.h:4,
  987.                     from include/uapi/linux/types.h:13,
  988.                     from include/linux/types.h:5,
  989.                     from include/uapi/linux/capability.h:16,
  990.                     from include/linux/capability.h:15,
  991.                     from include/linux/sched.h:15,
  992.                     from include/linux/utsname.h:5,
  993.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  994.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-dma.c:15:
  995.    include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  996.    include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  997.               cnts, cnts | _QW_LOCKED) == cnts);
  998.                                        ^
  999.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1000.     # define likely(x) __builtin_expect(!!(x), 1)
  1001.                                            ^
  1002.    In file included from include/uapi/linux/stddef.h:1:0,
  1003.                     from include/linux/stddef.h:4,
  1004.                     from ./include/uapi/linux/posix_types.h:4,
  1005.                     from include/uapi/linux/types.h:13,
  1006.                     from include/linux/types.h:5,
  1007.                     from include/uapi/linux/capability.h:16,
  1008.                     from include/linux/capability.h:15,
  1009.                     from include/linux/sched.h:15,
  1010.                     from include/linux/utsname.h:5,
  1011.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  1012.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-cray.c:15:
  1013.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1014.    ./arch/x86/include/asm/uaccess.h:721:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1015.      if (likely(sz < 0 || sz >= n))
  1016.                              ^
  1017.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1018.     # define likely(x) __builtin_expect(!!(x), 1)
  1019.                                            ^
  1020.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1021.    ./arch/x86/include/asm/uaccess.h:739:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1022.      if (likely(sz < 0 || sz >= n))
  1023.                              ^
  1024.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1025.     # define likely(x) __builtin_expect(!!(x), 1)
  1026.                                            ^
  1027.    In file included from ./arch/x86/include/asm/preempt.h:5:0,
  1028.                     from include/linux/preempt.h:59,
  1029.                     from include/linux/spinlock.h:50,
  1030.                     from include/linux/seqlock.h:35,
  1031.                     from include/linux/time.h:5,
  1032.                     from include/uapi/linux/timex.h:56,
  1033.                     from include/linux/timex.h:56,
  1034.                     from include/linux/sched.h:19,
  1035.                     from include/linux/utsname.h:5,
  1036.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  1037.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-dma.c:15:
  1038.    include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1039.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1040.              ((val) == 1 || (val) == -1)) ?  \
  1041.                                   ^
  1042.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1043.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1044.                                      ^
  1045.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  1046.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  1047.               ^
  1048.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1049.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1050.                                     ^
  1051.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1052.       this_cpu_add(*percpu_count, nr);
  1053.       ^
  1054.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1055.              ((val) == 1 || (val) == -1)) ?  \
  1056.                                   ^
  1057.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1058.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1059.                                      ^
  1060.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  1061.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  1062.               ^
  1063.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1064.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1065.                                     ^
  1066.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1067.       this_cpu_add(*percpu_count, nr);
  1068.       ^
  1069.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1070.              ((val) == 1 || (val) == -1)) ?  \
  1071.                                   ^
  1072.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1073.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1074.                                      ^
  1075.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  1076.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  1077.               ^
  1078.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1079.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1080.                                     ^
  1081.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1082.       this_cpu_add(*percpu_count, nr);
  1083.       ^
  1084.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1085.              ((val) == 1 || (val) == -1)) ?  \
  1086.                                   ^
  1087.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1088.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  1089.                                       ^
  1090.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  1091.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  1092.               ^
  1093.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1094.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1095.                                     ^
  1096.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1097.       this_cpu_add(*percpu_count, nr);
  1098.       ^
  1099.    include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1100.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1101.              ((val) == 1 || (val) == -1)) ?  \
  1102.                                   ^
  1103.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1104.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1105.                                      ^
  1106.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  1107.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  1108.               ^
  1109.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1110.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1111.                                     ^
  1112.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1113.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1114.                                     ^
  1115.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1116.       this_cpu_sub(*percpu_count, nr);
  1117.       ^
  1118.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1119.              ((val) == 1 || (val) == -1)) ?  \
  1120.                                   ^
  1121.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1122.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1123.                                      ^
  1124.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  1125.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  1126.               ^
  1127.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1128.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1129.                                     ^
  1130.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1131.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1132.                                     ^
  1133.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1134.       this_cpu_sub(*percpu_count, nr);
  1135.       ^
  1136.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1137.              ((val) == 1 || (val) == -1)) ?  \
  1138.                                   ^
  1139.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1140.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1141.                                      ^
  1142.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  1143.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  1144.               ^
  1145.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1146.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1147.                                     ^
  1148.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1149.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1150.                                     ^
  1151.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1152.       this_cpu_sub(*percpu_count, nr);
  1153.       ^
  1154.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1155.              ((val) == 1 || (val) == -1)) ?  \
  1156.                                   ^
  1157.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1158.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  1159.                                       ^
  1160.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  1161.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  1162.               ^
  1163.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1164.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1165.                                     ^
  1166.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1167.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1168.                                     ^
  1169.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1170.       this_cpu_sub(*percpu_count, nr);
  1171.       ^
  1172.      if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-cray.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-cray.o"; fi; fi;
  1173.      cc -Wp,-MD,/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.nv-drm.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include  -D__KERNEL__ -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -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_A
  1174.    S_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.39\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_drm)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3643/NVIDIA-Li
  1175.    nux-x86_64-352.39/kernel/.tmp_nv-drm.o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-drm.c
  1176.    In file included from include/uapi/linux/stddef.h:1:0,
  1177.                     from include/linux/stddef.h:4,
  1178.                     from ./include/uapi/linux/posix_types.h:4,
  1179.                     from include/uapi/linux/types.h:13,
  1180.                     from include/linux/types.h:5,
  1181.                     from include/uapi/linux/capability.h:16,
  1182.                     from include/linux/capability.h:15,
  1183.                     from include/linux/sched.h:15,
  1184.                     from include/linux/utsname.h:5,
  1185.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  1186.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-dma.c:15:
  1187.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1188.    ./arch/x86/include/asm/uaccess.h:721:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1189.      if (likely(sz < 0 || sz >= n))
  1190.                              ^
  1191.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1192.     # define likely(x) __builtin_expect(!!(x), 1)
  1193.                                            ^
  1194.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1195.    ./arch/x86/include/asm/uaccess.h:739:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1196.      if (likely(sz < 0 || sz >= n))
  1197.                              ^
  1198.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1199.     # define likely(x) __builtin_expect(!!(x), 1)
  1200.                                            ^
  1201.    In file included from include/uapi/linux/stddef.h:1:0,
  1202.                     from include/linux/stddef.h:4,
  1203.                     from ./include/uapi/linux/posix_types.h:4,
  1204.                     from include/uapi/linux/types.h:13,
  1205.                     from include/linux/types.h:5,
  1206.                     from include/uapi/linux/capability.h:16,
  1207.                     from include/linux/capability.h:15,
  1208.                     from include/linux/sched.h:15,
  1209.                     from include/linux/utsname.h:5,
  1210.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  1211.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-drm.c:15:
  1212.    include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1213.    include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1214.               cnts, cnts | _QW_LOCKED) == cnts);
  1215.                                        ^
  1216.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1217.     # define likely(x) __builtin_expect(!!(x), 1)
  1218.                                            ^
  1219.    In file included from ./arch/x86/include/asm/preempt.h:5:0,
  1220.                     from include/linux/preempt.h:59,
  1221.                     from include/linux/spinlock.h:50,
  1222.                     from include/linux/seqlock.h:35,
  1223.                     from include/linux/time.h:5,
  1224.                     from include/uapi/linux/timex.h:56,
  1225.                     from include/linux/timex.h:56,
  1226.                     from include/linux/sched.h:19,
  1227.                     from include/linux/utsname.h:5,
  1228.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  1229.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-drm.c:15:
  1230.    include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1231.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1232.              ((val) == 1 || (val) == -1)) ?  \
  1233.                                   ^
  1234.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1235.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1236.                                      ^
  1237.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  1238.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  1239.               ^
  1240.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1241.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1242.                                     ^
  1243.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1244.       this_cpu_add(*percpu_count, nr);
  1245.       ^
  1246.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1247.              ((val) == 1 || (val) == -1)) ?  \
  1248.                                   ^
  1249.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1250.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1251.                                      ^
  1252.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  1253.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  1254.               ^
  1255.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1256.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1257.                                     ^
  1258.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1259.       this_cpu_add(*percpu_count, nr);
  1260.       ^
  1261.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1262.              ((val) == 1 || (val) == -1)) ?  \
  1263.                                   ^
  1264.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1265.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1266.                                      ^
  1267.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  1268.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  1269.               ^
  1270.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1271.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1272.                                     ^
  1273.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1274.       this_cpu_add(*percpu_count, nr);
  1275.       ^
  1276.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1277.              ((val) == 1 || (val) == -1)) ?  \
  1278.                                   ^
  1279.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1280.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  1281.                                       ^
  1282.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  1283.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  1284.               ^
  1285.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1286.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1287.                                     ^
  1288.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1289.       this_cpu_add(*percpu_count, nr);
  1290.       ^
  1291.    include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1292.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1293.              ((val) == 1 || (val) == -1)) ?  \
  1294.                                   ^
  1295.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1296.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1297.                                      ^
  1298.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  1299.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  1300.               ^
  1301.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1302.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1303.                                     ^
  1304.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1305.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1306.                                     ^
  1307.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1308.       this_cpu_sub(*percpu_count, nr);
  1309.       ^
  1310.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1311.              ((val) == 1 || (val) == -1)) ?  \
  1312.                                   ^
  1313.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1314.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1315.                                      ^
  1316.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  1317.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  1318.               ^
  1319.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1320.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1321.                                     ^
  1322.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1323.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1324.                                     ^
  1325.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1326.       this_cpu_sub(*percpu_count, nr);
  1327.       ^
  1328.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1329.              ((val) == 1 || (val) == -1)) ?  \
  1330.                                   ^
  1331.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1332.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1333.                                      ^
  1334.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  1335.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  1336.               ^
  1337.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1338.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1339.                                     ^
  1340.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1341.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1342.                                     ^
  1343.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1344.       this_cpu_sub(*percpu_count, nr);
  1345.       ^
  1346.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1347.              ((val) == 1 || (val) == -1)) ?  \
  1348.                                   ^
  1349.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1350.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  1351.                                       ^
  1352.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  1353.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  1354.               ^
  1355.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1356.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1357.                                     ^
  1358.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1359.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1360.                                     ^
  1361.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1362.       this_cpu_sub(*percpu_count, nr);
  1363.       ^
  1364.    In file included from include/uapi/linux/stddef.h:1:0,
  1365.                     from include/linux/stddef.h:4,
  1366.                     from ./include/uapi/linux/posix_types.h:4,
  1367.                     from include/uapi/linux/types.h:13,
  1368.                     from include/linux/types.h:5,
  1369.                     from include/uapi/linux/capability.h:16,
  1370.                     from include/linux/capability.h:15,
  1371.                     from include/linux/sched.h:15,
  1372.                     from include/linux/utsname.h:5,
  1373.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  1374.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-drm.c:15:
  1375.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1376.    ./arch/x86/include/asm/uaccess.h:721:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1377.      if (likely(sz < 0 || sz >= n))
  1378.                              ^
  1379.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1380.     # define likely(x) __builtin_expect(!!(x), 1)
  1381.                                            ^
  1382.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1383.    ./arch/x86/include/asm/uaccess.h:739:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1384.      if (likely(sz < 0 || sz >= n))
  1385.                              ^
  1386.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1387.     # define likely(x) __builtin_expect(!!(x), 1)
  1388.                                            ^
  1389.      if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-dma.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-dma.o"; fi; fi;
  1390.      cc -Wp,-MD,/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.nv-gvi.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include  -D__KERNEL__ -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-fo
  1391.    rmat-security -std=gnu89 -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -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-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=
  1392.    0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.39\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.tmp_nv-gvi.o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-gvi.c
  1393.    In file included from include/uapi/linux/stddef.h:1:0,
  1394.                     from include/linux/stddef.h:4,
  1395.                     from ./include/uapi/linux/posix_types.h:4,
  1396.                     from include/uapi/linux/types.h:13,
  1397.                     from include/linux/types.h:5,
  1398.                     from include/uapi/linux/capability.h:16,
  1399.                     from include/linux/capability.h:15,
  1400.                     from include/linux/sched.h:15,
  1401.                     from include/linux/utsname.h:5,
  1402.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  1403.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-gvi.c:15:
  1404.    include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1405.    include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1406.               cnts, cnts | _QW_LOCKED) == cnts);
  1407.                                        ^
  1408.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1409.     # define likely(x) __builtin_expect(!!(x), 1)
  1410.                                            ^
  1411.      if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-drm.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-drm.o"; fi; fi;
  1412.    In file included from ./arch/x86/include/asm/preempt.h:5:0,
  1413.                     from include/linux/preempt.h:59,
  1414.                     from include/linux/spinlock.h:50,
  1415.                     from include/linux/seqlock.h:35,
  1416.                     from include/linux/time.h:5,
  1417.                     from include/uapi/linux/timex.h:56,
  1418.                     from include/linux/timex.h:56,
  1419.                     from include/linux/sched.h:19,
  1420.                     from include/linux/utsname.h:5,
  1421.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  1422.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-gvi.c:15:
  1423.    include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1424.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1425.              ((val) == 1 || (val) == -1)) ?  \
  1426.                                   ^
  1427.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1428.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1429.                                      ^
  1430.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  1431.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  1432.               ^
  1433.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1434.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1435.                                     ^
  1436.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1437.       this_cpu_add(*percpu_count, nr);
  1438.       ^
  1439.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1440.              ((val) == 1 || (val) == -1)) ?  \
  1441.                                   ^
  1442.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1443.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1444.                                      ^
  1445.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  1446.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  1447.               ^
  1448.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1449.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1450.                                     ^
  1451.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1452.       this_cpu_add(*percpu_count, nr);
  1453.       ^
  1454.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1455.              ((val) == 1 || (val) == -1)) ?  \
  1456.                                   ^
  1457.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1458.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1459.                                      ^
  1460.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  1461.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  1462.               ^
  1463.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1464.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1465.                                     ^
  1466.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1467.       this_cpu_add(*percpu_count, nr);
  1468.       ^
  1469.      cc -Wp,-MD,/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.nvlink.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include  -D__KERNEL__ -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -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 -DCON
  1470.    FIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.39\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvlink)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.tmp_nvlink.o /tmp/selfgz3643
  1471.    /NVIDIA-Linux-x86_64-352.39/kernel/nvlink.c
  1472.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1473.              ((val) == 1 || (val) == -1)) ?  \
  1474.                                   ^
  1475.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1476.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  1477.                                       ^
  1478.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  1479.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  1480.               ^
  1481.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1482.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1483.                                     ^
  1484.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1485.       this_cpu_add(*percpu_count, nr);
  1486.       ^
  1487.    include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1488.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1489.              ((val) == 1 || (val) == -1)) ?  \
  1490.                                   ^
  1491.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1492.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1493.                                      ^
  1494.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  1495.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  1496.               ^
  1497.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1498.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1499.                                     ^
  1500.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1501.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1502.                                     ^
  1503.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1504.       this_cpu_sub(*percpu_count, nr);
  1505.       ^
  1506.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1507.              ((val) == 1 || (val) == -1)) ?  \
  1508.                                   ^
  1509.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1510.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1511.                                      ^
  1512.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  1513.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  1514.               ^
  1515.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1516.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1517.                                     ^
  1518.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1519.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1520.                                     ^
  1521.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1522.       this_cpu_sub(*percpu_count, nr);
  1523.       ^
  1524.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1525.              ((val) == 1 || (val) == -1)) ?  \
  1526.                                   ^
  1527.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1528.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1529.                                      ^
  1530.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  1531.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  1532.               ^
  1533.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1534.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1535.                                     ^
  1536.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1537.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1538.                                     ^
  1539.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1540.       this_cpu_sub(*percpu_count, nr);
  1541.       ^
  1542.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1543.              ((val) == 1 || (val) == -1)) ?  \
  1544.                                   ^
  1545.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1546.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  1547.                                       ^
  1548.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  1549.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  1550.               ^
  1551.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1552.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1553.                                     ^
  1554.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1555.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1556.                                     ^
  1557.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1558.       this_cpu_sub(*percpu_count, nr);
  1559.       ^
  1560.    In file included from include/uapi/linux/stddef.h:1:0,
  1561.                     from include/linux/stddef.h:4,
  1562.                     from ./include/uapi/linux/posix_types.h:4,
  1563.                     from include/uapi/linux/types.h:13,
  1564.                     from include/linux/types.h:5,
  1565.                     from include/uapi/linux/capability.h:16,
  1566.                     from include/linux/capability.h:15,
  1567.                     from include/linux/sched.h:15,
  1568.                     from include/linux/utsname.h:5,
  1569.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  1570.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-gvi.c:15:
  1571.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1572.    ./arch/x86/include/asm/uaccess.h:721:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1573.      if (likely(sz < 0 || sz >= n))
  1574.                              ^
  1575.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1576.     # define likely(x) __builtin_expect(!!(x), 1)
  1577.                                            ^
  1578.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1579.    ./arch/x86/include/asm/uaccess.h:739:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1580.      if (likely(sz < 0 || sz >= n))
  1581.                              ^
  1582.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1583.     # define likely(x) __builtin_expect(!!(x), 1)
  1584.                                            ^
  1585.    In file included from include/uapi/linux/stddef.h:1:0,
  1586.                     from include/linux/stddef.h:4,
  1587.                     from ./include/uapi/linux/posix_types.h:4,
  1588.                     from include/uapi/linux/types.h:13,
  1589.                     from include/linux/types.h:5,
  1590.                     from include/uapi/linux/capability.h:16,
  1591.                     from include/linux/capability.h:15,
  1592.                     from include/linux/sched.h:15,
  1593.                     from include/linux/utsname.h:5,
  1594.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  1595.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nvlink-linux.h:14,
  1596.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nvlink.c:13:
  1597.    include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1598.    include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1599.               cnts, cnts | _QW_LOCKED) == cnts);
  1600.                                        ^
  1601.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1602.     # define likely(x) __builtin_expect(!!(x), 1)
  1603.                                            ^
  1604.    In file included from ./arch/x86/include/asm/preempt.h:5:0,
  1605.                     from include/linux/preempt.h:59,
  1606.                     from include/linux/spinlock.h:50,
  1607.                     from include/linux/seqlock.h:35,
  1608.                     from include/linux/time.h:5,
  1609.                     from include/uapi/linux/timex.h:56,
  1610.                     from include/linux/timex.h:56,
  1611.                     from include/linux/sched.h:19,
  1612.                     from include/linux/utsname.h:5,
  1613.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  1614.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nvlink-linux.h:14,
  1615.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nvlink.c:13:
  1616.    include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1617.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1618.              ((val) == 1 || (val) == -1)) ?  \
  1619.                                   ^
  1620.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1621.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1622.                                      ^
  1623.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  1624.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  1625.               ^
  1626.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1627.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1628.                                     ^
  1629.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1630.       this_cpu_add(*percpu_count, nr);
  1631.       ^
  1632.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1633.              ((val) == 1 || (val) == -1)) ?  \
  1634.                                   ^
  1635.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1636.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1637.                                      ^
  1638.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  1639.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  1640.               ^
  1641.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1642.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1643.                                     ^
  1644.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1645.       this_cpu_add(*percpu_count, nr);
  1646.       ^
  1647.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1648.              ((val) == 1 || (val) == -1)) ?  \
  1649.                                   ^
  1650.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1651.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1652.                                      ^
  1653.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  1654.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  1655.               ^
  1656.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1657.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1658.                                     ^
  1659.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1660.       this_cpu_add(*percpu_count, nr);
  1661.       ^
  1662.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1663.              ((val) == 1 || (val) == -1)) ?  \
  1664.                                   ^
  1665.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1666.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  1667.                                       ^
  1668.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  1669.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  1670.               ^
  1671.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1672.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1673.                                     ^
  1674.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1675.       this_cpu_add(*percpu_count, nr);
  1676.       ^
  1677.    include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1678.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1679.              ((val) == 1 || (val) == -1)) ?  \
  1680.                                   ^
  1681.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1682.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1683.                                      ^
  1684.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  1685.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  1686.               ^
  1687.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1688.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1689.                                     ^
  1690.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1691.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1692.                                     ^
  1693.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1694.       this_cpu_sub(*percpu_count, nr);
  1695.       ^
  1696.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1697.              ((val) == 1 || (val) == -1)) ?  \
  1698.                                   ^
  1699.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1700.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1701.                                      ^
  1702.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  1703.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  1704.               ^
  1705.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1706.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1707.                                     ^
  1708.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1709.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1710.                                     ^
  1711.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1712.       this_cpu_sub(*percpu_count, nr);
  1713.       ^
  1714.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1715.              ((val) == 1 || (val) == -1)) ?  \
  1716.                                   ^
  1717.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1718.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1719.                                      ^
  1720.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  1721.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  1722.               ^
  1723.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1724.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1725.                                     ^
  1726.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1727.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1728.                                     ^
  1729.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1730.       this_cpu_sub(*percpu_count, nr);
  1731.       ^
  1732.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1733.              ((val) == 1 || (val) == -1)) ?  \
  1734.                                   ^
  1735.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1736.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  1737.                                       ^
  1738.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  1739.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  1740.               ^
  1741.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1742.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1743.                                     ^
  1744.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1745.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1746.                                     ^
  1747.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1748.       this_cpu_sub(*percpu_count, nr);
  1749.       ^
  1750.      if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-gvi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-gvi.o"; fi; fi;
  1751.      cc -Wp,-MD,/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.nv-i2c.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include  -D__KERNEL__ -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCON
  1752.    FIG_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-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.39\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KB
  1753.   UILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.tmp_nv-i2c.o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-i2c.c
  1754.    In file included from include/uapi/linux/stddef.h:1:0,
  1755.                     from include/linux/stddef.h:4,
  1756.                     from ./include/uapi/linux/posix_types.h:4,
  1757.                     from include/uapi/linux/types.h:13,
  1758.                     from include/linux/types.h:5,
  1759.                     from include/uapi/linux/capability.h:16,
  1760.                     from include/linux/capability.h:15,
  1761.                     from include/linux/sched.h:15,
  1762.                     from include/linux/utsname.h:5,
  1763.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  1764.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nvlink-linux.h:14,
  1765.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nvlink.c:13:
  1766.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1767.    ./arch/x86/include/asm/uaccess.h:721:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1768.      if (likely(sz < 0 || sz >= n))
  1769.                              ^
  1770.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1771.     # define likely(x) __builtin_expect(!!(x), 1)
  1772.                                            ^
  1773.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1774.    ./arch/x86/include/asm/uaccess.h:739:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1775.      if (likely(sz < 0 || sz >= n))
  1776.                              ^
  1777.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1778.     # define likely(x) __builtin_expect(!!(x), 1)
  1779.                                            ^
  1780.    In file included from include/uapi/linux/stddef.h:1:0,
  1781.                     from include/linux/stddef.h:4,
  1782.                     from ./include/uapi/linux/posix_types.h:4,
  1783.                     from include/uapi/linux/types.h:13,
  1784.                     from include/linux/types.h:5,
  1785.                     from include/uapi/linux/capability.h:16,
  1786.                     from include/linux/capability.h:15,
  1787.                     from include/linux/sched.h:15,
  1788.                     from include/linux/utsname.h:5,
  1789.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  1790.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-i2c.c:15:
  1791.    include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1792.    include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1793.               cnts, cnts | _QW_LOCKED) == cnts);
  1794.                                        ^
  1795.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1796.     # define likely(x) __builtin_expect(!!(x), 1)
  1797.                                            ^
  1798.    In file included from ./arch/x86/include/asm/preempt.h:5:0,
  1799.                     from include/linux/preempt.h:59,
  1800.                     from include/linux/spinlock.h:50,
  1801.                     from include/linux/seqlock.h:35,
  1802.                     from include/linux/time.h:5,
  1803.                     from include/uapi/linux/timex.h:56,
  1804.                     from include/linux/timex.h:56,
  1805.                     from include/linux/sched.h:19,
  1806.                     from include/linux/utsname.h:5,
  1807.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  1808.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-i2c.c:15:
  1809.    include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1810.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1811.              ((val) == 1 || (val) == -1)) ?  \
  1812.                                   ^
  1813.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1814.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1815.                                      ^
  1816.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  1817.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  1818.               ^
  1819.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1820.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1821.                                     ^
  1822.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1823.       this_cpu_add(*percpu_count, nr);
  1824.       ^
  1825.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1826.              ((val) == 1 || (val) == -1)) ?  \
  1827.                                   ^
  1828.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1829.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1830.                                      ^
  1831.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  1832.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  1833.               ^
  1834.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1835.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1836.                                     ^
  1837.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1838.       this_cpu_add(*percpu_count, nr);
  1839.       ^
  1840.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1841.              ((val) == 1 || (val) == -1)) ?  \
  1842.                                   ^
  1843.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1844.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1845.                                      ^
  1846.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  1847.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  1848.               ^
  1849.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1850.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1851.                                     ^
  1852.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1853.       this_cpu_add(*percpu_count, nr);
  1854.       ^
  1855.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1856.              ((val) == 1 || (val) == -1)) ?  \
  1857.                                   ^
  1858.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1859.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  1860.                                       ^
  1861.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  1862.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  1863.               ^
  1864.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1865.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1866.                                     ^
  1867.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1868.       this_cpu_add(*percpu_count, nr);
  1869.       ^
  1870.    include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1871.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1872.              ((val) == 1 || (val) == -1)) ?  \
  1873.                                   ^
  1874.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1875.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1876.                                      ^
  1877.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  1878.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  1879.               ^
  1880.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1881.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1882.                                     ^
  1883.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1884.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1885.                                     ^
  1886.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1887.       this_cpu_sub(*percpu_count, nr);
  1888.       ^
  1889.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1890.              ((val) == 1 || (val) == -1)) ?  \
  1891.                                   ^
  1892.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1893.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1894.                                      ^
  1895.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  1896.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  1897.               ^
  1898.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1899.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1900.                                     ^
  1901.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1902.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1903.                                     ^
  1904.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1905.       this_cpu_sub(*percpu_count, nr);
  1906.       ^
  1907.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1908.              ((val) == 1 || (val) == -1)) ?  \
  1909.                                   ^
  1910.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1911.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1912.                                      ^
  1913.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  1914.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  1915.               ^
  1916.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1917.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1918.                                     ^
  1919.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1920.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1921.                                     ^
  1922.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1923.       this_cpu_sub(*percpu_count, nr);
  1924.       ^
  1925.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1926.              ((val) == 1 || (val) == -1)) ?  \
  1927.                                   ^
  1928.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1929.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  1930.                                       ^
  1931.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  1932.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  1933.               ^
  1934.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1935.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  1936.                                     ^
  1937.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1938.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  1939.                                     ^
  1940.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1941.       this_cpu_sub(*percpu_count, nr);
  1942.       ^
  1943.      if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nvlink.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nvlink.o"; fi; fi;
  1944.      cc -Wp,-MD,/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.nv-mempool.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include  -D__KERNEL__ -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-
  1945.    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-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.39\" -Wno-unused-function -Wuninitialized -fno-st
  1946.    rict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mempool)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.tmp_nv-mempool.o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-mempool.c
  1947.    In file included from include/uapi/linux/stddef.h:1:0,
  1948.                     from include/linux/stddef.h:4,
  1949.                     from ./include/uapi/linux/posix_types.h:4,
  1950.                     from include/uapi/linux/types.h:13,
  1951.                     from include/linux/types.h:5,
  1952.                     from include/uapi/linux/capability.h:16,
  1953.                     from include/linux/capability.h:15,
  1954.                     from include/linux/sched.h:15,
  1955.                     from include/linux/utsname.h:5,
  1956.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  1957.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-i2c.c:15:
  1958.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1959.    ./arch/x86/include/asm/uaccess.h:721:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1960.      if (likely(sz < 0 || sz >= n))
  1961.                              ^
  1962.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1963.     # define likely(x) __builtin_expect(!!(x), 1)
  1964.                                            ^
  1965.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1966.    ./arch/x86/include/asm/uaccess.h:739:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1967.      if (likely(sz < 0 || sz >= n))
  1968.                              ^
  1969.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1970.     # define likely(x) __builtin_expect(!!(x), 1)
  1971.                                            ^
  1972.    In file included from include/uapi/linux/stddef.h:1:0,
  1973.                     from include/linux/stddef.h:4,
  1974.                     from ./include/uapi/linux/posix_types.h:4,
  1975.                     from include/uapi/linux/types.h:13,
  1976.                     from include/linux/types.h:5,
  1977.                     from include/uapi/linux/capability.h:16,
  1978.                     from include/linux/capability.h:15,
  1979.                     from include/linux/sched.h:15,
  1980.                     from include/linux/utsname.h:5,
  1981.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  1982.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-mempool.c:15:
  1983.    include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1984.    include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1985.               cnts, cnts | _QW_LOCKED) == cnts);
  1986.                                        ^
  1987.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1988.     # define likely(x) __builtin_expect(!!(x), 1)
  1989.                                            ^
  1990.    In file included from ./arch/x86/include/asm/preempt.h:5:0,
  1991.                     from include/linux/preempt.h:59,
  1992.                     from include/linux/spinlock.h:50,
  1993.                     from include/linux/seqlock.h:35,
  1994.                     from include/linux/time.h:5,
  1995.                     from include/uapi/linux/timex.h:56,
  1996.                     from include/linux/timex.h:56,
  1997.                     from include/linux/sched.h:19,
  1998.                     from include/linux/utsname.h:5,
  1999.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  2000.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-mempool.c:15:
  2001.    include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  2002.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2003.              ((val) == 1 || (val) == -1)) ?  \
  2004.                                   ^
  2005.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2006.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2007.                                      ^
  2008.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  2009.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  2010.               ^
  2011.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2012.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2013.                                     ^
  2014.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2015.       this_cpu_add(*percpu_count, nr);
  2016.       ^
  2017.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2018.              ((val) == 1 || (val) == -1)) ?  \
  2019.                                   ^
  2020.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2021.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2022.                                      ^
  2023.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  2024.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  2025.               ^
  2026.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2027.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2028.                                     ^
  2029.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2030.       this_cpu_add(*percpu_count, nr);
  2031.       ^
  2032.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2033.              ((val) == 1 || (val) == -1)) ?  \
  2034.                                   ^
  2035.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2036.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2037.                                      ^
  2038.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  2039.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  2040.               ^
  2041.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2042.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2043.                                     ^
  2044.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2045.       this_cpu_add(*percpu_count, nr);
  2046.       ^
  2047.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2048.              ((val) == 1 || (val) == -1)) ?  \
  2049.                                   ^
  2050.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2051.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  2052.                                       ^
  2053.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  2054.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  2055.               ^
  2056.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2057.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2058.                                     ^
  2059.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2060.       this_cpu_add(*percpu_count, nr);
  2061.       ^
  2062.    include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  2063.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2064.              ((val) == 1 || (val) == -1)) ?  \
  2065.                                   ^
  2066.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2067.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2068.                                      ^
  2069.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  2070.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  2071.               ^
  2072.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2073.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2074.                                     ^
  2075.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2076.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2077.                                     ^
  2078.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2079.       this_cpu_sub(*percpu_count, nr);
  2080.       ^
  2081.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2082.              ((val) == 1 || (val) == -1)) ?  \
  2083.                                   ^
  2084.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2085.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2086.                                      ^
  2087.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  2088.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  2089.               ^
  2090.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2091.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2092.                                     ^
  2093.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2094.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2095.                                     ^
  2096.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2097.       this_cpu_sub(*percpu_count, nr);
  2098.       ^
  2099.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2100.              ((val) == 1 || (val) == -1)) ?  \
  2101.                                   ^
  2102.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2103.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2104.                                      ^
  2105.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  2106.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  2107.               ^
  2108.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2109.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2110.                                     ^
  2111.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2112.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2113.                                     ^
  2114.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2115.       this_cpu_sub(*percpu_count, nr);
  2116.       ^
  2117.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2118.              ((val) == 1 || (val) == -1)) ?  \
  2119.                                   ^
  2120.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2121.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  2122.                                       ^
  2123.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  2124.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  2125.               ^
  2126.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2127.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2128.                                     ^
  2129.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2130.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2131.                                     ^
  2132.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2133.       this_cpu_sub(*percpu_count, nr);
  2134.       ^
  2135.      if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-i2c.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-i2c.o"; fi; fi;
  2136.      cc -Wp,-MD,/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.nv-mmap.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include  -D__KERNEL__ -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-
  2137.    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-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.39\" -Wno-unused-function -Wuninitialized -fno-
  2138.    strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mmap)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.tmp_nv-mmap.o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-mmap.c
  2139.    In file included from include/uapi/linux/stddef.h:1:0,
  2140.                     from include/linux/stddef.h:4,
  2141.                     from ./include/uapi/linux/posix_types.h:4,
  2142.                     from include/uapi/linux/types.h:13,
  2143.                     from include/linux/types.h:5,
  2144.                     from include/uapi/linux/capability.h:16,
  2145.                     from include/linux/capability.h:15,
  2146.                     from include/linux/sched.h:15,
  2147.                     from include/linux/utsname.h:5,
  2148.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  2149.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-mempool.c:15:
  2150.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  2151.    ./arch/x86/include/asm/uaccess.h:721:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2152.      if (likely(sz < 0 || sz >= n))
  2153.                              ^
  2154.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2155.     # define likely(x) __builtin_expect(!!(x), 1)
  2156.                                            ^
  2157.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  2158.    ./arch/x86/include/asm/uaccess.h:739:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2159.      if (likely(sz < 0 || sz >= n))
  2160.                              ^
  2161.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2162.     # define likely(x) __builtin_expect(!!(x), 1)
  2163.                                            ^
  2164.    In file included from include/uapi/linux/stddef.h:1:0,
  2165.                     from include/linux/stddef.h:4,
  2166.                     from ./include/uapi/linux/posix_types.h:4,
  2167.                     from include/uapi/linux/types.h:13,
  2168.                     from include/linux/types.h:5,
  2169.                     from include/uapi/linux/capability.h:16,
  2170.                     from include/linux/capability.h:15,
  2171.                     from include/linux/sched.h:15,
  2172.                     from include/linux/utsname.h:5,
  2173.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  2174.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-mmap.c:15:
  2175.    include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  2176.    include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2177.               cnts, cnts | _QW_LOCKED) == cnts);
  2178.                                        ^
  2179.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2180.     # define likely(x) __builtin_expect(!!(x), 1)
  2181.                                            ^
  2182.      if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-mempool.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-mempool.o"; fi; fi;
  2183.    In file included from ./arch/x86/include/asm/preempt.h:5:0,
  2184.                     from include/linux/preempt.h:59,
  2185.                     from include/linux/spinlock.h:50,
  2186.                     from include/linux/seqlock.h:35,
  2187.                     from include/linux/time.h:5,
  2188.                     from include/uapi/linux/timex.h:56,
  2189.                     from include/linux/timex.h:56,
  2190.                     from include/linux/sched.h:19,
  2191.                     from include/linux/utsname.h:5,
  2192.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  2193.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-mmap.c:15:
  2194.    include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  2195.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2196.              ((val) == 1 || (val) == -1)) ?  \
  2197.                                   ^
  2198.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2199.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2200.                                      ^
  2201.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  2202.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  2203.               ^
  2204.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2205.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2206.                                     ^
  2207.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2208.       this_cpu_add(*percpu_count, nr);
  2209.       ^
  2210.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2211.              ((val) == 1 || (val) == -1)) ?  \
  2212.                                   ^
  2213.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2214.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2215.                                      ^
  2216.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  2217.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  2218.               ^
  2219.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2220.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2221.                                     ^
  2222.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2223.       this_cpu_add(*percpu_count, nr);
  2224.       ^
  2225.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2226.              ((val) == 1 || (val) == -1)) ?  \
  2227.                                   ^
  2228.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2229.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2230.                                      ^
  2231.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  2232.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  2233.               ^
  2234.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2235.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2236.                                     ^
  2237.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2238.       this_cpu_add(*percpu_count, nr);
  2239.       ^
  2240.      cc -Wp,-MD,/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.nv-p2p.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include  -D__KERNEL__ -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulat
  2241.    e-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.39\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -m
  2242.    no-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_p2p)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.tmp_nv-p2p.o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-p2p.c
  2243.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2244.              ((val) == 1 || (val) == -1)) ?  \
  2245.                                   ^
  2246.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2247.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  2248.                                       ^
  2249.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  2250.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  2251.               ^
  2252.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2253.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2254.                                     ^
  2255.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2256.       this_cpu_add(*percpu_count, nr);
  2257.       ^
  2258.    include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  2259.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2260.              ((val) == 1 || (val) == -1)) ?  \
  2261.                                   ^
  2262.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2263.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2264.                                      ^
  2265.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  2266.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  2267.               ^
  2268.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2269.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2270.                                     ^
  2271.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2272.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2273.                                     ^
  2274.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2275.       this_cpu_sub(*percpu_count, nr);
  2276.       ^
  2277.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2278.              ((val) == 1 || (val) == -1)) ?  \
  2279.                                   ^
  2280.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2281.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2282.                                      ^
  2283.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  2284.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  2285.               ^
  2286.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2287.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2288.                                     ^
  2289.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2290.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2291.                                     ^
  2292.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2293.       this_cpu_sub(*percpu_count, nr);
  2294.       ^
  2295.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2296.              ((val) == 1 || (val) == -1)) ?  \
  2297.                                   ^
  2298.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2299.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2300.                                      ^
  2301.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  2302.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  2303.               ^
  2304.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2305.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2306.                                     ^
  2307.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2308.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2309.                                     ^
  2310.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2311.       this_cpu_sub(*percpu_count, nr);
  2312.       ^
  2313.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2314.              ((val) == 1 || (val) == -1)) ?  \
  2315.                                   ^
  2316.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2317.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  2318.                                       ^
  2319.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  2320.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  2321.               ^
  2322.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2323.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2324.                                     ^
  2325.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2326.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2327.                                     ^
  2328.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2329.       this_cpu_sub(*percpu_count, nr);
  2330.       ^
  2331.    In file included from include/uapi/linux/stddef.h:1:0,
  2332.                     from include/linux/stddef.h:4,
  2333.                     from ./include/uapi/linux/posix_types.h:4,
  2334.                     from include/uapi/linux/types.h:13,
  2335.                     from include/linux/types.h:5,
  2336.                     from include/uapi/linux/capability.h:16,
  2337.                     from include/linux/capability.h:15,
  2338.                     from include/linux/sched.h:15,
  2339.                     from include/linux/utsname.h:5,
  2340.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  2341.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-mmap.c:15:
  2342.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  2343.    ./arch/x86/include/asm/uaccess.h:721:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2344.      if (likely(sz < 0 || sz >= n))
  2345.                              ^
  2346.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2347.     # define likely(x) __builtin_expect(!!(x), 1)
  2348.                                            ^
  2349.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  2350.    ./arch/x86/include/asm/uaccess.h:739:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2351.      if (likely(sz < 0 || sz >= n))
  2352.                              ^
  2353.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2354.     # define likely(x) __builtin_expect(!!(x), 1)
  2355.                                            ^
  2356.    In file included from include/uapi/linux/stddef.h:1:0,
  2357.                     from include/linux/stddef.h:4,
  2358.                     from ./include/uapi/linux/posix_types.h:4,
  2359.                     from include/uapi/linux/types.h:13,
  2360.                     from include/linux/types.h:5,
  2361.                     from include/uapi/linux/capability.h:16,
  2362.                     from include/linux/capability.h:15,
  2363.                     from include/linux/sched.h:15,
  2364.                     from include/linux/utsname.h:5,
  2365.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  2366.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-p2p.c:15:
  2367.    include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  2368.    include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2369.               cnts, cnts | _QW_LOCKED) == cnts);
  2370.                                        ^
  2371.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2372.     # define likely(x) __builtin_expect(!!(x), 1)
  2373.                                            ^
  2374.    In file included from ./arch/x86/include/asm/preempt.h:5:0,
  2375.                     from include/linux/preempt.h:59,
  2376.                     from include/linux/spinlock.h:50,
  2377.                     from include/linux/seqlock.h:35,
  2378.                     from include/linux/time.h:5,
  2379.                     from include/uapi/linux/timex.h:56,
  2380.                     from include/linux/timex.h:56,
  2381.                     from include/linux/sched.h:19,
  2382.                     from include/linux/utsname.h:5,
  2383.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  2384.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-p2p.c:15:
  2385.    include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  2386.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2387.              ((val) == 1 || (val) == -1)) ?  \
  2388.                                   ^
  2389.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2390.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2391.                                      ^
  2392.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  2393.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  2394.               ^
  2395.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2396.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2397.                                     ^
  2398.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2399.       this_cpu_add(*percpu_count, nr);
  2400.       ^
  2401.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2402.              ((val) == 1 || (val) == -1)) ?  \
  2403.                                   ^
  2404.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2405.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2406.                                      ^
  2407.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  2408.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  2409.               ^
  2410.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2411.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2412.                                     ^
  2413.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2414.       this_cpu_add(*percpu_count, nr);
  2415.       ^
  2416.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2417.              ((val) == 1 || (val) == -1)) ?  \
  2418.                                   ^
  2419.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2420.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2421.                                      ^
  2422.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  2423.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  2424.               ^
  2425.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2426.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2427.                                     ^
  2428.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2429.       this_cpu_add(*percpu_count, nr);
  2430.       ^
  2431.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2432.              ((val) == 1 || (val) == -1)) ?  \
  2433.                                   ^
  2434.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2435.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  2436.                                       ^
  2437.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  2438.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  2439.               ^
  2440.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2441.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2442.                                     ^
  2443.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2444.       this_cpu_add(*percpu_count, nr);
  2445.       ^
  2446.    include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  2447.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2448.              ((val) == 1 || (val) == -1)) ?  \
  2449.                                   ^
  2450.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2451.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2452.                                      ^
  2453.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  2454.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  2455.               ^
  2456.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2457.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2458.                                     ^
  2459.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2460.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2461.                                     ^
  2462.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2463.       this_cpu_sub(*percpu_count, nr);
  2464.       ^
  2465.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2466.              ((val) == 1 || (val) == -1)) ?  \
  2467.                                   ^
  2468.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2469.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2470.                                      ^
  2471.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  2472.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  2473.               ^
  2474.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2475.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2476.                                     ^
  2477.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2478.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2479.                                     ^
  2480.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2481.       this_cpu_sub(*percpu_count, nr);
  2482.       ^
  2483.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2484.              ((val) == 1 || (val) == -1)) ?  \
  2485.                                   ^
  2486.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2487.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2488.                                      ^
  2489.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  2490.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  2491.               ^
  2492.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2493.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2494.                                     ^
  2495.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2496.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2497.                                     ^
  2498.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2499.       this_cpu_sub(*percpu_count, nr);
  2500.       ^
  2501.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2502.              ((val) == 1 || (val) == -1)) ?  \
  2503.                                   ^
  2504.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2505.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  2506.                                       ^
  2507.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  2508.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  2509.               ^
  2510.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2511.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2512.                                     ^
  2513.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2514.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2515.                                     ^
  2516.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2517.       this_cpu_sub(*percpu_count, nr);
  2518.       ^
  2519.    In file included from include/uapi/linux/stddef.h:1:0,
  2520.                     from include/linux/stddef.h:4,
  2521.                     from ./include/uapi/linux/posix_types.h:4,
  2522.                     from include/uapi/linux/types.h:13,
  2523.                     from include/linux/types.h:5,
  2524.                     from include/uapi/linux/capability.h:16,
  2525.                     from include/linux/capability.h:15,
  2526.                     from include/linux/sched.h:15,
  2527.                     from include/linux/utsname.h:5,
  2528.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  2529.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-p2p.c:15:
  2530.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  2531.    ./arch/x86/include/asm/uaccess.h:721:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2532.      if (likely(sz < 0 || sz >= n))
  2533.                              ^
  2534.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2535.     # define likely(x) __builtin_expect(!!(x), 1)
  2536.                                            ^
  2537.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  2538.    ./arch/x86/include/asm/uaccess.h:739:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2539.      if (likely(sz < 0 || sz >= n))
  2540.                              ^
  2541.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2542.     # define likely(x) __builtin_expect(!!(x), 1)
  2543.                                            ^
  2544.      if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-mmap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-mmap.o"; fi; fi;
  2545.      cc -Wp,-MD,/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.nv-pat.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uap
  2546.    i -include ./include/linux/kconfig.h -Iubuntu/include  -D__KERNEL__ -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -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-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mf
  2547.    entry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.39\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_pat)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.tmp_nv-pat.o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-pat.c
  2548.    In file included from include/uapi/linux/stddef.h:1:0,
  2549.                     from include/linux/stddef.h:4,
  2550.                     from ./include/uapi/linux/posix_types.h:4,
  2551.                     from include/uapi/linux/types.h:13,
  2552.                     from include/linux/types.h:5,
  2553.                     from include/uapi/linux/capability.h:16,
  2554.                     from include/linux/capability.h:15,
  2555.                     from include/linux/sched.h:15,
  2556.                     from include/linux/utsname.h:5,
  2557.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  2558.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-pat.c:15:
  2559.    include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  2560.    include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2561.               cnts, cnts | _QW_LOCKED) == cnts);
  2562.                                        ^
  2563.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2564.     # define likely(x) __builtin_expect(!!(x), 1)
  2565.                                            ^
  2566.    In file included from ./arch/x86/include/asm/preempt.h:5:0,
  2567.                     from include/linux/preempt.h:59,
  2568.                     from include/linux/spinlock.h:50,
  2569.                     from include/linux/seqlock.h:35,
  2570.                     from include/linux/time.h:5,
  2571.                     from include/uapi/linux/timex.h:56,
  2572.                     from include/linux/timex.h:56,
  2573.                     from include/linux/sched.h:19,
  2574.                     from include/linux/utsname.h:5,
  2575.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  2576.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-pat.c:15:
  2577.    include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  2578.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2579.              ((val) == 1 || (val) == -1)) ?  \
  2580.                                   ^
  2581.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2582.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2583.                                      ^
  2584.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  2585.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  2586.               ^
  2587.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2588.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2589.                                     ^
  2590.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2591.       this_cpu_add(*percpu_count, nr);
  2592.       ^
  2593.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2594.              ((val) == 1 || (val) == -1)) ?  \
  2595.                                   ^
  2596.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2597.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2598.                                      ^
  2599.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  2600.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  2601.               ^
  2602.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2603.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2604.                                     ^
  2605.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2606.       this_cpu_add(*percpu_count, nr);
  2607.       ^
  2608.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2609.              ((val) == 1 || (val) == -1)) ?  \
  2610.                                   ^
  2611.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2612.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2613.                                      ^
  2614.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  2615.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  2616.               ^
  2617.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2618.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2619.                                     ^
  2620.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2621.       this_cpu_add(*percpu_count, nr);
  2622.       ^
  2623.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2624.              ((val) == 1 || (val) == -1)) ?  \
  2625.                                   ^
  2626.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2627.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  2628.                                       ^
  2629.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  2630.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  2631.               ^
  2632.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2633.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2634.                                     ^
  2635.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2636.       this_cpu_add(*percpu_count, nr);
  2637.       ^
  2638.    include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  2639.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2640.              ((val) == 1 || (val) == -1)) ?  \
  2641.                                   ^
  2642.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2643.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2644.                                      ^
  2645.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  2646.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  2647.               ^
  2648.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2649.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2650.                                     ^
  2651.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2652.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2653.                                     ^
  2654.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2655.       this_cpu_sub(*percpu_count, nr);
  2656.       ^
  2657.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2658.              ((val) == 1 || (val) == -1)) ?  \
  2659.                                   ^
  2660.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2661.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2662.                                      ^
  2663.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  2664.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  2665.               ^
  2666.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2667.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2668.                                     ^
  2669.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2670.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2671.                                     ^
  2672.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2673.       this_cpu_sub(*percpu_count, nr);
  2674.       ^
  2675.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2676.              ((val) == 1 || (val) == -1)) ?  \
  2677.                                   ^
  2678.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2679.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2680.                                      ^
  2681.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  2682.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  2683.               ^
  2684.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2685.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2686.                                     ^
  2687.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2688.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2689.                                     ^
  2690.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2691.       this_cpu_sub(*percpu_count, nr);
  2692.       ^
  2693.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2694.              ((val) == 1 || (val) == -1)) ?  \
  2695.                                   ^
  2696.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2697.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  2698.                                       ^
  2699.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  2700.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  2701.               ^
  2702.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2703.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2704.                                     ^
  2705.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2706.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2707.                                     ^
  2708.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2709.       this_cpu_sub(*percpu_count, nr);
  2710.       ^
  2711.    In file included from include/uapi/linux/stddef.h:1:0,
  2712.                     from include/linux/stddef.h:4,
  2713.                     from ./include/uapi/linux/posix_types.h:4,
  2714.                     from include/uapi/linux/types.h:13,
  2715.                     from include/linux/types.h:5,
  2716.                     from include/uapi/linux/capability.h:16,
  2717.                     from include/linux/capability.h:15,
  2718.                     from include/linux/sched.h:15,
  2719.                     from include/linux/utsname.h:5,
  2720.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  2721.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-pat.c:15:
  2722.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  2723.    ./arch/x86/include/asm/uaccess.h:721:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2724.      if (likely(sz < 0 || sz >= n))
  2725.                              ^
  2726.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2727.     # define likely(x) __builtin_expect(!!(x), 1)
  2728.                                            ^
  2729.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  2730.    ./arch/x86/include/asm/uaccess.h:739:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2731.      if (likely(sz < 0 || sz >= n))
  2732.                              ^
  2733.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2734.     # define likely(x) __builtin_expect(!!(x), 1)
  2735.                                            ^
  2736.      if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-pat.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-pat.o"; fi; fi;
  2737.      cc -Wp,-MD,/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.nv-procfs.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./inc
  2738.    lude/linux/kconfig.h -Iubuntu/include  -D__KERNEL__ -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -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-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING
  2739.    _FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.39\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_procfs)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.tmp_nv-procfs.o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-procfs.c
  2740.      if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-p2p.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-p2p.o"; fi; fi;
  2741.      cc -Wp,-MD,/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.nv-usermap.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include  -D__KERNEL__ -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -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-asynchronous-unwin
  2742.    d-tables -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.39\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_usermap)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/.tmp_nv-usermap.o /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-usermap.c
  2743.    In file included from include/uapi/linux/stddef.h:1:0,
  2744.                     from include/linux/stddef.h:4,
  2745.                     from ./include/uapi/linux/posix_types.h:4,
  2746.                     from include/uapi/linux/types.h:13,
  2747.                     from include/linux/types.h:5,
  2748.                     from include/uapi/linux/capability.h:16,
  2749.                     from include/linux/capability.h:15,
  2750.                     from include/linux/sched.h:15,
  2751.                     from include/linux/utsname.h:5,
  2752.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  2753.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-procfs.c:15:
  2754.    include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  2755.    include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2756.               cnts, cnts | _QW_LOCKED) == cnts);
  2757.                                        ^
  2758.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2759.     # define likely(x) __builtin_expect(!!(x), 1)
  2760.                                            ^
  2761.    In file included from include/uapi/linux/stddef.h:1:0,
  2762.                     from include/linux/stddef.h:4,
  2763.                     from ./include/uapi/linux/posix_types.h:4,
  2764.                     from include/uapi/linux/types.h:13,
  2765.                     from include/linux/types.h:5,
  2766.                     from include/uapi/linux/capability.h:16,
  2767.                     from include/linux/capability.h:15,
  2768.                     from include/linux/sched.h:15,
  2769.                     from include/linux/utsname.h:5,
  2770.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  2771.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-usermap.c:15:
  2772.    include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  2773.    include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2774.               cnts, cnts | _QW_LOCKED) == cnts);
  2775.                                        ^
  2776.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2777.     # define likely(x) __builtin_expect(!!(x), 1)
  2778.                                            ^
  2779.    In file included from ./arch/x86/include/asm/preempt.h:5:0,
  2780.                     from include/linux/preempt.h:59,
  2781.                     from include/linux/spinlock.h:50,
  2782.                     from include/linux/seqlock.h:35,
  2783.                     from include/linux/time.h:5,
  2784.                     from include/uapi/linux/timex.h:56,
  2785.                     from include/linux/timex.h:56,
  2786.                     from include/linux/sched.h:19,
  2787.                     from include/linux/utsname.h:5,
  2788.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  2789.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-procfs.c:15:
  2790.    include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  2791.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2792.              ((val) == 1 || (val) == -1)) ?  \
  2793.                                   ^
  2794.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2795.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2796.                                      ^
  2797.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  2798.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  2799.               ^
  2800.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2801.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2802.                                     ^
  2803.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2804.       this_cpu_add(*percpu_count, nr);
  2805.       ^
  2806.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2807.              ((val) == 1 || (val) == -1)) ?  \
  2808.                                   ^
  2809.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2810.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2811.                                      ^
  2812.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  2813.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  2814.               ^
  2815.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2816.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2817.                                     ^
  2818.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2819.       this_cpu_add(*percpu_count, nr);
  2820.       ^
  2821.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2822.              ((val) == 1 || (val) == -1)) ?  \
  2823.                                   ^
  2824.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2825.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2826.                                      ^
  2827.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  2828.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  2829.               ^
  2830.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2831.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2832.                                     ^
  2833.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2834.       this_cpu_add(*percpu_count, nr);
  2835.       ^
  2836.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2837.              ((val) == 1 || (val) == -1)) ?  \
  2838.                                   ^
  2839.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2840.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  2841.                                       ^
  2842.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  2843.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  2844.               ^
  2845.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2846.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2847.                                     ^
  2848.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2849.       this_cpu_add(*percpu_count, nr);
  2850.       ^
  2851.    include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  2852.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2853.              ((val) == 1 || (val) == -1)) ?  \
  2854.                                   ^
  2855.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2856.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2857.                                      ^
  2858.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  2859.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  2860.               ^
  2861.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2862.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2863.                                     ^
  2864.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2865.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2866.                                     ^
  2867.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2868.       this_cpu_sub(*percpu_count, nr);
  2869.       ^
  2870.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2871.              ((val) == 1 || (val) == -1)) ?  \
  2872.                                   ^
  2873.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2874.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2875.                                      ^
  2876.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  2877.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  2878.               ^
  2879.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2880.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2881.                                     ^
  2882.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2883.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2884.                                     ^
  2885.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2886.       this_cpu_sub(*percpu_count, nr);
  2887.       ^
  2888.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2889.              ((val) == 1 || (val) == -1)) ?  \
  2890.                                   ^
  2891.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2892.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2893.                                      ^
  2894.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  2895.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  2896.               ^
  2897.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2898.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2899.                                     ^
  2900.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2901.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2902.                                     ^
  2903.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2904.       this_cpu_sub(*percpu_count, nr);
  2905.       ^
  2906.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2907.              ((val) == 1 || (val) == -1)) ?  \
  2908.                                   ^
  2909.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2910.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  2911.                                       ^
  2912.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  2913.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  2914.               ^
  2915.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2916.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2917.                                     ^
  2918.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  2919.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  2920.                                     ^
  2921.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2922.       this_cpu_sub(*percpu_count, nr);
  2923.       ^
  2924.    In file included from ./arch/x86/include/asm/preempt.h:5:0,
  2925.                     from include/linux/preempt.h:59,
  2926.                     from include/linux/spinlock.h:50,
  2927.                     from include/linux/seqlock.h:35,
  2928.                     from include/linux/time.h:5,
  2929.                     from include/uapi/linux/timex.h:56,
  2930.                     from include/linux/timex.h:56,
  2931.                     from include/linux/sched.h:19,
  2932.                     from include/linux/utsname.h:5,
  2933.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  2934.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-usermap.c:15:
  2935.    include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  2936.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2937.              ((val) == 1 || (val) == -1)) ?  \
  2938.                                   ^
  2939.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2940.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2941.                                      ^
  2942.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  2943.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  2944.               ^
  2945.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2946.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2947.                                     ^
  2948.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2949.       this_cpu_add(*percpu_count, nr);
  2950.       ^
  2951.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2952.              ((val) == 1 || (val) == -1)) ?  \
  2953.                                   ^
  2954.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2955.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2956.                                      ^
  2957.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  2958.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  2959.               ^
  2960.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2961.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2962.                                     ^
  2963.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2964.       this_cpu_add(*percpu_count, nr);
  2965.       ^
  2966.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2967.              ((val) == 1 || (val) == -1)) ?  \
  2968.                                   ^
  2969.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2970.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2971.                                      ^
  2972.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  2973.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  2974.               ^
  2975.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2976.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2977.                                     ^
  2978.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2979.       this_cpu_add(*percpu_count, nr);
  2980.       ^
  2981.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2982.              ((val) == 1 || (val) == -1)) ?  \
  2983.                                   ^
  2984.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2985.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  2986.                                       ^
  2987.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  2988.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  2989.               ^
  2990.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  2991.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  2992.                                     ^
  2993.    include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2994.       this_cpu_add(*percpu_count, nr);
  2995.       ^
  2996.    include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  2997.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  2998.              ((val) == 1 || (val) == -1)) ?  \
  2999.                                   ^
  3000.    ./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  3001.     #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  3002.                                      ^
  3003.    include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  3004.       case 1: stem##1(variable, __VA_ARGS__);break;  \
  3005.               ^
  3006.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  3007.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  3008.                                     ^
  3009.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  3010.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  3011.                                     ^
  3012.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3013.       this_cpu_sub(*percpu_count, nr);
  3014.       ^
  3015.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  3016.              ((val) == 1 || (val) == -1)) ?  \
  3017.                                   ^
  3018.    ./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  3019.     #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  3020.                                      ^
  3021.    include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  3022.       case 2: stem##2(variable, __VA_ARGS__);break;  \
  3023.               ^
  3024.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  3025.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  3026.                                     ^
  3027.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  3028.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  3029.                                     ^
  3030.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3031.       this_cpu_sub(*percpu_count, nr);
  3032.       ^
  3033.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  3034.              ((val) == 1 || (val) == -1)) ?  \
  3035.                                   ^
  3036.    ./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  3037.     #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  3038.                                      ^
  3039.    include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  3040.       case 4: stem##4(variable, __VA_ARGS__);break;  \
  3041.               ^
  3042.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  3043.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  3044.                                     ^
  3045.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  3046.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  3047.                                     ^
  3048.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3049.       this_cpu_sub(*percpu_count, nr);
  3050.       ^
  3051.    ./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  3052.              ((val) == 1 || (val) == -1)) ?  \
  3053.                                   ^
  3054.    ./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  3055.     #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
  3056.                                       ^
  3057.    include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  3058.       case 8: stem##8(variable, __VA_ARGS__);break;  \
  3059.               ^
  3060.    include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  3061.     #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
  3062.                                     ^
  3063.    include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  3064.     #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
  3065.                                     ^
  3066.    include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3067.       this_cpu_sub(*percpu_count, nr);
  3068.       ^
  3069.    In file included from include/uapi/linux/stddef.h:1:0,
  3070.                     from include/linux/stddef.h:4,
  3071.                     from ./include/uapi/linux/posix_types.h:4,
  3072.                     from include/uapi/linux/types.h:13,
  3073.                     from include/linux/types.h:5,
  3074.                     from include/uapi/linux/capability.h:16,
  3075.                     from include/linux/capability.h:15,
  3076.                     from include/linux/sched.h:15,
  3077.                     from include/linux/utsname.h:5,
  3078.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  3079.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-procfs.c:15:
  3080.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  3081.    ./arch/x86/include/asm/uaccess.h:721:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  3082.      if (likely(sz < 0 || sz >= n))
  3083.                              ^
  3084.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  3085.     # define likely(x) __builtin_expect(!!(x), 1)
  3086.                                            ^
  3087.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  3088.    ./arch/x86/include/asm/uaccess.h:739:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  3089.      if (likely(sz < 0 || sz >= n))
  3090.                              ^
  3091.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  3092.     # define likely(x) __builtin_expect(!!(x), 1)
  3093.                                            ^
  3094.    In file included from include/uapi/linux/stddef.h:1:0,
  3095.                     from include/linux/stddef.h:4,
  3096.                     from ./include/uapi/linux/posix_types.h:4,
  3097.                     from include/uapi/linux/types.h:13,
  3098.                     from include/linux/types.h:5,
  3099.                     from include/uapi/linux/capability.h:16,
  3100.                     from include/linux/capability.h:15,
  3101.                     from include/linux/sched.h:15,
  3102.                     from include/linux/utsname.h:5,
  3103.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-linux.h:40,
  3104.                     from /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-usermap.c:15:
  3105.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  3106.    ./arch/x86/include/asm/uaccess.h:721:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  3107.      if (likely(sz < 0 || sz >= n))
  3108.                              ^
  3109.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  3110.     # define likely(x) __builtin_expect(!!(x), 1)
  3111.                                            ^
  3112.    ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  3113.    ./arch/x86/include/asm/uaccess.h:739:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  3114.      if (likely(sz < 0 || sz >= n))
  3115.                              ^
  3116.    include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  3117.     # define likely(x) __builtin_expect(!!(x), 1)
  3118.                                            ^
  3119.    /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-procfs.c: In function ‘nv_procfs_read_registry’:
  3120.    /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-procfs.c:361:5: error: void value not ignored as it ought to be
  3121.         return seq_printf(s, "Binary: \"%s\"\n", registry_keys);
  3122.         ^
  3123.    /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-procfs.c: In function ‘nv_procfs_read_text_file’:
  3124.    /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-procfs.c:561:5: error: void value not ignored as it ought to be
  3125.         return seq_puts(s, s->private);
  3126.         ^
  3127.    /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-procfs.c:562:1: warning: control reaches end of non-void function [-Wreturn-type]
  3128.     }
  3129.     ^
  3130.    /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-procfs.c: In function ‘nv_procfs_read_registry’:
  3131.    /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-procfs.c:362:1: warning: control reaches end of non-void function [-Wreturn-type]
  3132.     }
  3133.     ^
  3134.    make[2]: *** [/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-procfs.o] Error 1
  3135.    make[2]: *** Waiting for unfinished jobs....
  3136.      if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-usermap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel/nv-usermap.o"; fi; fi;
  3137.    make[1]: *** [_module_/tmp/selfgz3643/NVIDIA-Linux-x86_64-352.39/kernel] Error 2
  3138.    make[1]: Leaving directory `/usr/src/linux-headers-4.4.0-47-generic'
  3139.   NVIDIA: left KBUILD.
  3140.   nvidia.ko failed to build!
  3141.   make: *** [module] Error 1
  3142. -> Error.
  3143. ERROR: Unable to build the NVIDIA kernel module.
  3144. 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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement