Advertisement
Guest User

Untitled

a guest
Jun 27th, 2016
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 160.04 KB | None | 0 0
  1. nvidia-installer log file '/var/log/nvidia-installer.log'
  2. creation time: Mon Jun 27 18:10:47 2016
  3. installer version: 304.131
  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.  
  10. Using: nvidia-installer ncurses user interface
  11. -> License accepted.
  12. -> Installing NVIDIA driver version 304.131.
  13. -> Performing CC sanity check with CC="cc".
  14. -> Performing CC version check with CC="cc".
  15. -> Kernel source path: '/lib/modules/4.6.0-1-amd64/source'
  16. -> Kernel output path: '/lib/modules/4.6.0-1-amd64/build'
  17. -> Performing rivafb check.
  18. -> Performing nvidiafb check.
  19. -> Performing Xen check.
  20. -> Cleaning kernel module build directory.
  21. executing: 'cd ./kernel; make clean'...
  22. -> Building kernel module:
  23. executing: 'cd ./kernel; make module SYSSRC=/lib/modules/4.6.0-1-amd64/source SYSOUT=/lib/modules/4.6.0-1-amd64/build'...
  24. NVIDIA: calling KBUILD...
  25. make -C /lib/modules/4.6.0-1-amd64/build KBUILD_SRC=/usr/src/linux-headers-4.6.0-1-common \
  26. -f /usr/src/linux-headers-4.6.0-1-common/Makefile modules
  27. test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
  28. echo >&2; \
  29. echo >&2 " ERROR: Kernel configuration is invalid."; \
  30. echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
  31. echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
  32. echo >&2 ; \
  33. /bin/false)
  34. mkdir -p /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.tmp_versions ; rm -f /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.tmp_versions/*
  35. make -f /usr/src/linux-headers-4.6.0-1-common/scripts/Makefile.build obj=/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel
  36. cc -Wp,-MD,/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/src/linux-headers-4.6.0-1-common/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-headers-4.6.0-1-common/include -Iinclude -I/usr/src/linux-headers-4.6.0-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-4.6.0-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-4.6.0-1-common/include/linux/kconfig.h -I/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_
  37. SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -I/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.131\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.tmp_nv.o /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv.c
  38. In file included from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/stddef.h:1:0,
  39. from /usr/src/linux-headers-4.6.0-1-common/include/linux/stddef.h:4,
  40. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/posix_types.h:4,
  41. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/types.h:13,
  42. from /usr/src/linux-headers-4.6.0-1-common/include/linux/types.h:5,
  43. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/capability.h:16,
  44. from /usr/src/linux-headers-4.6.0-1-common/include/linux/capability.h:15,
  45. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:15,
  46. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  47. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  48. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv.c:13:
  49. /usr/src/linux-headers-4.6.0-1-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  50. /usr/src/linux-headers-4.6.0-1-common/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  51. cnts, cnts | _QW_LOCKED) == cnts);
  52. ^
  53. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  54. # define likely(x) __builtin_expect(!!(x), 1)
  55. ^
  56. In file included from /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/preempt.h:5:0,
  57. from /usr/src/linux-headers-4.6.0-1-common/include/linux/preempt.h:59,
  58. from /usr/src/linux-headers-4.6.0-1-common/include/linux/spinlock.h:50,
  59. from /usr/src/linux-headers-4.6.0-1-common/include/linux/seqlock.h:35,
  60. from /usr/src/linux-headers-4.6.0-1-common/include/linux/time.h:5,
  61. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/timex.h:56,
  62. from /usr/src/linux-headers-4.6.0-1-common/include/linux/timex.h:56,
  63. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:19,
  64. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  65. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  66. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv.c:13:
  67. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  68. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  69. ((val) == 1 || (val) == -1)) ? \
  70. ^
  71. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  72. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  73. ^
  74. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  75. case 1: stem##1(variable, __VA_ARGS__);break; \
  76. ^
  77. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  78. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  79. ^
  80. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  81. this_cpu_add(*percpu_count, nr);
  82. ^
  83. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  84. ((val) == 1 || (val) == -1)) ? \
  85. ^
  86. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  87. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  88. ^
  89. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  90. case 2: stem##2(variable, __VA_ARGS__);break; \
  91. ^
  92. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  93. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  94. ^
  95. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  96. this_cpu_add(*percpu_count, nr);
  97. ^
  98. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  99. ((val) == 1 || (val) == -1)) ? \
  100. ^
  101. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  102. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  103. ^
  104. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  105. case 4: stem##4(variable, __VA_ARGS__);break; \
  106. ^
  107. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  108. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  109. ^
  110. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  111. this_cpu_add(*percpu_count, nr);
  112. ^
  113. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  114. ((val) == 1 || (val) == -1)) ? \
  115. ^
  116. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  117. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  118. ^
  119. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  120. case 8: stem##8(variable, __VA_ARGS__);break; \
  121. ^
  122. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  123. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  124. ^
  125. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  126. this_cpu_add(*percpu_count, nr);
  127. ^
  128. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  129. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  130. ((val) == 1 || (val) == -1)) ? \
  131. ^
  132. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  133. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  134. ^
  135. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  136. case 1: stem##1(variable, __VA_ARGS__);break; \
  137. ^
  138. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  139. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  140. ^
  141. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  142. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  143. ^
  144. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  145. this_cpu_sub(*percpu_count, nr);
  146. ^
  147. /usr/src/linux-headers-4.6.0-1-common/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. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  151. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  152. ^
  153. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  154. case 2: stem##2(variable, __VA_ARGS__);break; \
  155. ^
  156. /usr/src/linux-headers-4.6.0-1-common/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. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  160. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  161. ^
  162. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  163. this_cpu_sub(*percpu_count, nr);
  164. ^
  165. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  166. ((val) == 1 || (val) == -1)) ? \
  167. ^
  168. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  169. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  170. ^
  171. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  172. case 4: stem##4(variable, __VA_ARGS__);break; \
  173. ^
  174. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  175. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  176. ^
  177. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  178. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  179. ^
  180. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  181. this_cpu_sub(*percpu_count, nr);
  182. ^
  183. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  184. ((val) == 1 || (val) == -1)) ? \
  185. ^
  186. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  187. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  188. ^
  189. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  190. case 8: stem##8(variable, __VA_ARGS__);break; \
  191. ^
  192. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  193. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  194. ^
  195. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  196. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  197. ^
  198. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  199. this_cpu_sub(*percpu_count, nr);
  200. ^
  201. In file included from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/stddef.h:1:0,
  202. from /usr/src/linux-headers-4.6.0-1-common/include/linux/stddef.h:4,
  203. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/posix_types.h:4,
  204. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/types.h:13,
  205. from /usr/src/linux-headers-4.6.0-1-common/include/linux/types.h:5,
  206. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/capability.h:16,
  207. from /usr/src/linux-headers-4.6.0-1-common/include/linux/capability.h:15,
  208. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:15,
  209. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  210. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  211. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv.c:13:
  212. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  213. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  214. if (likely(sz < 0 || sz >= n))
  215. ^
  216. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  217. # define likely(x) __builtin_expect(!!(x), 1)
  218. ^
  219. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  220. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  221. if (likely(sz < 0 || sz >= n))
  222. ^
  223. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  224. # define likely(x) __builtin_expect(!!(x), 1)
  225. ^
  226. if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv.o"; fi; fi;
  227. cc -Wp,-MD,/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/src/linux-headers-4.6.0-1-common/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-headers-4.6.0-1-common/include -Iinclude -I/usr/src/linux-headers-4.6.0-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-4.6.0-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-4.6.0-1-common/include/linux/kconfig.h -I/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SE
  228. CTIONS=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 -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -I/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.131\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz13703/NV
  229. IDIA-Linux-x86_64-304.131/kernel/.tmp_nv-acpi.o /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-acpi.c
  230. In file included from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/stddef.h:1:0,
  231. from /usr/src/linux-headers-4.6.0-1-common/include/linux/stddef.h:4,
  232. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/posix_types.h:4,
  233. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/types.h:13,
  234. from /usr/src/linux-headers-4.6.0-1-common/include/linux/types.h:5,
  235. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/capability.h:16,
  236. from /usr/src/linux-headers-4.6.0-1-common/include/linux/capability.h:15,
  237. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:15,
  238. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  239. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  240. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-acpi.c:15:
  241. /usr/src/linux-headers-4.6.0-1-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  242. /usr/src/linux-headers-4.6.0-1-common/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  243. cnts, cnts | _QW_LOCKED) == cnts);
  244. ^
  245. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  246. # define likely(x) __builtin_expect(!!(x), 1)
  247. ^
  248. In file included from /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/preempt.h:5:0,
  249. from /usr/src/linux-headers-4.6.0-1-common/include/linux/preempt.h:59,
  250. from /usr/src/linux-headers-4.6.0-1-common/include/linux/spinlock.h:50,
  251. from /usr/src/linux-headers-4.6.0-1-common/include/linux/seqlock.h:35,
  252. from /usr/src/linux-headers-4.6.0-1-common/include/linux/time.h:5,
  253. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/timex.h:56,
  254. from /usr/src/linux-headers-4.6.0-1-common/include/linux/timex.h:56,
  255. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:19,
  256. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  257. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  258. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-acpi.c:15:
  259. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  260. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  261. ((val) == 1 || (val) == -1)) ? \
  262. ^
  263. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  264. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  265. ^
  266. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  267. case 1: stem##1(variable, __VA_ARGS__);break; \
  268. ^
  269. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  270. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  271. ^
  272. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  273. this_cpu_add(*percpu_count, nr);
  274. ^
  275. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  276. ((val) == 1 || (val) == -1)) ? \
  277. ^
  278. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  279. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  280. ^
  281. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  282. case 2: stem##2(variable, __VA_ARGS__);break; \
  283. ^
  284. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  285. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  286. ^
  287. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  288. this_cpu_add(*percpu_count, nr);
  289. ^
  290. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  291. ((val) == 1 || (val) == -1)) ? \
  292. ^
  293. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  294. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  295. ^
  296. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  297. case 4: stem##4(variable, __VA_ARGS__);break; \
  298. ^
  299. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  300. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  301. ^
  302. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  303. this_cpu_add(*percpu_count, nr);
  304. ^
  305. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  306. ((val) == 1 || (val) == -1)) ? \
  307. ^
  308. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  309. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  310. ^
  311. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  312. case 8: stem##8(variable, __VA_ARGS__);break; \
  313. ^
  314. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  315. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  316. ^
  317. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  318. this_cpu_add(*percpu_count, nr);
  319. ^
  320. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  321. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  322. ((val) == 1 || (val) == -1)) ? \
  323. ^
  324. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  325. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  326. ^
  327. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  328. case 1: stem##1(variable, __VA_ARGS__);break; \
  329. ^
  330. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  331. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  332. ^
  333. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  334. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  335. ^
  336. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  337. this_cpu_sub(*percpu_count, nr);
  338. ^
  339. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  340. ((val) == 1 || (val) == -1)) ? \
  341. ^
  342. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  343. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  344. ^
  345. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  346. case 2: stem##2(variable, __VA_ARGS__);break; \
  347. ^
  348. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  349. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  350. ^
  351. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  352. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  353. ^
  354. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  355. this_cpu_sub(*percpu_count, nr);
  356. ^
  357. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  358. ((val) == 1 || (val) == -1)) ? \
  359. ^
  360. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  361. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  362. ^
  363. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  364. case 4: stem##4(variable, __VA_ARGS__);break; \
  365. ^
  366. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  367. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  368. ^
  369. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  370. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  371. ^
  372. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  373. this_cpu_sub(*percpu_count, nr);
  374. ^
  375. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  376. ((val) == 1 || (val) == -1)) ? \
  377. ^
  378. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  379. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  380. ^
  381. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  382. case 8: stem##8(variable, __VA_ARGS__);break; \
  383. ^
  384. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  385. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  386. ^
  387. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  388. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  389. ^
  390. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  391. this_cpu_sub(*percpu_count, nr);
  392. ^
  393. In file included from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/stddef.h:1:0,
  394. from /usr/src/linux-headers-4.6.0-1-common/include/linux/stddef.h:4,
  395. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/posix_types.h:4,
  396. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/types.h:13,
  397. from /usr/src/linux-headers-4.6.0-1-common/include/linux/types.h:5,
  398. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/capability.h:16,
  399. from /usr/src/linux-headers-4.6.0-1-common/include/linux/capability.h:15,
  400. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:15,
  401. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  402. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  403. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-acpi.c:15:
  404. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  405. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  406. if (likely(sz < 0 || sz >= n))
  407. ^
  408. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  409. # define likely(x) __builtin_expect(!!(x), 1)
  410. ^
  411. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  412. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  413. if (likely(sz < 0 || sz >= n))
  414. ^
  415. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  416. # define likely(x) __builtin_expect(!!(x), 1)
  417. ^
  418. if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-acpi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-acpi.o"; fi; fi;
  419. cc -Wp,-MD,/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/src/linux-headers-4.6.0-1-common/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-headers-4.6.0-1-common/include -Iinclude -I/usr/src/linux-headers-4.6.0-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-4.6.0-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-4.6.0-1-common/include/linux/kconfig.h -I/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic
  420. -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 -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -I/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.131\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel
  421. -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_chrdev)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.tmp_nv-chrdev.o /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-chrdev.c
  422. In file included from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/stddef.h:1:0,
  423. from /usr/src/linux-headers-4.6.0-1-common/include/linux/stddef.h:4,
  424. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/posix_types.h:4,
  425. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/types.h:13,
  426. from /usr/src/linux-headers-4.6.0-1-common/include/linux/types.h:5,
  427. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/capability.h:16,
  428. from /usr/src/linux-headers-4.6.0-1-common/include/linux/capability.h:15,
  429. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:15,
  430. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  431. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  432. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-chrdev.c:15:
  433. /usr/src/linux-headers-4.6.0-1-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  434. /usr/src/linux-headers-4.6.0-1-common/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  435. cnts, cnts | _QW_LOCKED) == cnts);
  436. ^
  437. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  438. # define likely(x) __builtin_expect(!!(x), 1)
  439. ^
  440. In file included from /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/preempt.h:5:0,
  441. from /usr/src/linux-headers-4.6.0-1-common/include/linux/preempt.h:59,
  442. from /usr/src/linux-headers-4.6.0-1-common/include/linux/spinlock.h:50,
  443. from /usr/src/linux-headers-4.6.0-1-common/include/linux/seqlock.h:35,
  444. from /usr/src/linux-headers-4.6.0-1-common/include/linux/time.h:5,
  445. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/timex.h:56,
  446. from /usr/src/linux-headers-4.6.0-1-common/include/linux/timex.h:56,
  447. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:19,
  448. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  449. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  450. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-chrdev.c:15:
  451. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  452. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  453. ((val) == 1 || (val) == -1)) ? \
  454. ^
  455. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  456. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  457. ^
  458. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  459. case 1: stem##1(variable, __VA_ARGS__);break; \
  460. ^
  461. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  462. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  463. ^
  464. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  465. this_cpu_add(*percpu_count, nr);
  466. ^
  467. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  468. ((val) == 1 || (val) == -1)) ? \
  469. ^
  470. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  471. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  472. ^
  473. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  474. case 2: stem##2(variable, __VA_ARGS__);break; \
  475. ^
  476. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  477. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  478. ^
  479. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  480. this_cpu_add(*percpu_count, nr);
  481. ^
  482. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  483. ((val) == 1 || (val) == -1)) ? \
  484. ^
  485. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  486. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  487. ^
  488. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  489. case 4: stem##4(variable, __VA_ARGS__);break; \
  490. ^
  491. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  492. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  493. ^
  494. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  495. this_cpu_add(*percpu_count, nr);
  496. ^
  497. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  498. ((val) == 1 || (val) == -1)) ? \
  499. ^
  500. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  501. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  502. ^
  503. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  504. case 8: stem##8(variable, __VA_ARGS__);break; \
  505. ^
  506. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  507. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  508. ^
  509. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  510. this_cpu_add(*percpu_count, nr);
  511. ^
  512. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  513. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  514. ((val) == 1 || (val) == -1)) ? \
  515. ^
  516. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  517. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  518. ^
  519. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  520. case 1: stem##1(variable, __VA_ARGS__);break; \
  521. ^
  522. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  523. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  524. ^
  525. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  526. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  527. ^
  528. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  529. this_cpu_sub(*percpu_count, nr);
  530. ^
  531. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  532. ((val) == 1 || (val) == -1)) ? \
  533. ^
  534. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  535. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  536. ^
  537. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  538. case 2: stem##2(variable, __VA_ARGS__);break; \
  539. ^
  540. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  541. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  542. ^
  543. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  544. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  545. ^
  546. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  547. this_cpu_sub(*percpu_count, nr);
  548. ^
  549. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  550. ((val) == 1 || (val) == -1)) ? \
  551. ^
  552. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  553. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  554. ^
  555. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  556. case 4: stem##4(variable, __VA_ARGS__);break; \
  557. ^
  558. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  559. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  560. ^
  561. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  562. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  563. ^
  564. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  565. this_cpu_sub(*percpu_count, nr);
  566. ^
  567. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  568. ((val) == 1 || (val) == -1)) ? \
  569. ^
  570. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  571. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  572. ^
  573. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  574. case 8: stem##8(variable, __VA_ARGS__);break; \
  575. ^
  576. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  577. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  578. ^
  579. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  580. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  581. ^
  582. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  583. this_cpu_sub(*percpu_count, nr);
  584. ^
  585. In file included from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/stddef.h:1:0,
  586. from /usr/src/linux-headers-4.6.0-1-common/include/linux/stddef.h:4,
  587. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/posix_types.h:4,
  588. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/types.h:13,
  589. from /usr/src/linux-headers-4.6.0-1-common/include/linux/types.h:5,
  590. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/capability.h:16,
  591. from /usr/src/linux-headers-4.6.0-1-common/include/linux/capability.h:15,
  592. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:15,
  593. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  594. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  595. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-chrdev.c:15:
  596. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  597. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  598. if (likely(sz < 0 || sz >= n))
  599. ^
  600. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  601. # define likely(x) __builtin_expect(!!(x), 1)
  602. ^
  603. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  604. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  605. if (likely(sz < 0 || sz >= n))
  606. ^
  607. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  608. # define likely(x) __builtin_expect(!!(x), 1)
  609. ^
  610. if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-chrdev.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-chrdev.o"; fi; fi;
  611. cc -Wp,-MD,/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/src/linux-headers-4.6.0-1-common/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-headers-4.6.0-1-common/include -Iinclude -I/usr/src/linux-headers-4.6.0-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-4.6.0-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-4.6.0-1-common/include/linux/kconfig.h -I/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89
  612. -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -I/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel -Wa
  613. ll -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.131\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_cray)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.tmp_nv-cray.o /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-cray.c
  614. In file included from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/stddef.h:1:0,
  615. from /usr/src/linux-headers-4.6.0-1-common/include/linux/stddef.h:4,
  616. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/posix_types.h:4,
  617. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/types.h:13,
  618. from /usr/src/linux-headers-4.6.0-1-common/include/linux/types.h:5,
  619. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/capability.h:16,
  620. from /usr/src/linux-headers-4.6.0-1-common/include/linux/capability.h:15,
  621. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:15,
  622. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  623. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  624. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-cray.c:15:
  625. /usr/src/linux-headers-4.6.0-1-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  626. /usr/src/linux-headers-4.6.0-1-common/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  627. cnts, cnts | _QW_LOCKED) == cnts);
  628. ^
  629. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  630. # define likely(x) __builtin_expect(!!(x), 1)
  631. ^
  632. In file included from /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/preempt.h:5:0,
  633. from /usr/src/linux-headers-4.6.0-1-common/include/linux/preempt.h:59,
  634. from /usr/src/linux-headers-4.6.0-1-common/include/linux/spinlock.h:50,
  635. from /usr/src/linux-headers-4.6.0-1-common/include/linux/seqlock.h:35,
  636. from /usr/src/linux-headers-4.6.0-1-common/include/linux/time.h:5,
  637. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/timex.h:56,
  638. from /usr/src/linux-headers-4.6.0-1-common/include/linux/timex.h:56,
  639. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:19,
  640. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  641. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  642. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-cray.c:15:
  643. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  644. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  645. ((val) == 1 || (val) == -1)) ? \
  646. ^
  647. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  648. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  649. ^
  650. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  651. case 1: stem##1(variable, __VA_ARGS__);break; \
  652. ^
  653. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  654. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  655. ^
  656. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  657. this_cpu_add(*percpu_count, nr);
  658. ^
  659. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  660. ((val) == 1 || (val) == -1)) ? \
  661. ^
  662. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  663. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  664. ^
  665. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  666. case 2: stem##2(variable, __VA_ARGS__);break; \
  667. ^
  668. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  669. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  670. ^
  671. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  672. this_cpu_add(*percpu_count, nr);
  673. ^
  674. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  675. ((val) == 1 || (val) == -1)) ? \
  676. ^
  677. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  678. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  679. ^
  680. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  681. case 4: stem##4(variable, __VA_ARGS__);break; \
  682. ^
  683. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  684. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  685. ^
  686. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  687. this_cpu_add(*percpu_count, nr);
  688. ^
  689. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  690. ((val) == 1 || (val) == -1)) ? \
  691. ^
  692. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  693. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  694. ^
  695. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  696. case 8: stem##8(variable, __VA_ARGS__);break; \
  697. ^
  698. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  699. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  700. ^
  701. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  702. this_cpu_add(*percpu_count, nr);
  703. ^
  704. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  705. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  706. ((val) == 1 || (val) == -1)) ? \
  707. ^
  708. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  709. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  710. ^
  711. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  712. case 1: stem##1(variable, __VA_ARGS__);break; \
  713. ^
  714. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  715. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  716. ^
  717. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  718. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  719. ^
  720. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  721. this_cpu_sub(*percpu_count, nr);
  722. ^
  723. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  724. ((val) == 1 || (val) == -1)) ? \
  725. ^
  726. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  727. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  728. ^
  729. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  730. case 2: stem##2(variable, __VA_ARGS__);break; \
  731. ^
  732. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  733. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  734. ^
  735. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  736. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  737. ^
  738. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  739. this_cpu_sub(*percpu_count, nr);
  740. ^
  741. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  742. ((val) == 1 || (val) == -1)) ? \
  743. ^
  744. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  745. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  746. ^
  747. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  748. case 4: stem##4(variable, __VA_ARGS__);break; \
  749. ^
  750. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  751. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  752. ^
  753. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  754. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  755. ^
  756. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  757. this_cpu_sub(*percpu_count, nr);
  758. ^
  759. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  760. ((val) == 1 || (val) == -1)) ? \
  761. ^
  762. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  763. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  764. ^
  765. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  766. case 8: stem##8(variable, __VA_ARGS__);break; \
  767. ^
  768. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  769. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  770. ^
  771. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  772. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  773. ^
  774. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  775. this_cpu_sub(*percpu_count, nr);
  776. ^
  777. In file included from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/stddef.h:1:0,
  778. from /usr/src/linux-headers-4.6.0-1-common/include/linux/stddef.h:4,
  779. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/posix_types.h:4,
  780. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/types.h:13,
  781. from /usr/src/linux-headers-4.6.0-1-common/include/linux/types.h:5,
  782. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/capability.h:16,
  783. from /usr/src/linux-headers-4.6.0-1-common/include/linux/capability.h:15,
  784. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:15,
  785. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  786. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  787. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-cray.c:15:
  788. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  789. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  790. if (likely(sz < 0 || sz >= n))
  791. ^
  792. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  793. # define likely(x) __builtin_expect(!!(x), 1)
  794. ^
  795. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  796. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  797. if (likely(sz < 0 || sz >= n))
  798. ^
  799. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  800. # define likely(x) __builtin_expect(!!(x), 1)
  801. ^
  802. if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-cray.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-cray.o"; fi; fi;
  803. cc -Wp,-MD,/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/src/linux-headers-4.6.0-1-common/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-headers-4.6.0-1-common/include -Iinclude -I/usr/src/linux-headers-4.6.0-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-4.6.0-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-4.6.0-1-common/include/linux/kconfig.h -I/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel -D__KE
  804. RNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-in
  805. t -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -I/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.131\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_drm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.tmp_nv-drm.o /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-drm.c
  806. In file included from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/stddef.h:1:0,
  807. from /usr/src/linux-headers-4.6.0-1-common/include/linux/stddef.h:4,
  808. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/posix_types.h:4,
  809. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/types.h:13,
  810. from /usr/src/linux-headers-4.6.0-1-common/include/linux/types.h:5,
  811. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/capability.h:16,
  812. from /usr/src/linux-headers-4.6.0-1-common/include/linux/capability.h:15,
  813. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:15,
  814. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  815. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  816. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-drm.c:15:
  817. /usr/src/linux-headers-4.6.0-1-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  818. /usr/src/linux-headers-4.6.0-1-common/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  819. cnts, cnts | _QW_LOCKED) == cnts);
  820. ^
  821. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  822. # define likely(x) __builtin_expect(!!(x), 1)
  823. ^
  824. In file included from /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/preempt.h:5:0,
  825. from /usr/src/linux-headers-4.6.0-1-common/include/linux/preempt.h:59,
  826. from /usr/src/linux-headers-4.6.0-1-common/include/linux/spinlock.h:50,
  827. from /usr/src/linux-headers-4.6.0-1-common/include/linux/seqlock.h:35,
  828. from /usr/src/linux-headers-4.6.0-1-common/include/linux/time.h:5,
  829. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/timex.h:56,
  830. from /usr/src/linux-headers-4.6.0-1-common/include/linux/timex.h:56,
  831. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:19,
  832. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  833. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  834. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-drm.c:15:
  835. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  836. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  837. ((val) == 1 || (val) == -1)) ? \
  838. ^
  839. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  840. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  841. ^
  842. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  843. case 1: stem##1(variable, __VA_ARGS__);break; \
  844. ^
  845. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  846. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  847. ^
  848. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  849. this_cpu_add(*percpu_count, nr);
  850. ^
  851. /usr/src/linux-headers-4.6.0-1-common/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. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  855. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  856. ^
  857. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  858. case 2: stem##2(variable, __VA_ARGS__);break; \
  859. ^
  860. /usr/src/linux-headers-4.6.0-1-common/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. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  864. this_cpu_add(*percpu_count, nr);
  865. ^
  866. /usr/src/linux-headers-4.6.0-1-common/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. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  870. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  871. ^
  872. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  873. case 4: stem##4(variable, __VA_ARGS__);break; \
  874. ^
  875. /usr/src/linux-headers-4.6.0-1-common/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. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  879. this_cpu_add(*percpu_count, nr);
  880. ^
  881. /usr/src/linux-headers-4.6.0-1-common/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. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  885. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  886. ^
  887. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  888. case 8: stem##8(variable, __VA_ARGS__);break; \
  889. ^
  890. /usr/src/linux-headers-4.6.0-1-common/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. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  894. this_cpu_add(*percpu_count, nr);
  895. ^
  896. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  897. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  898. ((val) == 1 || (val) == -1)) ? \
  899. ^
  900. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  901. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  902. ^
  903. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  904. case 1: stem##1(variable, __VA_ARGS__);break; \
  905. ^
  906. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  907. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  908. ^
  909. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  910. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  911. ^
  912. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  913. this_cpu_sub(*percpu_count, nr);
  914. ^
  915. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  916. ((val) == 1 || (val) == -1)) ? \
  917. ^
  918. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  919. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  920. ^
  921. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  922. case 2: stem##2(variable, __VA_ARGS__);break; \
  923. ^
  924. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  925. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  926. ^
  927. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  928. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  929. ^
  930. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  931. this_cpu_sub(*percpu_count, nr);
  932. ^
  933. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  934. ((val) == 1 || (val) == -1)) ? \
  935. ^
  936. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  937. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  938. ^
  939. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  940. case 4: stem##4(variable, __VA_ARGS__);break; \
  941. ^
  942. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  943. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  944. ^
  945. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  946. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  947. ^
  948. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  949. this_cpu_sub(*percpu_count, nr);
  950. ^
  951. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  952. ((val) == 1 || (val) == -1)) ? \
  953. ^
  954. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  955. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  956. ^
  957. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  958. case 8: stem##8(variable, __VA_ARGS__);break; \
  959. ^
  960. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  961. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  962. ^
  963. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  964. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  965. ^
  966. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  967. this_cpu_sub(*percpu_count, nr);
  968. ^
  969. In file included from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/stddef.h:1:0,
  970. from /usr/src/linux-headers-4.6.0-1-common/include/linux/stddef.h:4,
  971. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/posix_types.h:4,
  972. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/types.h:13,
  973. from /usr/src/linux-headers-4.6.0-1-common/include/linux/types.h:5,
  974. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/capability.h:16,
  975. from /usr/src/linux-headers-4.6.0-1-common/include/linux/capability.h:15,
  976. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:15,
  977. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  978. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  979. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-drm.c:15:
  980. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  981. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  982. if (likely(sz < 0 || sz >= n))
  983. ^
  984. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  985. # define likely(x) __builtin_expect(!!(x), 1)
  986. ^
  987. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  988. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  989. if (likely(sz < 0 || sz >= n))
  990. ^
  991. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  992. # define likely(x) __builtin_expect(!!(x), 1)
  993. ^
  994. if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-drm.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-drm.o"; fi; fi;
  995. cc -Wp,-MD,/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/src/linux-headers-4.6.0-1-common/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-headers-4.6.0-1-common/include -Iinclude -I/usr/src/linux-headers-4.6.0-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-4.6.0-1-common/include/uapi -Iinclu
  996. de/generated/uapi -include /usr/src/linux-headers-4.6.0-1-common/include/linux/kconfig.h -I/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-var-tracking-
  997. assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -I/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.131\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.tmp_nv-gvi.o /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-gvi.c
  998. In file included from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/stddef.h:1:0,
  999. from /usr/src/linux-headers-4.6.0-1-common/include/linux/stddef.h:4,
  1000. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/posix_types.h:4,
  1001. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/types.h:13,
  1002. from /usr/src/linux-headers-4.6.0-1-common/include/linux/types.h:5,
  1003. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/capability.h:16,
  1004. from /usr/src/linux-headers-4.6.0-1-common/include/linux/capability.h:15,
  1005. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:15,
  1006. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  1007. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  1008. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-gvi.c:15:
  1009. /usr/src/linux-headers-4.6.0-1-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1010. /usr/src/linux-headers-4.6.0-1-common/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1011. cnts, cnts | _QW_LOCKED) == cnts);
  1012. ^
  1013. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  1014. # define likely(x) __builtin_expect(!!(x), 1)
  1015. ^
  1016. In file included from /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/preempt.h:5:0,
  1017. from /usr/src/linux-headers-4.6.0-1-common/include/linux/preempt.h:59,
  1018. from /usr/src/linux-headers-4.6.0-1-common/include/linux/spinlock.h:50,
  1019. from /usr/src/linux-headers-4.6.0-1-common/include/linux/seqlock.h:35,
  1020. from /usr/src/linux-headers-4.6.0-1-common/include/linux/time.h:5,
  1021. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/timex.h:56,
  1022. from /usr/src/linux-headers-4.6.0-1-common/include/linux/timex.h:56,
  1023. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:19,
  1024. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  1025. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  1026. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-gvi.c:15:
  1027. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1028. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1029. ((val) == 1 || (val) == -1)) ? \
  1030. ^
  1031. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1032. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1033. ^
  1034. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  1035. case 1: stem##1(variable, __VA_ARGS__);break; \
  1036. ^
  1037. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1038. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1039. ^
  1040. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1041. this_cpu_add(*percpu_count, nr);
  1042. ^
  1043. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1044. ((val) == 1 || (val) == -1)) ? \
  1045. ^
  1046. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1047. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1048. ^
  1049. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  1050. case 2: stem##2(variable, __VA_ARGS__);break; \
  1051. ^
  1052. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1053. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1054. ^
  1055. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1056. this_cpu_add(*percpu_count, nr);
  1057. ^
  1058. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1059. ((val) == 1 || (val) == -1)) ? \
  1060. ^
  1061. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1062. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1063. ^
  1064. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  1065. case 4: stem##4(variable, __VA_ARGS__);break; \
  1066. ^
  1067. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1068. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1069. ^
  1070. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1071. this_cpu_add(*percpu_count, nr);
  1072. ^
  1073. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1074. ((val) == 1 || (val) == -1)) ? \
  1075. ^
  1076. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1077. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1078. ^
  1079. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  1080. case 8: stem##8(variable, __VA_ARGS__);break; \
  1081. ^
  1082. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1083. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1084. ^
  1085. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1086. this_cpu_add(*percpu_count, nr);
  1087. ^
  1088. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1089. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1090. ((val) == 1 || (val) == -1)) ? \
  1091. ^
  1092. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1093. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1094. ^
  1095. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  1096. case 1: stem##1(variable, __VA_ARGS__);break; \
  1097. ^
  1098. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1099. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1100. ^
  1101. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1102. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1103. ^
  1104. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1105. this_cpu_sub(*percpu_count, nr);
  1106. ^
  1107. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1108. ((val) == 1 || (val) == -1)) ? \
  1109. ^
  1110. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1111. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1112. ^
  1113. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  1114. case 2: stem##2(variable, __VA_ARGS__);break; \
  1115. ^
  1116. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1117. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1118. ^
  1119. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1120. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1121. ^
  1122. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1123. this_cpu_sub(*percpu_count, nr);
  1124. ^
  1125. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1126. ((val) == 1 || (val) == -1)) ? \
  1127. ^
  1128. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1129. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1130. ^
  1131. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  1132. case 4: stem##4(variable, __VA_ARGS__);break; \
  1133. ^
  1134. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1135. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1136. ^
  1137. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1138. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1139. ^
  1140. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1141. this_cpu_sub(*percpu_count, nr);
  1142. ^
  1143. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1144. ((val) == 1 || (val) == -1)) ? \
  1145. ^
  1146. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1147. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1148. ^
  1149. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  1150. case 8: stem##8(variable, __VA_ARGS__);break; \
  1151. ^
  1152. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1153. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1154. ^
  1155. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1156. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1157. ^
  1158. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1159. this_cpu_sub(*percpu_count, nr);
  1160. ^
  1161. In file included from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/stddef.h:1:0,
  1162. from /usr/src/linux-headers-4.6.0-1-common/include/linux/stddef.h:4,
  1163. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/posix_types.h:4,
  1164. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/types.h:13,
  1165. from /usr/src/linux-headers-4.6.0-1-common/include/linux/types.h:5,
  1166. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/capability.h:16,
  1167. from /usr/src/linux-headers-4.6.0-1-common/include/linux/capability.h:15,
  1168. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:15,
  1169. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  1170. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  1171. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-gvi.c:15:
  1172. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1173. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1174. if (likely(sz < 0 || sz >= n))
  1175. ^
  1176. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  1177. # define likely(x) __builtin_expect(!!(x), 1)
  1178. ^
  1179. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1180. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1181. if (likely(sz < 0 || sz >= n))
  1182. ^
  1183. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  1184. # define likely(x) __builtin_expect(!!(x), 1)
  1185. ^
  1186. if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-gvi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-gvi.o"; fi; fi;
  1187. cc -Wp,-MD,/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/src/linux-headers-4.6.0-1-common/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-headers-4.6.0-1-common/include -Iinclude -I/us
  1188. r/src/linux-headers-4.6.0-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-4.6.0-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-4.6.0-1-common/include/linux/kconfig.h -I/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-nul
  1189. l-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -I/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.131\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.tmp_nv-i2c.o /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-i2c.c
  1190. In file included from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/stddef.h:1:0,
  1191. from /usr/src/linux-headers-4.6.0-1-common/include/linux/stddef.h:4,
  1192. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/posix_types.h:4,
  1193. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/types.h:13,
  1194. from /usr/src/linux-headers-4.6.0-1-common/include/linux/types.h:5,
  1195. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/capability.h:16,
  1196. from /usr/src/linux-headers-4.6.0-1-common/include/linux/capability.h:15,
  1197. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:15,
  1198. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  1199. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  1200. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-i2c.c:15:
  1201. /usr/src/linux-headers-4.6.0-1-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1202. /usr/src/linux-headers-4.6.0-1-common/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1203. cnts, cnts | _QW_LOCKED) == cnts);
  1204. ^
  1205. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  1206. # define likely(x) __builtin_expect(!!(x), 1)
  1207. ^
  1208. In file included from /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/preempt.h:5:0,
  1209. from /usr/src/linux-headers-4.6.0-1-common/include/linux/preempt.h:59,
  1210. from /usr/src/linux-headers-4.6.0-1-common/include/linux/spinlock.h:50,
  1211. from /usr/src/linux-headers-4.6.0-1-common/include/linux/seqlock.h:35,
  1212. from /usr/src/linux-headers-4.6.0-1-common/include/linux/time.h:5,
  1213. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/timex.h:56,
  1214. from /usr/src/linux-headers-4.6.0-1-common/include/linux/timex.h:56,
  1215. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:19,
  1216. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  1217. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  1218. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-i2c.c:15:
  1219. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1220. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1221. ((val) == 1 || (val) == -1)) ? \
  1222. ^
  1223. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1224. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1225. ^
  1226. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  1227. case 1: stem##1(variable, __VA_ARGS__);break; \
  1228. ^
  1229. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1230. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1231. ^
  1232. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1233. this_cpu_add(*percpu_count, nr);
  1234. ^
  1235. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1236. ((val) == 1 || (val) == -1)) ? \
  1237. ^
  1238. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1239. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1240. ^
  1241. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  1242. case 2: stem##2(variable, __VA_ARGS__);break; \
  1243. ^
  1244. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1245. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1246. ^
  1247. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1248. this_cpu_add(*percpu_count, nr);
  1249. ^
  1250. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1251. ((val) == 1 || (val) == -1)) ? \
  1252. ^
  1253. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1254. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1255. ^
  1256. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  1257. case 4: stem##4(variable, __VA_ARGS__);break; \
  1258. ^
  1259. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1260. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1261. ^
  1262. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1263. this_cpu_add(*percpu_count, nr);
  1264. ^
  1265. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1266. ((val) == 1 || (val) == -1)) ? \
  1267. ^
  1268. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1269. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1270. ^
  1271. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  1272. case 8: stem##8(variable, __VA_ARGS__);break; \
  1273. ^
  1274. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1275. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1276. ^
  1277. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1278. this_cpu_add(*percpu_count, nr);
  1279. ^
  1280. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1281. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1282. ((val) == 1 || (val) == -1)) ? \
  1283. ^
  1284. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1285. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1286. ^
  1287. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  1288. case 1: stem##1(variable, __VA_ARGS__);break; \
  1289. ^
  1290. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1291. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1292. ^
  1293. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1294. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1295. ^
  1296. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1297. this_cpu_sub(*percpu_count, nr);
  1298. ^
  1299. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1300. ((val) == 1 || (val) == -1)) ? \
  1301. ^
  1302. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1303. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1304. ^
  1305. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  1306. case 2: stem##2(variable, __VA_ARGS__);break; \
  1307. ^
  1308. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1309. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1310. ^
  1311. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1312. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1313. ^
  1314. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1315. this_cpu_sub(*percpu_count, nr);
  1316. ^
  1317. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1318. ((val) == 1 || (val) == -1)) ? \
  1319. ^
  1320. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1321. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1322. ^
  1323. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  1324. case 4: stem##4(variable, __VA_ARGS__);break; \
  1325. ^
  1326. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1327. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1328. ^
  1329. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1330. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1331. ^
  1332. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1333. this_cpu_sub(*percpu_count, nr);
  1334. ^
  1335. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1336. ((val) == 1 || (val) == -1)) ? \
  1337. ^
  1338. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1339. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1340. ^
  1341. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  1342. case 8: stem##8(variable, __VA_ARGS__);break; \
  1343. ^
  1344. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1345. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1346. ^
  1347. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1348. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1349. ^
  1350. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1351. this_cpu_sub(*percpu_count, nr);
  1352. ^
  1353. In file included from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/stddef.h:1:0,
  1354. from /usr/src/linux-headers-4.6.0-1-common/include/linux/stddef.h:4,
  1355. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/posix_types.h:4,
  1356. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/types.h:13,
  1357. from /usr/src/linux-headers-4.6.0-1-common/include/linux/types.h:5,
  1358. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/capability.h:16,
  1359. from /usr/src/linux-headers-4.6.0-1-common/include/linux/capability.h:15,
  1360. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:15,
  1361. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  1362. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  1363. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-i2c.c:15:
  1364. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1365. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1366. if (likely(sz < 0 || sz >= n))
  1367. ^
  1368. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  1369. # define likely(x) __builtin_expect(!!(x), 1)
  1370. ^
  1371. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1372. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1373. if (likely(sz < 0 || sz >= n))
  1374. ^
  1375. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  1376. # define likely(x) __builtin_expect(!!(x), 1)
  1377. ^
  1378. if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-i2c.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-i2c.o"; fi; fi;
  1379. cc -Wp,-MD,/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/src/linux-headers-4.6.0-1-common/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-headers-4.6.0-1-common/include -Iinclude -I/usr/src/linux-headers-4.6.0-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-4.6.0-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-4.6.0-1-common/include/linux/kconfig.h -I/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1
  1380. -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 -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -I/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.131\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mempool)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.tmp_nv-mempool.o /tmp/selfgz13703
  1381. /NVIDIA-Linux-x86_64-304.131/kernel/nv-mempool.c
  1382. In file included from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/stddef.h:1:0,
  1383. from /usr/src/linux-headers-4.6.0-1-common/include/linux/stddef.h:4,
  1384. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/posix_types.h:4,
  1385. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/types.h:13,
  1386. from /usr/src/linux-headers-4.6.0-1-common/include/linux/types.h:5,
  1387. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/capability.h:16,
  1388. from /usr/src/linux-headers-4.6.0-1-common/include/linux/capability.h:15,
  1389. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:15,
  1390. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  1391. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  1392. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mempool.c:15:
  1393. /usr/src/linux-headers-4.6.0-1-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1394. /usr/src/linux-headers-4.6.0-1-common/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1395. cnts, cnts | _QW_LOCKED) == cnts);
  1396. ^
  1397. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  1398. # define likely(x) __builtin_expect(!!(x), 1)
  1399. ^
  1400. In file included from /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/preempt.h:5:0,
  1401. from /usr/src/linux-headers-4.6.0-1-common/include/linux/preempt.h:59,
  1402. from /usr/src/linux-headers-4.6.0-1-common/include/linux/spinlock.h:50,
  1403. from /usr/src/linux-headers-4.6.0-1-common/include/linux/seqlock.h:35,
  1404. from /usr/src/linux-headers-4.6.0-1-common/include/linux/time.h:5,
  1405. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/timex.h:56,
  1406. from /usr/src/linux-headers-4.6.0-1-common/include/linux/timex.h:56,
  1407. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:19,
  1408. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  1409. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  1410. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mempool.c:15:
  1411. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1412. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1413. ((val) == 1 || (val) == -1)) ? \
  1414. ^
  1415. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1416. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1417. ^
  1418. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  1419. case 1: stem##1(variable, __VA_ARGS__);break; \
  1420. ^
  1421. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1422. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1423. ^
  1424. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1425. this_cpu_add(*percpu_count, nr);
  1426. ^
  1427. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1428. ((val) == 1 || (val) == -1)) ? \
  1429. ^
  1430. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1431. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1432. ^
  1433. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  1434. case 2: stem##2(variable, __VA_ARGS__);break; \
  1435. ^
  1436. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1437. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1438. ^
  1439. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1440. this_cpu_add(*percpu_count, nr);
  1441. ^
  1442. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1443. ((val) == 1 || (val) == -1)) ? \
  1444. ^
  1445. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1446. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1447. ^
  1448. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  1449. case 4: stem##4(variable, __VA_ARGS__);break; \
  1450. ^
  1451. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1452. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1453. ^
  1454. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1455. this_cpu_add(*percpu_count, nr);
  1456. ^
  1457. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1458. ((val) == 1 || (val) == -1)) ? \
  1459. ^
  1460. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1461. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1462. ^
  1463. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  1464. case 8: stem##8(variable, __VA_ARGS__);break; \
  1465. ^
  1466. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1467. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1468. ^
  1469. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1470. this_cpu_add(*percpu_count, nr);
  1471. ^
  1472. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1473. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1474. ((val) == 1 || (val) == -1)) ? \
  1475. ^
  1476. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1477. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1478. ^
  1479. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  1480. case 1: stem##1(variable, __VA_ARGS__);break; \
  1481. ^
  1482. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1483. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1484. ^
  1485. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1486. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1487. ^
  1488. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1489. this_cpu_sub(*percpu_count, nr);
  1490. ^
  1491. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1492. ((val) == 1 || (val) == -1)) ? \
  1493. ^
  1494. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1495. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1496. ^
  1497. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  1498. case 2: stem##2(variable, __VA_ARGS__);break; \
  1499. ^
  1500. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1501. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1502. ^
  1503. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1504. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1505. ^
  1506. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1507. this_cpu_sub(*percpu_count, nr);
  1508. ^
  1509. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1510. ((val) == 1 || (val) == -1)) ? \
  1511. ^
  1512. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1513. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1514. ^
  1515. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  1516. case 4: stem##4(variable, __VA_ARGS__);break; \
  1517. ^
  1518. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1519. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1520. ^
  1521. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1522. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1523. ^
  1524. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1525. this_cpu_sub(*percpu_count, nr);
  1526. ^
  1527. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1528. ((val) == 1 || (val) == -1)) ? \
  1529. ^
  1530. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1531. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1532. ^
  1533. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  1534. case 8: stem##8(variable, __VA_ARGS__);break; \
  1535. ^
  1536. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1537. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1538. ^
  1539. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1540. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1541. ^
  1542. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1543. this_cpu_sub(*percpu_count, nr);
  1544. ^
  1545. In file included from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/stddef.h:1:0,
  1546. from /usr/src/linux-headers-4.6.0-1-common/include/linux/stddef.h:4,
  1547. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/posix_types.h:4,
  1548. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/types.h:13,
  1549. from /usr/src/linux-headers-4.6.0-1-common/include/linux/types.h:5,
  1550. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/capability.h:16,
  1551. from /usr/src/linux-headers-4.6.0-1-common/include/linux/capability.h:15,
  1552. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:15,
  1553. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  1554. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  1555. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mempool.c:15:
  1556. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1557. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1558. if (likely(sz < 0 || sz >= n))
  1559. ^
  1560. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  1561. # define likely(x) __builtin_expect(!!(x), 1)
  1562. ^
  1563. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1564. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1565. if (likely(sz < 0 || sz >= n))
  1566. ^
  1567. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  1568. # define likely(x) __builtin_expect(!!(x), 1)
  1569. ^
  1570. if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mempool.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mempool.o"; fi; fi;
  1571. cc -Wp,-MD,/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.nv-mlock.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/src/linux-headers-4.6.0-1-common/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-headers-4.6.0-1-common/include -Iinclude -I/usr/src/linux-headers-4.6.0-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-4.6.0-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-4.6.0-1-common/include/linux/kconfig.h -I/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time
  1572. -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 -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -I/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.131\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_
  1573. STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mlock)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/.tmp_nv-mlock.o /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.c
  1574. In file included from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/stddef.h:1:0,
  1575. from /usr/src/linux-headers-4.6.0-1-common/include/linux/stddef.h:4,
  1576. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/posix_types.h:4,
  1577. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/types.h:13,
  1578. from /usr/src/linux-headers-4.6.0-1-common/include/linux/types.h:5,
  1579. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/capability.h:16,
  1580. from /usr/src/linux-headers-4.6.0-1-common/include/linux/capability.h:15,
  1581. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:15,
  1582. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  1583. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  1584. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.c:15:
  1585. /usr/src/linux-headers-4.6.0-1-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1586. /usr/src/linux-headers-4.6.0-1-common/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1587. cnts, cnts | _QW_LOCKED) == cnts);
  1588. ^
  1589. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  1590. # define likely(x) __builtin_expect(!!(x), 1)
  1591. ^
  1592. In file included from /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/preempt.h:5:0,
  1593. from /usr/src/linux-headers-4.6.0-1-common/include/linux/preempt.h:59,
  1594. from /usr/src/linux-headers-4.6.0-1-common/include/linux/spinlock.h:50,
  1595. from /usr/src/linux-headers-4.6.0-1-common/include/linux/seqlock.h:35,
  1596. from /usr/src/linux-headers-4.6.0-1-common/include/linux/time.h:5,
  1597. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/timex.h:56,
  1598. from /usr/src/linux-headers-4.6.0-1-common/include/linux/timex.h:56,
  1599. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:19,
  1600. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  1601. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  1602. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.c:15:
  1603. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1604. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1605. ((val) == 1 || (val) == -1)) ? \
  1606. ^
  1607. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1608. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1609. ^
  1610. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  1611. case 1: stem##1(variable, __VA_ARGS__);break; \
  1612. ^
  1613. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1614. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1615. ^
  1616. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1617. this_cpu_add(*percpu_count, nr);
  1618. ^
  1619. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1620. ((val) == 1 || (val) == -1)) ? \
  1621. ^
  1622. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1623. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1624. ^
  1625. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  1626. case 2: stem##2(variable, __VA_ARGS__);break; \
  1627. ^
  1628. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1629. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1630. ^
  1631. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1632. this_cpu_add(*percpu_count, nr);
  1633. ^
  1634. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1635. ((val) == 1 || (val) == -1)) ? \
  1636. ^
  1637. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1638. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1639. ^
  1640. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  1641. case 4: stem##4(variable, __VA_ARGS__);break; \
  1642. ^
  1643. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1644. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1645. ^
  1646. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1647. this_cpu_add(*percpu_count, nr);
  1648. ^
  1649. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1650. ((val) == 1 || (val) == -1)) ? \
  1651. ^
  1652. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1653. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1654. ^
  1655. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  1656. case 8: stem##8(variable, __VA_ARGS__);break; \
  1657. ^
  1658. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1659. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1660. ^
  1661. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1662. this_cpu_add(*percpu_count, nr);
  1663. ^
  1664. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1665. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1666. ((val) == 1 || (val) == -1)) ? \
  1667. ^
  1668. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1669. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1670. ^
  1671. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
  1672. case 1: stem##1(variable, __VA_ARGS__);break; \
  1673. ^
  1674. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1675. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1676. ^
  1677. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1678. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1679. ^
  1680. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1681. this_cpu_sub(*percpu_count, nr);
  1682. ^
  1683. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1684. ((val) == 1 || (val) == -1)) ? \
  1685. ^
  1686. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1687. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1688. ^
  1689. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
  1690. case 2: stem##2(variable, __VA_ARGS__);break; \
  1691. ^
  1692. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1693. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1694. ^
  1695. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1696. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1697. ^
  1698. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1699. this_cpu_sub(*percpu_count, nr);
  1700. ^
  1701. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1702. ((val) == 1 || (val) == -1)) ? \
  1703. ^
  1704. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1705. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1706. ^
  1707. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
  1708. case 4: stem##4(variable, __VA_ARGS__);break; \
  1709. ^
  1710. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1711. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1712. ^
  1713. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1714. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1715. ^
  1716. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1717. this_cpu_sub(*percpu_count, nr);
  1718. ^
  1719. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1720. ((val) == 1 || (val) == -1)) ? \
  1721. ^
  1722. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1723. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1724. ^
  1725. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
  1726. case 8: stem##8(variable, __VA_ARGS__);break; \
  1727. ^
  1728. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
  1729. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1730. ^
  1731. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
  1732. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1733. ^
  1734. /usr/src/linux-headers-4.6.0-1-common/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1735. this_cpu_sub(*percpu_count, nr);
  1736. ^
  1737. In file included from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/stddef.h:1:0,
  1738. from /usr/src/linux-headers-4.6.0-1-common/include/linux/stddef.h:4,
  1739. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/posix_types.h:4,
  1740. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/types.h:13,
  1741. from /usr/src/linux-headers-4.6.0-1-common/include/linux/types.h:5,
  1742. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/capability.h:16,
  1743. from /usr/src/linux-headers-4.6.0-1-common/include/linux/capability.h:15,
  1744. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:15,
  1745. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  1746. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  1747. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.c:15:
  1748. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1749. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1750. if (likely(sz < 0 || sz >= n))
  1751. ^
  1752. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  1753. # define likely(x) __builtin_expect(!!(x), 1)
  1754. ^
  1755. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1756. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  1757. if (likely(sz < 0 || sz >= n))
  1758. ^
  1759. /usr/src/linux-headers-4.6.0-1-common/include/linux/compiler.h:169:40: note: in definition of macro ‘likely’
  1760. # define likely(x) __builtin_expect(!!(x), 1)
  1761. ^
  1762. In file included from /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/processor.h:15:0,
  1763. from /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/cpufeature.h:4,
  1764. from /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/thread_info.h:52,
  1765. from /usr/src/linux-headers-4.6.0-1-common/include/linux/thread_info.h:54,
  1766. from /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/preempt.h:6,
  1767. from /usr/src/linux-headers-4.6.0-1-common/include/linux/preempt.h:59,
  1768. from /usr/src/linux-headers-4.6.0-1-common/include/linux/spinlock.h:50,
  1769. from /usr/src/linux-headers-4.6.0-1-common/include/linux/seqlock.h:35,
  1770. from /usr/src/linux-headers-4.6.0-1-common/include/linux/time.h:5,
  1771. from /usr/src/linux-headers-4.6.0-1-common/include/uapi/linux/timex.h:56,
  1772. from /usr/src/linux-headers-4.6.0-1-common/include/linux/timex.h:56,
  1773. from /usr/src/linux-headers-4.6.0-1-common/include/linux/sched.h:19,
  1774. from /usr/src/linux-headers-4.6.0-1-common/include/linux/utsname.h:5,
  1775. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:40,
  1776. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.c:15:
  1777. /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.c: In function ‘nv_lock_user_pages’:
  1778. /usr/src/linux-headers-4.6.0-1-common/arch/x86/include/asm/current.h:17:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion]
  1779. #define current get_current()
  1780. ^
  1781. /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.c:52:26: note: in expansion of macro ‘current’
  1782. ret = get_user_pages(current, mm, (unsigned long)address,
  1783. ^
  1784. In file included from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:82:0,
  1785. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.c:15:
  1786. /usr/src/linux-headers-4.6.0-1-common/include/linux/mm.h:1288:6: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’
  1787. long get_user_pages(unsigned long start, unsigned long nr_pages,
  1788. ^
  1789. /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.c:52:35: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion]
  1790. ret = get_user_pages(current, mm, (unsigned long)address,
  1791. ^
  1792. In file included from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:82:0,
  1793. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.c:15:
  1794. /usr/src/linux-headers-4.6.0-1-common/include/linux/mm.h:1288:6: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
  1795. long get_user_pages(unsigned long start, unsigned long nr_pages,
  1796. ^
  1797. /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.c:53:25: warning: passing argument 5 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion]
  1798. page_count, write, force, user_pages, NULL);
  1799. ^
  1800. In file included from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:82:0,
  1801. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.c:15:
  1802. /usr/src/linux-headers-4.6.0-1-common/include/linux/mm.h:1288:6: note: expected ‘struct page **’ but argument is of type ‘NvBool {aka unsigned char}’
  1803. long get_user_pages(unsigned long start, unsigned long nr_pages,
  1804. ^
  1805. /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.c:53:32: warning: passing argument 6 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion]
  1806. page_count, write, force, user_pages, NULL);
  1807. ^
  1808. In file included from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:82:0,
  1809. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.c:15:
  1810. /usr/src/linux-headers-4.6.0-1-common/include/linux/mm.h:1288:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘NvBool {aka unsigned char}’
  1811. long get_user_pages(unsigned long start, unsigned long nr_pages,
  1812. ^
  1813. /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.c:52:11: error: too many arguments to function ‘get_user_pages’
  1814. ret = get_user_pages(current, mm, (unsigned long)address,
  1815. ^
  1816. In file included from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-linux.h:82:0,
  1817. from /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.c:15:
  1818. /usr/src/linux-headers-4.6.0-1-common/include/linux/mm.h:1288:6: note: declared here
  1819. long get_user_pages(unsigned long start, unsigned long nr_pages,
  1820. ^
  1821. /tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.c:65:13: error: implicit declaration of function ‘page_cache_release’ [-Werror=implicit-function-declaration]
  1822. page_cache_release(user_pages[i]);
  1823. ^
  1824. cc1: some warnings being treated as errors
  1825. /usr/src/linux-headers-4.6.0-1-common/scripts/Makefile.build:296: recipe for target '/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.o' failed
  1826. make[4]: *** [/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel/nv-mlock.o] Error 1
  1827. /usr/src/linux-headers-4.6.0-1-common/Makefile:1446: recipe for target '_module_/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel' failed
  1828. make[3]: *** [_module_/tmp/selfgz13703/NVIDIA-Linux-x86_64-304.131/kernel] Error 2
  1829. Makefile:146: recipe for target 'sub-make' failed
  1830. make[2]: *** [sub-make] Error 2
  1831. NVIDIA: left KBUILD.
  1832. nvidia.ko failed to build!
  1833. Makefile:255: recipe for target 'module' failed
  1834. make[1]: *** [module] Error 1
  1835. makefile:59: recipe for target 'module' failed
  1836. make: *** [module] Error 2
  1837. -> Error.
  1838. ERROR: Unable to build the NVIDIA kernel module.
  1839. 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