Advertisement
SaintAnd

nvidia-installer.log(2)

Apr 18th, 2019
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 257.03 KB | None | 0 0
  1. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  3. ^~~~~~~~~~~~~
  4. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  5. case 1: stem##1(variable, __VA_ARGS__);break; \
  6. ^~~~
  7. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  8. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  9. ^~~~~~~~~~~~~~~~
  10. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  11. this_cpu_add(*percpu_count, nr);
  12. ^~~~~~~~~~~~
  13. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  14. ((val) == 1 || (val) == -1)) ? \
  15. ^~
  16. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  17. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  18. ^~~~~~~~~~~~~
  19. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  20. case 2: stem##2(variable, __VA_ARGS__);break; \
  21. ^~~~
  22. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  23. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  24. ^~~~~~~~~~~~~~~~
  25. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  26. this_cpu_add(*percpu_count, nr);
  27. ^~~~~~~~~~~~
  28. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  29. ((val) == 1 || (val) == -1)) ? \
  30. ^~
  31. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  32. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  33. ^~~~~~~~~~~~~
  34. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  35. case 4: stem##4(variable, __VA_ARGS__);break; \
  36. ^~~~
  37. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  38. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  39. ^~~~~~~~~~~~~~~~
  40. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  41. this_cpu_add(*percpu_count, nr);
  42. ^~~~~~~~~~~~
  43. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  44. ((val) == 1 || (val) == -1)) ? \
  45. ^~
  46. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  47. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  48. ^~~~~~~~~~~~~
  49. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  50. case 8: stem##8(variable, __VA_ARGS__);break; \
  51. ^~~~
  52. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  53. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  54. ^~~~~~~~~~~~~~~~
  55. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  56. this_cpu_add(*percpu_count, nr);
  57. ^~~~~~~~~~~~
  58. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  59. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  60. ((val) == 1 || (val) == -1)) ? \
  61. ^~
  62. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  63. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  64. ^~~~~~~~~~~~~
  65. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  66. case 1: stem##1(variable, __VA_ARGS__);break; \
  67. ^~~~
  68. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  69. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  70. ^~~~~~~~~~~~~~~~
  71. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  72. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  73. ^~~~~~~~~~~~
  74. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  75. this_cpu_sub(*percpu_count, nr);
  76. ^~~~~~~~~~~~
  77. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  78. ((val) == 1 || (val) == -1)) ? \
  79. ^~
  80. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  81. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  82. ^~~~~~~~~~~~~
  83. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  84. case 2: stem##2(variable, __VA_ARGS__);break; \
  85. ^~~~
  86. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  87. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  88. ^~~~~~~~~~~~~~~~
  89. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  90. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  91. ^~~~~~~~~~~~
  92. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  93. this_cpu_sub(*percpu_count, nr);
  94. ^~~~~~~~~~~~
  95. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  96. ((val) == 1 || (val) == -1)) ? \
  97. ^~
  98. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  99. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  100. ^~~~~~~~~~~~~
  101. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  102. case 4: stem##4(variable, __VA_ARGS__);break; \
  103. ^~~~
  104. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  105. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  106. ^~~~~~~~~~~~~~~~
  107. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  108. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  109. ^~~~~~~~~~~~
  110. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  111. this_cpu_sub(*percpu_count, nr);
  112. ^~~~~~~~~~~~
  113. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  114. ((val) == 1 || (val) == -1)) ? \
  115. ^~
  116. /usr/src/linux-4.4.178/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-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  120. case 8: stem##8(variable, __VA_ARGS__);break; \
  121. ^~~~
  122. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  126. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  127. ^~~~~~~~~~~~
  128. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  129. this_cpu_sub(*percpu_count, nr);
  130. ^~~~~~~~~~~~
  131. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  132. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  133. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  134. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  135. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  136. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  137. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  138. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  139. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  140. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  141. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.c:15:
  142. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  143. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  144. if (likely(sz < 0 || sz >= n))
  145. ^~
  146. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  147. # define likely(x) __builtin_expect(!!(x), 1)
  148. ^
  149. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  150. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  151. if (likely(sz < 0 || sz >= n))
  152. ^~
  153. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  154. # define likely(x) __builtin_expect(!!(x), 1)
  155. ^
  156. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.os-smp.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_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 -DCO
  157. NFIG_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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-erro
  158. r -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_smp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.c
  159. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  160. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  161. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  162. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  163. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  164. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  165. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  166. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  167. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  168. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  169. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.c:15:
  170. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  171. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
  172. cnts, cnts | _QW_LOCKED) == cnts);
  173. ^~
  174. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  175. # define likely(x) __builtin_expect(!!(x), 1)
  176. ^
  177. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  178. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  179. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  180. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  181. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  182. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  183. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  184. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  185. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  186. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  187. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.c:15:
  188. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  189. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  190. ((val) == 1 || (val) == -1)) ? \
  191. ^~
  192. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  193. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  194. ^~~~~~~~~~~~~
  195. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  196. case 1: stem##1(variable, __VA_ARGS__);break; \
  197. ^~~~
  198. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  199. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  200. ^~~~~~~~~~~~~~~~
  201. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  202. this_cpu_add(*percpu_count, nr);
  203. ^~~~~~~~~~~~
  204. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  205. ((val) == 1 || (val) == -1)) ? \
  206. ^~
  207. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  208. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  209. ^~~~~~~~~~~~~
  210. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  211. case 2: stem##2(variable, __VA_ARGS__);break; \
  212. ^~~~
  213. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  214. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  215. ^~~~~~~~~~~~~~~~
  216. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  217. this_cpu_add(*percpu_count, nr);
  218. ^~~~~~~~~~~~
  219. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  220. ((val) == 1 || (val) == -1)) ? \
  221. ^~
  222. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  223. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  224. ^~~~~~~~~~~~~
  225. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  226. case 4: stem##4(variable, __VA_ARGS__);break; \
  227. ^~~~
  228. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  229. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  230. ^~~~~~~~~~~~~~~~
  231. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  232. this_cpu_add(*percpu_count, nr);
  233. ^~~~~~~~~~~~
  234. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  235. ((val) == 1 || (val) == -1)) ? \
  236. ^~
  237. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  238. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  239. ^~~~~~~~~~~~~
  240. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  241. case 8: stem##8(variable, __VA_ARGS__);break; \
  242. ^~~~
  243. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  244. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  245. ^~~~~~~~~~~~~~~~
  246. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  247. this_cpu_add(*percpu_count, nr);
  248. ^~~~~~~~~~~~
  249. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  250. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  251. ((val) == 1 || (val) == -1)) ? \
  252. ^~
  253. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  254. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  255. ^~~~~~~~~~~~~
  256. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  257. case 1: stem##1(variable, __VA_ARGS__);break; \
  258. ^~~~
  259. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  260. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  261. ^~~~~~~~~~~~~~~~
  262. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  263. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  264. ^~~~~~~~~~~~
  265. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  266. this_cpu_sub(*percpu_count, nr);
  267. ^~~~~~~~~~~~
  268. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  269. ((val) == 1 || (val) == -1)) ? \
  270. ^~
  271. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  272. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  273. ^~~~~~~~~~~~~
  274. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  275. case 2: stem##2(variable, __VA_ARGS__);break; \
  276. ^~~~
  277. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  278. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  279. ^~~~~~~~~~~~~~~~
  280. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  281. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  282. ^~~~~~~~~~~~
  283. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  284. this_cpu_sub(*percpu_count, nr);
  285. ^~~~~~~~~~~~
  286. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  287. ((val) == 1 || (val) == -1)) ? \
  288. ^~
  289. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  290. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  291. ^~~~~~~~~~~~~
  292. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  293. case 4: stem##4(variable, __VA_ARGS__);break; \
  294. ^~~~
  295. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  296. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  297. ^~~~~~~~~~~~~~~~
  298. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  299. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  300. ^~~~~~~~~~~~
  301. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  302. this_cpu_sub(*percpu_count, nr);
  303. ^~~~~~~~~~~~
  304. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  305. ((val) == 1 || (val) == -1)) ? \
  306. ^~
  307. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  308. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  309. ^~~~~~~~~~~~~
  310. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  311. case 8: stem##8(variable, __VA_ARGS__);break; \
  312. ^~~~
  313. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  314. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  315. ^~~~~~~~~~~~~~~~
  316. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  317. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  318. ^~~~~~~~~~~~
  319. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  320. this_cpu_sub(*percpu_count, nr);
  321. ^~~~~~~~~~~~
  322. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  323. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  324. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  325. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  326. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  327. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  328. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  329. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  330. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  331. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  332. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.c:15:
  333. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  334. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  335. if (likely(sz < 0 || sz >= n))
  336. ^~
  337. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  338. # define likely(x) __builtin_expect(!!(x), 1)
  339. ^
  340. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  341. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  342. if (likely(sz < 0 || sz >= n))
  343. ^~
  344. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  345. # define likely(x) __builtin_expect(!!(x), 1)
  346. ^
  347. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.os-usermap.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated
  348. -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_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 -mindirect-branch=thunk
  349. -extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UV
  350. M_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_usermap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.c
  351. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  352. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  353. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  354. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  355. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  356. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  357. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  358. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  359. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  360. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  361. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.c:15:
  362. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  363. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
  364. cnts, cnts | _QW_LOCKED) == cnts);
  365. ^~
  366. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  367. # define likely(x) __builtin_expect(!!(x), 1)
  368. ^
  369. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  370. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  371. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  372. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  373. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  374. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  375. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  376. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  377. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  378. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  379. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.c:15:
  380. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  381. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  382. ((val) == 1 || (val) == -1)) ? \
  383. ^~
  384. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  385. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  386. ^~~~~~~~~~~~~
  387. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  388. case 1: stem##1(variable, __VA_ARGS__);break; \
  389. ^~~~
  390. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  391. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  392. ^~~~~~~~~~~~~~~~
  393. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  394. this_cpu_add(*percpu_count, nr);
  395. ^~~~~~~~~~~~
  396. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  397. ((val) == 1 || (val) == -1)) ? \
  398. ^~
  399. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  400. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  401. ^~~~~~~~~~~~~
  402. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  403. case 2: stem##2(variable, __VA_ARGS__);break; \
  404. ^~~~
  405. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  406. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  407. ^~~~~~~~~~~~~~~~
  408. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  409. this_cpu_add(*percpu_count, nr);
  410. ^~~~~~~~~~~~
  411. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  412. ((val) == 1 || (val) == -1)) ? \
  413. ^~
  414. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  415. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  416. ^~~~~~~~~~~~~
  417. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  418. case 4: stem##4(variable, __VA_ARGS__);break; \
  419. ^~~~
  420. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  421. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  422. ^~~~~~~~~~~~~~~~
  423. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  424. this_cpu_add(*percpu_count, nr);
  425. ^~~~~~~~~~~~
  426. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  427. ((val) == 1 || (val) == -1)) ? \
  428. ^~
  429. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  430. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  431. ^~~~~~~~~~~~~
  432. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  433. case 8: stem##8(variable, __VA_ARGS__);break; \
  434. ^~~~
  435. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  436. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  437. ^~~~~~~~~~~~~~~~
  438. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  439. this_cpu_add(*percpu_count, nr);
  440. ^~~~~~~~~~~~
  441. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  442. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  443. ((val) == 1 || (val) == -1)) ? \
  444. ^~
  445. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  446. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  447. ^~~~~~~~~~~~~
  448. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  449. case 1: stem##1(variable, __VA_ARGS__);break; \
  450. ^~~~
  451. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  452. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  453. ^~~~~~~~~~~~~~~~
  454. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  455. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  456. ^~~~~~~~~~~~
  457. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  458. this_cpu_sub(*percpu_count, nr);
  459. ^~~~~~~~~~~~
  460. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  461. ((val) == 1 || (val) == -1)) ? \
  462. ^~
  463. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  464. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  465. ^~~~~~~~~~~~~
  466. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  467. case 2: stem##2(variable, __VA_ARGS__);break; \
  468. ^~~~
  469. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  470. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  471. ^~~~~~~~~~~~~~~~
  472. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  473. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  474. ^~~~~~~~~~~~
  475. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  476. this_cpu_sub(*percpu_count, nr);
  477. ^~~~~~~~~~~~
  478. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  479. ((val) == 1 || (val) == -1)) ? \
  480. ^~
  481. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  482. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  483. ^~~~~~~~~~~~~
  484. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  485. case 4: stem##4(variable, __VA_ARGS__);break; \
  486. ^~~~
  487. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  488. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  489. ^~~~~~~~~~~~~~~~
  490. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  491. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  492. ^~~~~~~~~~~~
  493. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  494. this_cpu_sub(*percpu_count, nr);
  495. ^~~~~~~~~~~~
  496. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  497. ((val) == 1 || (val) == -1)) ? \
  498. ^~
  499. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  500. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  501. ^~~~~~~~~~~~~
  502. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  503. case 8: stem##8(variable, __VA_ARGS__);break; \
  504. ^~~~
  505. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  506. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  507. ^~~~~~~~~~~~~~~~
  508. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  509. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  510. ^~~~~~~~~~~~
  511. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  512. this_cpu_sub(*percpu_count, nr);
  513. ^~~~~~~~~~~~
  514. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  515. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  516. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  517. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  518. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  519. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  520. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  521. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  522. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  523. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  524. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.c:15:
  525. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  526. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  527. if (likely(sz < 0 || sz >= n))
  528. ^~
  529. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  530. # define likely(x) __builtin_expect(!!(x), 1)
  531. ^
  532. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  533. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  534. if (likely(sz < 0 || sz >= n))
  535. ^~
  536. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  537. # define likely(x) __builtin_expect(!!(x), 1)
  538. ^
  539. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv_uvm_interface.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/
  540. usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-
  541. format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_uvm_interface)"
  542. -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.c
  543. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  544. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  545. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  546. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  547. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  548. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  549. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  550. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  551. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  552. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  553. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.c:21:
  554. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  555. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
  556. cnts, cnts | _QW_LOCKED) == cnts);
  557. ^~
  558. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  559. # define likely(x) __builtin_expect(!!(x), 1)
  560. ^
  561. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  562. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  563. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  564. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  565. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  566. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  567. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  568. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  569. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  570. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  571. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.c:21:
  572. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  573. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  574. ((val) == 1 || (val) == -1)) ? \
  575. ^~
  576. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  577. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  578. ^~~~~~~~~~~~~
  579. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  580. case 1: stem##1(variable, __VA_ARGS__);break; \
  581. ^~~~
  582. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  583. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  584. ^~~~~~~~~~~~~~~~
  585. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  586. this_cpu_add(*percpu_count, nr);
  587. ^~~~~~~~~~~~
  588. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  589. ((val) == 1 || (val) == -1)) ? \
  590. ^~
  591. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  592. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  593. ^~~~~~~~~~~~~
  594. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  595. case 2: stem##2(variable, __VA_ARGS__);break; \
  596. ^~~~
  597. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  598. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  599. ^~~~~~~~~~~~~~~~
  600. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  601. this_cpu_add(*percpu_count, nr);
  602. ^~~~~~~~~~~~
  603. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  604. ((val) == 1 || (val) == -1)) ? \
  605. ^~
  606. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  607. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  608. ^~~~~~~~~~~~~
  609. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  610. case 4: stem##4(variable, __VA_ARGS__);break; \
  611. ^~~~
  612. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  613. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  614. ^~~~~~~~~~~~~~~~
  615. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  616. this_cpu_add(*percpu_count, nr);
  617. ^~~~~~~~~~~~
  618. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  619. ((val) == 1 || (val) == -1)) ? \
  620. ^~
  621. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  622. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  623. ^~~~~~~~~~~~~
  624. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  625. case 8: stem##8(variable, __VA_ARGS__);break; \
  626. ^~~~
  627. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  628. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  629. ^~~~~~~~~~~~~~~~
  630. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  631. this_cpu_add(*percpu_count, nr);
  632. ^~~~~~~~~~~~
  633. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  634. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  635. ((val) == 1 || (val) == -1)) ? \
  636. ^~
  637. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  638. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  639. ^~~~~~~~~~~~~
  640. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  641. case 1: stem##1(variable, __VA_ARGS__);break; \
  642. ^~~~
  643. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  644. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  645. ^~~~~~~~~~~~~~~~
  646. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  647. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  648. ^~~~~~~~~~~~
  649. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  650. this_cpu_sub(*percpu_count, nr);
  651. ^~~~~~~~~~~~
  652. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  653. ((val) == 1 || (val) == -1)) ? \
  654. ^~
  655. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  656. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  657. ^~~~~~~~~~~~~
  658. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  659. case 2: stem##2(variable, __VA_ARGS__);break; \
  660. ^~~~
  661. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  662. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  663. ^~~~~~~~~~~~~~~~
  664. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  665. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  666. ^~~~~~~~~~~~
  667. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  668. this_cpu_sub(*percpu_count, nr);
  669. ^~~~~~~~~~~~
  670. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  671. ((val) == 1 || (val) == -1)) ? \
  672. ^~
  673. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  674. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  675. ^~~~~~~~~~~~~
  676. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  677. case 4: stem##4(variable, __VA_ARGS__);break; \
  678. ^~~~
  679. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  680. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  681. ^~~~~~~~~~~~~~~~
  682. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  683. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  684. ^~~~~~~~~~~~
  685. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  686. this_cpu_sub(*percpu_count, nr);
  687. ^~~~~~~~~~~~
  688. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  689. ((val) == 1 || (val) == -1)) ? \
  690. ^~
  691. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  692. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  693. ^~~~~~~~~~~~~
  694. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  695. case 8: stem##8(variable, __VA_ARGS__);break; \
  696. ^~~~
  697. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  698. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  699. ^~~~~~~~~~~~~~~~
  700. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  701. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  702. ^~~~~~~~~~~~
  703. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  704. this_cpu_sub(*percpu_count, nr);
  705. ^~~~~~~~~~~~
  706. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  707. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  708. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  709. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  710. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  711. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  712. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  713. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  714. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  715. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  716. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.c:21:
  717. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  718. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  719. if (likely(sz < 0 || sz >= n))
  720. ^~
  721. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  722. # define likely(x) __builtin_expect(!!(x), 1)
  723. ^
  724. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  725. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  726. if (likely(sz < 0 || sz >= n))
  727. ^~
  728. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  729. # define likely(x) __builtin_expect(!!(x), 1)
  730. ^
  731. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-frontend.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/inclu
  732. de/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=
  733. allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_frontend)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-fro
  734. ntend.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-frontend.c
  735. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  736. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  737. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  738. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  739. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  740. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  741. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  742. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  743. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  744. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  745. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-frontend.c:13:
  746. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  747. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
  748. cnts, cnts | _QW_LOCKED) == cnts);
  749. ^~
  750. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  751. # define likely(x) __builtin_expect(!!(x), 1)
  752. ^
  753. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  754. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  755. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  756. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  757. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  758. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  759. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  760. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  761. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  762. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  763. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-frontend.c:13:
  764. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  765. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  766. ((val) == 1 || (val) == -1)) ? \
  767. ^~
  768. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  769. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  770. ^~~~~~~~~~~~~
  771. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  772. case 1: stem##1(variable, __VA_ARGS__);break; \
  773. ^~~~
  774. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  775. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  776. ^~~~~~~~~~~~~~~~
  777. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  778. this_cpu_add(*percpu_count, nr);
  779. ^~~~~~~~~~~~
  780. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  781. ((val) == 1 || (val) == -1)) ? \
  782. ^~
  783. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  784. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  785. ^~~~~~~~~~~~~
  786. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  787. case 2: stem##2(variable, __VA_ARGS__);break; \
  788. ^~~~
  789. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  790. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  791. ^~~~~~~~~~~~~~~~
  792. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  793. this_cpu_add(*percpu_count, nr);
  794. ^~~~~~~~~~~~
  795. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  796. ((val) == 1 || (val) == -1)) ? \
  797. ^~
  798. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  799. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  800. ^~~~~~~~~~~~~
  801. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  802. case 4: stem##4(variable, __VA_ARGS__);break; \
  803. ^~~~
  804. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  805. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  806. ^~~~~~~~~~~~~~~~
  807. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  808. this_cpu_add(*percpu_count, nr);
  809. ^~~~~~~~~~~~
  810. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  811. ((val) == 1 || (val) == -1)) ? \
  812. ^~
  813. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  814. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  815. ^~~~~~~~~~~~~
  816. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  817. case 8: stem##8(variable, __VA_ARGS__);break; \
  818. ^~~~
  819. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  820. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  821. ^~~~~~~~~~~~~~~~
  822. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  823. this_cpu_add(*percpu_count, nr);
  824. ^~~~~~~~~~~~
  825. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  826. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  827. ((val) == 1 || (val) == -1)) ? \
  828. ^~
  829. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  830. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  831. ^~~~~~~~~~~~~
  832. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  833. case 1: stem##1(variable, __VA_ARGS__);break; \
  834. ^~~~
  835. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  836. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  837. ^~~~~~~~~~~~~~~~
  838. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  839. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  840. ^~~~~~~~~~~~
  841. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  842. this_cpu_sub(*percpu_count, nr);
  843. ^~~~~~~~~~~~
  844. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  845. ((val) == 1 || (val) == -1)) ? \
  846. ^~
  847. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  848. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  849. ^~~~~~~~~~~~~
  850. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  851. case 2: stem##2(variable, __VA_ARGS__);break; \
  852. ^~~~
  853. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  854. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  855. ^~~~~~~~~~~~~~~~
  856. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  857. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  858. ^~~~~~~~~~~~
  859. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  860. this_cpu_sub(*percpu_count, nr);
  861. ^~~~~~~~~~~~
  862. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  863. ((val) == 1 || (val) == -1)) ? \
  864. ^~
  865. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  866. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  867. ^~~~~~~~~~~~~
  868. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  869. case 4: stem##4(variable, __VA_ARGS__);break; \
  870. ^~~~
  871. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  872. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  873. ^~~~~~~~~~~~~~~~
  874. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  875. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  876. ^~~~~~~~~~~~
  877. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  878. this_cpu_sub(*percpu_count, nr);
  879. ^~~~~~~~~~~~
  880. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  881. ((val) == 1 || (val) == -1)) ? \
  882. ^~
  883. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  884. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  885. ^~~~~~~~~~~~~
  886. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  887. case 8: stem##8(variable, __VA_ARGS__);break; \
  888. ^~~~
  889. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  890. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  891. ^~~~~~~~~~~~~~~~
  892. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  893. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  894. ^~~~~~~~~~~~
  895. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  896. this_cpu_sub(*percpu_count, nr);
  897. ^~~~~~~~~~~~
  898. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  899. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  900. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  901. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  902. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  903. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  904. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  905. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  906. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  907. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  908. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-frontend.c:13:
  909. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  910. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  911. if (likely(sz < 0 || sz >= n))
  912. ^~
  913. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  914. # define likely(x) __builtin_expect(!!(x), 1)
  915. ^
  916. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  917. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  918. if (likely(sz < 0 || sz >= n))
  919. ^~
  920. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  921. # define likely(x) __builtin_expect(!!(x), 1)
  922. ^
  923. ld -m elf_x86_64 -z max-page-size=0x200000 -r -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nvidia.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-kernel.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.o /tmp
  924. /NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.o /tmp/NVIDI
  925. A-Linux-x86_64-340.107-no-compat32/kernel/nv-frontend.o
  926. (cat /dev/null; echo kernel//tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nvidia.ko;) > /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/modules.order
  927. /usr/bin/make -f /usr/src/linux-4.4.178/scripts/Makefile.modpost
  928. find /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost -i ./Module.symvers -I /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/Module.symvers -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/Module.symvers -S -w -s -T -
  929. WARNING: could not find /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-kernel.o.cmd for /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-kernel.o
  930. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nvidia.mod.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_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
  931. -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone
  932. -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia.mod)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -DMODULE -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nvidia.mod.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nvidia.mod.c
  933. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  934. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  935. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  936. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  937. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  938. from /usr/src/linux-4.4.178/include/linux/list.h:4,
  939. from /usr/src/linux-4.4.178/include/linux/module.h:9,
  940. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nvidia.mod.c:1:
  941. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  942. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
  943. cnts, cnts | _QW_LOCKED) == cnts);
  944. ^~
  945. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  946. # define likely(x) __builtin_expect(!!(x), 1)
  947. ^
  948. ld -r -m elf_x86_64 -z max-page-size=0x200000 -T /usr/src/linux-4.4.178/scripts/module-common.lds --build-id -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nvidia.ko /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nvidia.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nvidia.mod.o
  949. make[2]: Leaving directory '/usr/src/linux-4.4.178'
  950. make[1]: Leaving directory '/usr/src/linux-4.4.178'
  951. NVIDIA: left KBUILD.
  952. -> done.
  953. -> Building Unified Memory kernel module:
  954. executing: 'cd ./kernel/uvm; /usr/bin/make module SYSSRC=/lib/modules/4.4.178-porteus/source SYSOUT=/lib/modules/4.4.178-porteus/build NV_BUILD_MODULE_INSTANCES='...
  955. cp ../Module.symvers Module.symvers
  956. NVIDIA UVM: CC=cc, HOST_CC=cc NV_TARGET_ARCH=x86_64
  957. NVIDIA UVM: CONFTEST=/bin/sh ./conftest.sh cc cc x86_64 /lib/modules/4.4.178-porteus/source /lib/modules/4.4.178-porteus/build
  958. KERNEL_SOURCES: /lib/modules/4.4.178-porteus/source
  959. EXTRA_CFLAGS: -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I./.. -I. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.107" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia-uvm"
  960. NVIDIA: calling KBUILD...
  961. make[1]: Entering directory '/usr/src/linux-4.4.178'
  962. /usr/bin/make -C /lib/modules/4.4.178-porteus/build KBUILD_SRC=/usr/src/linux-4.4.178 \
  963. -f /usr/src/linux-4.4.178/Makefile modules
  964. make[2]: Entering directory '/usr/src/linux-4.4.178'
  965. test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
  966. echo >&2; \
  967. echo >&2 " ERROR: Kernel configuration is invalid."; \
  968. echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
  969. echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
  970. echo >&2 ; \
  971. /bin/false)
  972. mkdir -p /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.tmp_versions ; rm -f /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.tmp_versions/*
  973. /usr/bin/make -f /usr/src/linux-4.4.178/scripts/Makefile.build obj=/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm
  974. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.nvidia_uvm_linux.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -inclu
  975. de /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-contex
  976. t -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVR
  977. M -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia_uvm_linux)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia_uvm)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.c
  978. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  979. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  980. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  981. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  982. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  983. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  984. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  985. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  986. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  987. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  988. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.c:24:
  989. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  990. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
  991. cnts, cnts | _QW_LOCKED) == cnts);
  992. ^~
  993. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  994. # define likely(x) __builtin_expect(!!(x), 1)
  995. ^
  996. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  997. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  998. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  999. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  1000. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  1001. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  1002. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  1003. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  1004. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1005. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  1006. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.c:24:
  1007. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1008. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1009. ((val) == 1 || (val) == -1)) ? \
  1010. ^~
  1011. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1012. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1013. ^~~~~~~~~~~~~
  1014. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1015. case 1: stem##1(variable, __VA_ARGS__);break; \
  1016. ^~~~
  1017. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1018. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1019. ^~~~~~~~~~~~~~~~
  1020. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1021. this_cpu_add(*percpu_count, nr);
  1022. ^~~~~~~~~~~~
  1023. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1024. ((val) == 1 || (val) == -1)) ? \
  1025. ^~
  1026. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1027. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1028. ^~~~~~~~~~~~~
  1029. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1030. case 2: stem##2(variable, __VA_ARGS__);break; \
  1031. ^~~~
  1032. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1033. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1034. ^~~~~~~~~~~~~~~~
  1035. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1036. this_cpu_add(*percpu_count, nr);
  1037. ^~~~~~~~~~~~
  1038. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1039. ((val) == 1 || (val) == -1)) ? \
  1040. ^~
  1041. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1042. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1043. ^~~~~~~~~~~~~
  1044. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1045. case 4: stem##4(variable, __VA_ARGS__);break; \
  1046. ^~~~
  1047. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1048. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1049. ^~~~~~~~~~~~~~~~
  1050. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1051. this_cpu_add(*percpu_count, nr);
  1052. ^~~~~~~~~~~~
  1053. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1054. ((val) == 1 || (val) == -1)) ? \
  1055. ^~
  1056. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1057. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1058. ^~~~~~~~~~~~~
  1059. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1060. case 8: stem##8(variable, __VA_ARGS__);break; \
  1061. ^~~~
  1062. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1063. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1064. ^~~~~~~~~~~~~~~~
  1065. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1066. this_cpu_add(*percpu_count, nr);
  1067. ^~~~~~~~~~~~
  1068. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1069. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1070. ((val) == 1 || (val) == -1)) ? \
  1071. ^~
  1072. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1073. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1074. ^~~~~~~~~~~~~
  1075. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1076. case 1: stem##1(variable, __VA_ARGS__);break; \
  1077. ^~~~
  1078. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1079. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1080. ^~~~~~~~~~~~~~~~
  1081. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1082. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1083. ^~~~~~~~~~~~
  1084. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1085. this_cpu_sub(*percpu_count, nr);
  1086. ^~~~~~~~~~~~
  1087. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1088. ((val) == 1 || (val) == -1)) ? \
  1089. ^~
  1090. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1091. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1092. ^~~~~~~~~~~~~
  1093. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1094. case 2: stem##2(variable, __VA_ARGS__);break; \
  1095. ^~~~
  1096. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1097. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1098. ^~~~~~~~~~~~~~~~
  1099. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1100. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1101. ^~~~~~~~~~~~
  1102. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1103. this_cpu_sub(*percpu_count, nr);
  1104. ^~~~~~~~~~~~
  1105. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1106. ((val) == 1 || (val) == -1)) ? \
  1107. ^~
  1108. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1109. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1110. ^~~~~~~~~~~~~
  1111. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1112. case 4: stem##4(variable, __VA_ARGS__);break; \
  1113. ^~~~
  1114. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1115. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1116. ^~~~~~~~~~~~~~~~
  1117. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1118. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1119. ^~~~~~~~~~~~
  1120. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1121. this_cpu_sub(*percpu_count, nr);
  1122. ^~~~~~~~~~~~
  1123. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1124. ((val) == 1 || (val) == -1)) ? \
  1125. ^~
  1126. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1127. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1128. ^~~~~~~~~~~~~
  1129. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1130. case 8: stem##8(variable, __VA_ARGS__);break; \
  1131. ^~~~
  1132. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1133. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1134. ^~~~~~~~~~~~~~~~
  1135. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1136. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1137. ^~~~~~~~~~~~
  1138. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1139. this_cpu_sub(*percpu_count, nr);
  1140. ^~~~~~~~~~~~
  1141. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1142. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1143. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1144. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1145. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1146. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1147. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1148. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1149. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1150. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  1151. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.c:24:
  1152. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1153. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  1154. if (likely(sz < 0 || sz >= n))
  1155. ^~
  1156. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1157. # define likely(x) __builtin_expect(!!(x), 1)
  1158. ^
  1159. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1160. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  1161. if (likely(sz < 0 || sz >= n))
  1162. ^~
  1163. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1164. # define likely(x) __builtin_expect(!!(x), 1)
  1165. ^
  1166. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.nvidia_uvm_common.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_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_SHA
  1167. 1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLin
  1168. ux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia_uvm_common)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia_uvm)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.c
  1169. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1170. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1171. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1172. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1173. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1174. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1175. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1176. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1177. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1178. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  1179. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
  1180. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.c:41:
  1181. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1182. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
  1183. cnts, cnts | _QW_LOCKED) == cnts);
  1184. ^~
  1185. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1186. # define likely(x) __builtin_expect(!!(x), 1)
  1187. ^
  1188. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  1189. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  1190. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  1191. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  1192. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  1193. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  1194. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  1195. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  1196. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1197. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  1198. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
  1199. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.c:41:
  1200. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1201. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1202. ((val) == 1 || (val) == -1)) ? \
  1203. ^~
  1204. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1205. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1206. ^~~~~~~~~~~~~
  1207. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1208. case 1: stem##1(variable, __VA_ARGS__);break; \
  1209. ^~~~
  1210. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1211. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1212. ^~~~~~~~~~~~~~~~
  1213. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1214. this_cpu_add(*percpu_count, nr);
  1215. ^~~~~~~~~~~~
  1216. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1217. ((val) == 1 || (val) == -1)) ? \
  1218. ^~
  1219. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1220. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1221. ^~~~~~~~~~~~~
  1222. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1223. case 2: stem##2(variable, __VA_ARGS__);break; \
  1224. ^~~~
  1225. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1226. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1227. ^~~~~~~~~~~~~~~~
  1228. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1229. this_cpu_add(*percpu_count, nr);
  1230. ^~~~~~~~~~~~
  1231. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1232. ((val) == 1 || (val) == -1)) ? \
  1233. ^~
  1234. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1235. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1236. ^~~~~~~~~~~~~
  1237. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1238. case 4: stem##4(variable, __VA_ARGS__);break; \
  1239. ^~~~
  1240. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1241. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1242. ^~~~~~~~~~~~~~~~
  1243. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1244. this_cpu_add(*percpu_count, nr);
  1245. ^~~~~~~~~~~~
  1246. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1247. ((val) == 1 || (val) == -1)) ? \
  1248. ^~
  1249. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1250. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1251. ^~~~~~~~~~~~~
  1252. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1253. case 8: stem##8(variable, __VA_ARGS__);break; \
  1254. ^~~~
  1255. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1256. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1257. ^~~~~~~~~~~~~~~~
  1258. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1259. this_cpu_add(*percpu_count, nr);
  1260. ^~~~~~~~~~~~
  1261. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1262. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1263. ((val) == 1 || (val) == -1)) ? \
  1264. ^~
  1265. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1266. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1267. ^~~~~~~~~~~~~
  1268. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1269. case 1: stem##1(variable, __VA_ARGS__);break; \
  1270. ^~~~
  1271. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1272. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1273. ^~~~~~~~~~~~~~~~
  1274. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1275. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1276. ^~~~~~~~~~~~
  1277. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1278. this_cpu_sub(*percpu_count, nr);
  1279. ^~~~~~~~~~~~
  1280. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1281. ((val) == 1 || (val) == -1)) ? \
  1282. ^~
  1283. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1284. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1285. ^~~~~~~~~~~~~
  1286. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1287. case 2: stem##2(variable, __VA_ARGS__);break; \
  1288. ^~~~
  1289. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1290. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1291. ^~~~~~~~~~~~~~~~
  1292. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1293. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1294. ^~~~~~~~~~~~
  1295. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1296. this_cpu_sub(*percpu_count, nr);
  1297. ^~~~~~~~~~~~
  1298. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1299. ((val) == 1 || (val) == -1)) ? \
  1300. ^~
  1301. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1302. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1303. ^~~~~~~~~~~~~
  1304. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1305. case 4: stem##4(variable, __VA_ARGS__);break; \
  1306. ^~~~
  1307. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1308. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1309. ^~~~~~~~~~~~~~~~
  1310. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1311. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1312. ^~~~~~~~~~~~
  1313. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1314. this_cpu_sub(*percpu_count, nr);
  1315. ^~~~~~~~~~~~
  1316. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1317. ((val) == 1 || (val) == -1)) ? \
  1318. ^~
  1319. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1320. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1321. ^~~~~~~~~~~~~
  1322. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1323. case 8: stem##8(variable, __VA_ARGS__);break; \
  1324. ^~~~
  1325. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1326. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1327. ^~~~~~~~~~~~~~~~
  1328. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1329. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1330. ^~~~~~~~~~~~
  1331. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1332. this_cpu_sub(*percpu_count, nr);
  1333. ^~~~~~~~~~~~
  1334. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1335. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1336. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1337. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1338. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1339. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1340. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1341. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1342. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1343. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  1344. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
  1345. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.c:41:
  1346. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1347. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  1348. if (likely(sz < 0 || sz >= n))
  1349. ^~
  1350. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1351. # define likely(x) __builtin_expect(!!(x), 1)
  1352. ^
  1353. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1354. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  1355. if (likely(sz < 0 || sz >= n))
  1356. ^~
  1357. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1358. # define likely(x) __builtin_expect(!!(x), 1)
  1359. ^
  1360. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.nvidia_uvm_utils.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -D_
  1361. _KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stac
  1362. k-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmode
  1363. l=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia_uvm_utils)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia_uvm)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_utils.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_utils.c
  1364. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1365. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1366. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1367. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1368. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1369. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1370. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1371. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1372. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1373. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  1374. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25:
  1375. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1376. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
  1377. cnts, cnts | _QW_LOCKED) == cnts);
  1378. ^~
  1379. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1380. # define likely(x) __builtin_expect(!!(x), 1)
  1381. ^
  1382. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  1383. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  1384. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  1385. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  1386. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  1387. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  1388. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  1389. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  1390. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1391. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  1392. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25:
  1393. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1394. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1395. ((val) == 1 || (val) == -1)) ? \
  1396. ^~
  1397. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1398. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1399. ^~~~~~~~~~~~~
  1400. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1401. case 1: stem##1(variable, __VA_ARGS__);break; \
  1402. ^~~~
  1403. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1404. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1405. ^~~~~~~~~~~~~~~~
  1406. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1407. this_cpu_add(*percpu_count, nr);
  1408. ^~~~~~~~~~~~
  1409. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1410. ((val) == 1 || (val) == -1)) ? \
  1411. ^~
  1412. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1413. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1414. ^~~~~~~~~~~~~
  1415. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1416. case 2: stem##2(variable, __VA_ARGS__);break; \
  1417. ^~~~
  1418. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1419. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1420. ^~~~~~~~~~~~~~~~
  1421. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1422. this_cpu_add(*percpu_count, nr);
  1423. ^~~~~~~~~~~~
  1424. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1425. ((val) == 1 || (val) == -1)) ? \
  1426. ^~
  1427. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1428. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1429. ^~~~~~~~~~~~~
  1430. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1431. case 4: stem##4(variable, __VA_ARGS__);break; \
  1432. ^~~~
  1433. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1434. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1435. ^~~~~~~~~~~~~~~~
  1436. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1437. this_cpu_add(*percpu_count, nr);
  1438. ^~~~~~~~~~~~
  1439. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1440. ((val) == 1 || (val) == -1)) ? \
  1441. ^~
  1442. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1443. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1444. ^~~~~~~~~~~~~
  1445. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1446. case 8: stem##8(variable, __VA_ARGS__);break; \
  1447. ^~~~
  1448. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1449. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1450. ^~~~~~~~~~~~~~~~
  1451. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1452. this_cpu_add(*percpu_count, nr);
  1453. ^~~~~~~~~~~~
  1454. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1455. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1456. ((val) == 1 || (val) == -1)) ? \
  1457. ^~
  1458. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1459. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1460. ^~~~~~~~~~~~~
  1461. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1462. case 1: stem##1(variable, __VA_ARGS__);break; \
  1463. ^~~~
  1464. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1465. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1466. ^~~~~~~~~~~~~~~~
  1467. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1468. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1469. ^~~~~~~~~~~~
  1470. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1471. this_cpu_sub(*percpu_count, nr);
  1472. ^~~~~~~~~~~~
  1473. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1474. ((val) == 1 || (val) == -1)) ? \
  1475. ^~
  1476. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1477. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1478. ^~~~~~~~~~~~~
  1479. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1480. case 2: stem##2(variable, __VA_ARGS__);break; \
  1481. ^~~~
  1482. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/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-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1492. ((val) == 1 || (val) == -1)) ? \
  1493. ^~
  1494. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1495. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1496. ^~~~~~~~~~~~~
  1497. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1498. case 4: stem##4(variable, __VA_ARGS__);break; \
  1499. ^~~~
  1500. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/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-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1510. ((val) == 1 || (val) == -1)) ? \
  1511. ^~
  1512. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1513. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1514. ^~~~~~~~~~~~~
  1515. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1516. case 8: stem##8(variable, __VA_ARGS__);break; \
  1517. ^~~~
  1518. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1525. this_cpu_sub(*percpu_count, nr);
  1526. ^~~~~~~~~~~~
  1527. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1528. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1529. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1530. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1531. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1532. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1533. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1534. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1535. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1536. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  1537. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25:
  1538. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1539. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  1540. if (likely(sz < 0 || sz >= n))
  1541. ^~
  1542. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1543. # define likely(x) __builtin_expect(!!(x), 1)
  1544. ^
  1545. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1546. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  1547. if (likely(sz < 0 || sz >= n))
  1548. ^~
  1549. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1550. # define likely(x) __builtin_expect(!!(x), 1)
  1551. ^
  1552. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.nvidia_uvm_lite.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/s
  1553. rc/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_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 -mindirect-branch=thunk-exte
  1554. rn -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-
  1555. Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia_uvm_lite)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia_uvm)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite.c
  1556. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1557. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1558. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1559. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1560. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1561. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1562. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1563. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1564. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1565. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  1566. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
  1567. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26:
  1568. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1569. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
  1570. cnts, cnts | _QW_LOCKED) == cnts);
  1571. ^~
  1572. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1573. # define likely(x) __builtin_expect(!!(x), 1)
  1574. ^
  1575. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  1576. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  1577. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  1578. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  1579. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  1580. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  1581. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  1582. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  1583. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1584. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  1585. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
  1586. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26:
  1587. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1588. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1589. ((val) == 1 || (val) == -1)) ? \
  1590. ^~
  1591. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1592. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1593. ^~~~~~~~~~~~~
  1594. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1595. case 1: stem##1(variable, __VA_ARGS__);break; \
  1596. ^~~~
  1597. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1598. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1599. ^~~~~~~~~~~~~~~~
  1600. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1601. this_cpu_add(*percpu_count, nr);
  1602. ^~~~~~~~~~~~
  1603. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1604. ((val) == 1 || (val) == -1)) ? \
  1605. ^~
  1606. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1607. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1608. ^~~~~~~~~~~~~
  1609. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1610. case 2: stem##2(variable, __VA_ARGS__);break; \
  1611. ^~~~
  1612. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1613. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1614. ^~~~~~~~~~~~~~~~
  1615. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1616. this_cpu_add(*percpu_count, nr);
  1617. ^~~~~~~~~~~~
  1618. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1619. ((val) == 1 || (val) == -1)) ? \
  1620. ^~
  1621. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1622. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1623. ^~~~~~~~~~~~~
  1624. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1625. case 4: stem##4(variable, __VA_ARGS__);break; \
  1626. ^~~~
  1627. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1628. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1629. ^~~~~~~~~~~~~~~~
  1630. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1631. this_cpu_add(*percpu_count, nr);
  1632. ^~~~~~~~~~~~
  1633. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1634. ((val) == 1 || (val) == -1)) ? \
  1635. ^~
  1636. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1637. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1638. ^~~~~~~~~~~~~
  1639. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1640. case 8: stem##8(variable, __VA_ARGS__);break; \
  1641. ^~~~
  1642. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1643. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1644. ^~~~~~~~~~~~~~~~
  1645. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1646. this_cpu_add(*percpu_count, nr);
  1647. ^~~~~~~~~~~~
  1648. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1649. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1650. ((val) == 1 || (val) == -1)) ? \
  1651. ^~
  1652. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1653. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1654. ^~~~~~~~~~~~~
  1655. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1656. case 1: stem##1(variable, __VA_ARGS__);break; \
  1657. ^~~~
  1658. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1662. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1663. ^~~~~~~~~~~~
  1664. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1665. this_cpu_sub(*percpu_count, nr);
  1666. ^~~~~~~~~~~~
  1667. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1668. ((val) == 1 || (val) == -1)) ? \
  1669. ^~
  1670. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1671. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1672. ^~~~~~~~~~~~~
  1673. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1674. case 2: stem##2(variable, __VA_ARGS__);break; \
  1675. ^~~~
  1676. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1677. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1678. ^~~~~~~~~~~~~~~~
  1679. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1680. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1681. ^~~~~~~~~~~~
  1682. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1683. this_cpu_sub(*percpu_count, nr);
  1684. ^~~~~~~~~~~~
  1685. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1686. ((val) == 1 || (val) == -1)) ? \
  1687. ^~
  1688. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1689. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1690. ^~~~~~~~~~~~~
  1691. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1692. case 4: stem##4(variable, __VA_ARGS__);break; \
  1693. ^~~~
  1694. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1695. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1696. ^~~~~~~~~~~~~~~~
  1697. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1698. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1699. ^~~~~~~~~~~~
  1700. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1701. this_cpu_sub(*percpu_count, nr);
  1702. ^~~~~~~~~~~~
  1703. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1704. ((val) == 1 || (val) == -1)) ? \
  1705. ^~
  1706. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1707. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1708. ^~~~~~~~~~~~~
  1709. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1710. case 8: stem##8(variable, __VA_ARGS__);break; \
  1711. ^~~~
  1712. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1713. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1714. ^~~~~~~~~~~~~~~~
  1715. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1716. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1717. ^~~~~~~~~~~~
  1718. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1719. this_cpu_sub(*percpu_count, nr);
  1720. ^~~~~~~~~~~~
  1721. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1722. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1723. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1724. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1725. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1726. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1727. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1728. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1729. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1730. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  1731. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
  1732. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26:
  1733. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1734. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  1735. if (likely(sz < 0 || sz >= n))
  1736. ^~
  1737. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1738. # define likely(x) __builtin_expect(!!(x), 1)
  1739. ^
  1740. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1741. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  1742. if (likely(sz < 0 || sz >= n))
  1743. ^~
  1744. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1745. # define likely(x) __builtin_expect(!!(x), 1)
  1746. ^
  1747. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.nvidia_uvm_page_cache.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-decl
  1748. aration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wd
  1749. eclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUIL
  1750. D_STR(nvidia_uvm_page_cache)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia_uvm)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_page_cache.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c
  1751. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1752. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1753. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1754. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1755. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1756. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1757. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1758. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1759. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1760. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  1761. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
  1762. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25:
  1763. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1764. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
  1765. cnts, cnts | _QW_LOCKED) == cnts);
  1766. ^~
  1767. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1768. # define likely(x) __builtin_expect(!!(x), 1)
  1769. ^
  1770. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  1771. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  1772. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  1773. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  1774. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  1775. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  1776. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  1777. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  1778. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1779. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  1780. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
  1781. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25:
  1782. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1783. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1784. ((val) == 1 || (val) == -1)) ? \
  1785. ^~
  1786. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1787. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1788. ^~~~~~~~~~~~~
  1789. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1790. case 1: stem##1(variable, __VA_ARGS__);break; \
  1791. ^~~~
  1792. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1793. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1794. ^~~~~~~~~~~~~~~~
  1795. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1796. this_cpu_add(*percpu_count, nr);
  1797. ^~~~~~~~~~~~
  1798. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1799. ((val) == 1 || (val) == -1)) ? \
  1800. ^~
  1801. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1802. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1803. ^~~~~~~~~~~~~
  1804. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1805. case 2: stem##2(variable, __VA_ARGS__);break; \
  1806. ^~~~
  1807. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1808. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1809. ^~~~~~~~~~~~~~~~
  1810. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1811. this_cpu_add(*percpu_count, nr);
  1812. ^~~~~~~~~~~~
  1813. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1814. ((val) == 1 || (val) == -1)) ? \
  1815. ^~
  1816. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1817. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1818. ^~~~~~~~~~~~~
  1819. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1820. case 4: stem##4(variable, __VA_ARGS__);break; \
  1821. ^~~~
  1822. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1823. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1824. ^~~~~~~~~~~~~~~~
  1825. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1826. this_cpu_add(*percpu_count, nr);
  1827. ^~~~~~~~~~~~
  1828. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1829. ((val) == 1 || (val) == -1)) ? \
  1830. ^~
  1831. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1832. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1833. ^~~~~~~~~~~~~
  1834. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1835. case 8: stem##8(variable, __VA_ARGS__);break; \
  1836. ^~~~
  1837. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1838. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1839. ^~~~~~~~~~~~~~~~
  1840. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1841. this_cpu_add(*percpu_count, nr);
  1842. ^~~~~~~~~~~~
  1843. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1844. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1845. ((val) == 1 || (val) == -1)) ? \
  1846. ^~
  1847. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1848. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1849. ^~~~~~~~~~~~~
  1850. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1851. case 1: stem##1(variable, __VA_ARGS__);break; \
  1852. ^~~~
  1853. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1854. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1855. ^~~~~~~~~~~~~~~~
  1856. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1857. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1858. ^~~~~~~~~~~~
  1859. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1860. this_cpu_sub(*percpu_count, nr);
  1861. ^~~~~~~~~~~~
  1862. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1863. ((val) == 1 || (val) == -1)) ? \
  1864. ^~
  1865. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1866. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1867. ^~~~~~~~~~~~~
  1868. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1869. case 2: stem##2(variable, __VA_ARGS__);break; \
  1870. ^~~~
  1871. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1872. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1873. ^~~~~~~~~~~~~~~~
  1874. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1875. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1876. ^~~~~~~~~~~~
  1877. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1878. this_cpu_sub(*percpu_count, nr);
  1879. ^~~~~~~~~~~~
  1880. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1881. ((val) == 1 || (val) == -1)) ? \
  1882. ^~
  1883. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1884. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1885. ^~~~~~~~~~~~~
  1886. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1887. case 4: stem##4(variable, __VA_ARGS__);break; \
  1888. ^~~~
  1889. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1890. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1891. ^~~~~~~~~~~~~~~~
  1892. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1893. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1894. ^~~~~~~~~~~~
  1895. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1896. this_cpu_sub(*percpu_count, nr);
  1897. ^~~~~~~~~~~~
  1898. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1899. ((val) == 1 || (val) == -1)) ? \
  1900. ^~
  1901. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1902. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1903. ^~~~~~~~~~~~~
  1904. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1905. case 8: stem##8(variable, __VA_ARGS__);break; \
  1906. ^~~~
  1907. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1908. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1909. ^~~~~~~~~~~~~~~~
  1910. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1911. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1912. ^~~~~~~~~~~~
  1913. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1914. this_cpu_sub(*percpu_count, nr);
  1915. ^~~~~~~~~~~~
  1916. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1917. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1918. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1919. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1920. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1921. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1922. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1923. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1924. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1925. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  1926. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
  1927. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25:
  1928. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1929. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  1930. if (likely(sz < 0 || sz >= n))
  1931. ^~
  1932. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1933. # define likely(x) __builtin_expect(!!(x), 1)
  1934. ^
  1935. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1936. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  1937. if (likely(sz < 0 || sz >= n))
  1938. ^~
  1939. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1940. # define likely(x) __builtin_expect(!!(x), 1)
  1941. ^
  1942. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.nvidia_uvm_lite_api.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS
  1943. _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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel
  1944. /uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia_uvm_lite_api)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia_uvm)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite_api.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c
  1945. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1946. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1947. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1948. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1949. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1950. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1951. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1952. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1953. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1954. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  1955. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
  1956. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25:
  1957. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1958. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
  1959. cnts, cnts | _QW_LOCKED) == cnts);
  1960. ^~
  1961. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1962. # define likely(x) __builtin_expect(!!(x), 1)
  1963. ^
  1964. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  1965. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  1966. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  1967. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  1968. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  1969. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  1970. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  1971. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  1972. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1973. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  1974. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
  1975. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25:
  1976. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1977. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1978. ((val) == 1 || (val) == -1)) ? \
  1979. ^~
  1980. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1981. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1982. ^~~~~~~~~~~~~
  1983. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1984. case 1: stem##1(variable, __VA_ARGS__);break; \
  1985. ^~~~
  1986. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1987. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1988. ^~~~~~~~~~~~~~~~
  1989. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1990. this_cpu_add(*percpu_count, nr);
  1991. ^~~~~~~~~~~~
  1992. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1993. ((val) == 1 || (val) == -1)) ? \
  1994. ^~
  1995. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1996. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1997. ^~~~~~~~~~~~~
  1998. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1999. case 2: stem##2(variable, __VA_ARGS__);break; \
  2000. ^~~~
  2001. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2002. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2003. ^~~~~~~~~~~~~~~~
  2004. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2005. this_cpu_add(*percpu_count, nr);
  2006. ^~~~~~~~~~~~
  2007. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2008. ((val) == 1 || (val) == -1)) ? \
  2009. ^~
  2010. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2011. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2012. ^~~~~~~~~~~~~
  2013. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2014. case 4: stem##4(variable, __VA_ARGS__);break; \
  2015. ^~~~
  2016. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2017. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2018. ^~~~~~~~~~~~~~~~
  2019. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2020. this_cpu_add(*percpu_count, nr);
  2021. ^~~~~~~~~~~~
  2022. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2023. ((val) == 1 || (val) == -1)) ? \
  2024. ^~
  2025. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2026. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2027. ^~~~~~~~~~~~~
  2028. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2029. case 8: stem##8(variable, __VA_ARGS__);break; \
  2030. ^~~~
  2031. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2032. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2033. ^~~~~~~~~~~~~~~~
  2034. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2035. this_cpu_add(*percpu_count, nr);
  2036. ^~~~~~~~~~~~
  2037. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  2038. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2039. ((val) == 1 || (val) == -1)) ? \
  2040. ^~
  2041. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2042. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2043. ^~~~~~~~~~~~~
  2044. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  2045. case 1: stem##1(variable, __VA_ARGS__);break; \
  2046. ^~~~
  2047. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2048. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2049. ^~~~~~~~~~~~~~~~
  2050. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2051. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2052. ^~~~~~~~~~~~
  2053. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2054. this_cpu_sub(*percpu_count, nr);
  2055. ^~~~~~~~~~~~
  2056. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2057. ((val) == 1 || (val) == -1)) ? \
  2058. ^~
  2059. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2060. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2061. ^~~~~~~~~~~~~
  2062. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  2063. case 2: stem##2(variable, __VA_ARGS__);break; \
  2064. ^~~~
  2065. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2066. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2067. ^~~~~~~~~~~~~~~~
  2068. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2069. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2070. ^~~~~~~~~~~~
  2071. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2072. this_cpu_sub(*percpu_count, nr);
  2073. ^~~~~~~~~~~~
  2074. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2075. ((val) == 1 || (val) == -1)) ? \
  2076. ^~
  2077. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2078. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2079. ^~~~~~~~~~~~~
  2080. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2081. case 4: stem##4(variable, __VA_ARGS__);break; \
  2082. ^~~~
  2083. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2084. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2085. ^~~~~~~~~~~~~~~~
  2086. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2087. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2088. ^~~~~~~~~~~~
  2089. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2090. this_cpu_sub(*percpu_count, nr);
  2091. ^~~~~~~~~~~~
  2092. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2093. ((val) == 1 || (val) == -1)) ? \
  2094. ^~
  2095. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2096. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2097. ^~~~~~~~~~~~~
  2098. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2099. case 8: stem##8(variable, __VA_ARGS__);break; \
  2100. ^~~~
  2101. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2102. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2103. ^~~~~~~~~~~~~~~~
  2104. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2105. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2106. ^~~~~~~~~~~~
  2107. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2108. this_cpu_sub(*percpu_count, nr);
  2109. ^~~~~~~~~~~~
  2110. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  2111. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  2112. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  2113. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  2114. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  2115. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  2116. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  2117. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  2118. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2119. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  2120. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
  2121. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25:
  2122. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  2123. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  2124. if (likely(sz < 0 || sz >= n))
  2125. ^~
  2126. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2127. # define likely(x) __builtin_expect(!!(x), 1)
  2128. ^
  2129. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  2130. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  2131. if (likely(sz < 0 || sz >= n))
  2132. ^~
  2133. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2134. # define likely(x) __builtin_expect(!!(x), 1)
  2135. ^
  2136. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.nvidia_uvm_lite_counters.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/u
  2137. api -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-b
  2138. ool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMO
  2139. DULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia_uvm_lite_counters)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia_uvm)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c
  2140. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  2141. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  2142. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  2143. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  2144. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  2145. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  2146. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  2147. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  2148. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2149. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  2150. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
  2151. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28:
  2152. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  2153. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
  2154. cnts, cnts | _QW_LOCKED) == cnts);
  2155. ^~
  2156. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2157. # define likely(x) __builtin_expect(!!(x), 1)
  2158. ^
  2159. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  2160. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  2161. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  2162. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  2163. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  2164. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  2165. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  2166. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  2167. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2168. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  2169. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
  2170. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28:
  2171. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  2172. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2173. ((val) == 1 || (val) == -1)) ? \
  2174. ^~
  2175. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2176. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2177. ^~~~~~~~~~~~~
  2178. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  2179. case 1: stem##1(variable, __VA_ARGS__);break; \
  2180. ^~~~
  2181. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2182. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2183. ^~~~~~~~~~~~~~~~
  2184. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2185. this_cpu_add(*percpu_count, nr);
  2186. ^~~~~~~~~~~~
  2187. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2188. ((val) == 1 || (val) == -1)) ? \
  2189. ^~
  2190. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2191. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2192. ^~~~~~~~~~~~~
  2193. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  2194. case 2: stem##2(variable, __VA_ARGS__);break; \
  2195. ^~~~
  2196. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2197. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2198. ^~~~~~~~~~~~~~~~
  2199. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2200. this_cpu_add(*percpu_count, nr);
  2201. ^~~~~~~~~~~~
  2202. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2203. ((val) == 1 || (val) == -1)) ? \
  2204. ^~
  2205. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2206. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2207. ^~~~~~~~~~~~~
  2208. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2209. case 4: stem##4(variable, __VA_ARGS__);break; \
  2210. ^~~~
  2211. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2212. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2213. ^~~~~~~~~~~~~~~~
  2214. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2215. this_cpu_add(*percpu_count, nr);
  2216. ^~~~~~~~~~~~
  2217. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2218. ((val) == 1 || (val) == -1)) ? \
  2219. ^~
  2220. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2221. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2222. ^~~~~~~~~~~~~
  2223. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2224. case 8: stem##8(variable, __VA_ARGS__);break; \
  2225. ^~~~
  2226. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2227. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2228. ^~~~~~~~~~~~~~~~
  2229. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2230. this_cpu_add(*percpu_count, nr);
  2231. ^~~~~~~~~~~~
  2232. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  2233. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2234. ((val) == 1 || (val) == -1)) ? \
  2235. ^~
  2236. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2237. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2238. ^~~~~~~~~~~~~
  2239. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  2240. case 1: stem##1(variable, __VA_ARGS__);break; \
  2241. ^~~~
  2242. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2243. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2244. ^~~~~~~~~~~~~~~~
  2245. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2246. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2247. ^~~~~~~~~~~~
  2248. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2249. this_cpu_sub(*percpu_count, nr);
  2250. ^~~~~~~~~~~~
  2251. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2252. ((val) == 1 || (val) == -1)) ? \
  2253. ^~
  2254. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2255. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2256. ^~~~~~~~~~~~~
  2257. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  2258. case 2: stem##2(variable, __VA_ARGS__);break; \
  2259. ^~~~
  2260. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2261. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2262. ^~~~~~~~~~~~~~~~
  2263. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2264. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2265. ^~~~~~~~~~~~
  2266. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2267. this_cpu_sub(*percpu_count, nr);
  2268. ^~~~~~~~~~~~
  2269. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2270. ((val) == 1 || (val) == -1)) ? \
  2271. ^~
  2272. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2273. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2274. ^~~~~~~~~~~~~
  2275. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2276. case 4: stem##4(variable, __VA_ARGS__);break; \
  2277. ^~~~
  2278. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2279. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2280. ^~~~~~~~~~~~~~~~
  2281. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2282. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2283. ^~~~~~~~~~~~
  2284. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2285. this_cpu_sub(*percpu_count, nr);
  2286. ^~~~~~~~~~~~
  2287. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2288. ((val) == 1 || (val) == -1)) ? \
  2289. ^~
  2290. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2291. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2292. ^~~~~~~~~~~~~
  2293. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2294. case 8: stem##8(variable, __VA_ARGS__);break; \
  2295. ^~~~
  2296. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2297. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2298. ^~~~~~~~~~~~~~~~
  2299. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2300. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2301. ^~~~~~~~~~~~
  2302. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2303. this_cpu_sub(*percpu_count, nr);
  2304. ^~~~~~~~~~~~
  2305. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  2306. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  2307. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  2308. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  2309. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  2310. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  2311. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  2312. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  2313. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2314. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  2315. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
  2316. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28:
  2317. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  2318. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  2319. if (likely(sz < 0 || sz >= n))
  2320. ^~
  2321. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2322. # define likely(x) __builtin_expect(!!(x), 1)
  2323. ^
  2324. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  2325. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  2326. if (likely(sz < 0 || sz >= n))
  2327. ^~
  2328. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2329. # define likely(x) __builtin_expect(!!(x), 1)
  2330. ^
  2331. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.nvidia_page_migration.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -fa
  2332. lign-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_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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmer
  2333. ge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia_page_migration)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia_uvm)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat
  2334. 32/kernel/uvm/nvidia_page_migration.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_page_migration.c
  2335. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  2336. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  2337. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  2338. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  2339. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  2340. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  2341. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  2342. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  2343. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2344. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  2345. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_page_migration.c:28:
  2346. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  2347. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
  2348. cnts, cnts | _QW_LOCKED) == cnts);
  2349. ^~
  2350. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2351. # define likely(x) __builtin_expect(!!(x), 1)
  2352. ^
  2353. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  2354. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  2355. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  2356. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  2357. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  2358. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  2359. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  2360. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  2361. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2362. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  2363. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_page_migration.c:28:
  2364. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  2365. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2366. ((val) == 1 || (val) == -1)) ? \
  2367. ^~
  2368. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2369. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2370. ^~~~~~~~~~~~~
  2371. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  2372. case 1: stem##1(variable, __VA_ARGS__);break; \
  2373. ^~~~
  2374. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2375. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2376. ^~~~~~~~~~~~~~~~
  2377. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2378. this_cpu_add(*percpu_count, nr);
  2379. ^~~~~~~~~~~~
  2380. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2381. ((val) == 1 || (val) == -1)) ? \
  2382. ^~
  2383. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2384. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2385. ^~~~~~~~~~~~~
  2386. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  2387. case 2: stem##2(variable, __VA_ARGS__);break; \
  2388. ^~~~
  2389. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2390. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2391. ^~~~~~~~~~~~~~~~
  2392. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2393. this_cpu_add(*percpu_count, nr);
  2394. ^~~~~~~~~~~~
  2395. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2396. ((val) == 1 || (val) == -1)) ? \
  2397. ^~
  2398. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2399. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2400. ^~~~~~~~~~~~~
  2401. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2402. case 4: stem##4(variable, __VA_ARGS__);break; \
  2403. ^~~~
  2404. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2405. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2406. ^~~~~~~~~~~~~~~~
  2407. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2408. this_cpu_add(*percpu_count, nr);
  2409. ^~~~~~~~~~~~
  2410. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2411. ((val) == 1 || (val) == -1)) ? \
  2412. ^~
  2413. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2414. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2415. ^~~~~~~~~~~~~
  2416. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2417. case 8: stem##8(variable, __VA_ARGS__);break; \
  2418. ^~~~
  2419. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2420. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2421. ^~~~~~~~~~~~~~~~
  2422. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2423. this_cpu_add(*percpu_count, nr);
  2424. ^~~~~~~~~~~~
  2425. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  2426. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2427. ((val) == 1 || (val) == -1)) ? \
  2428. ^~
  2429. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2430. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2431. ^~~~~~~~~~~~~
  2432. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  2433. case 1: stem##1(variable, __VA_ARGS__);break; \
  2434. ^~~~
  2435. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2436. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2437. ^~~~~~~~~~~~~~~~
  2438. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2439. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2440. ^~~~~~~~~~~~
  2441. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2442. this_cpu_sub(*percpu_count, nr);
  2443. ^~~~~~~~~~~~
  2444. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2445. ((val) == 1 || (val) == -1)) ? \
  2446. ^~
  2447. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2448. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2449. ^~~~~~~~~~~~~
  2450. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  2451. case 2: stem##2(variable, __VA_ARGS__);break; \
  2452. ^~~~
  2453. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2454. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2455. ^~~~~~~~~~~~~~~~
  2456. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2457. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2458. ^~~~~~~~~~~~
  2459. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2460. this_cpu_sub(*percpu_count, nr);
  2461. ^~~~~~~~~~~~
  2462. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2463. ((val) == 1 || (val) == -1)) ? \
  2464. ^~
  2465. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2466. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2467. ^~~~~~~~~~~~~
  2468. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2469. case 4: stem##4(variable, __VA_ARGS__);break; \
  2470. ^~~~
  2471. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2472. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2473. ^~~~~~~~~~~~~~~~
  2474. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2475. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2476. ^~~~~~~~~~~~
  2477. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2478. this_cpu_sub(*percpu_count, nr);
  2479. ^~~~~~~~~~~~
  2480. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2481. ((val) == 1 || (val) == -1)) ? \
  2482. ^~
  2483. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2484. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2485. ^~~~~~~~~~~~~
  2486. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2487. case 8: stem##8(variable, __VA_ARGS__);break; \
  2488. ^~~~
  2489. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2490. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2491. ^~~~~~~~~~~~~~~~
  2492. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2493. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2494. ^~~~~~~~~~~~
  2495. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2496. this_cpu_sub(*percpu_count, nr);
  2497. ^~~~~~~~~~~~
  2498. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  2499. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  2500. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  2501. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  2502. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  2503. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  2504. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  2505. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  2506. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2507. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  2508. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_page_migration.c:28:
  2509. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  2510. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  2511. if (likely(sz < 0 || sz >= n))
  2512. ^~
  2513. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2514. # define likely(x) __builtin_expect(!!(x), 1)
  2515. ^
  2516. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  2517. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  2518. if (likely(sz < 0 || sz >= n))
  2519. ^~
  2520. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2521. # define likely(x) __builtin_expect(!!(x), 1)
  2522. ^
  2523. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.nvidia_page_migration_kepler.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/lin
  2524. ux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribut
  2525. e-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_
  2526. STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia_page_migration_kepler)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia_uvm)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_page_migration_kepler.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_page_migration_kepler.c
  2527. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.nvidia_uvm_lite_events.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_
  2528. 64-340.107-no-compat32/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GO
  2529. TO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-
  2530. strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia_uvm_lite_events)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia_uvm)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite_events.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c
  2531. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  2532. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  2533. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  2534. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  2535. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  2536. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  2537. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  2538. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  2539. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2540. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  2541. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
  2542. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25:
  2543. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  2544. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
  2545. cnts, cnts | _QW_LOCKED) == cnts);
  2546. ^~
  2547. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2548. # define likely(x) __builtin_expect(!!(x), 1)
  2549. ^
  2550. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  2551. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  2552. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  2553. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  2554. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  2555. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  2556. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  2557. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  2558. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2559. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  2560. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
  2561. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25:
  2562. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  2563. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2564. ((val) == 1 || (val) == -1)) ? \
  2565. ^~
  2566. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2567. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2568. ^~~~~~~~~~~~~
  2569. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  2570. case 1: stem##1(variable, __VA_ARGS__);break; \
  2571. ^~~~
  2572. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2573. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2574. ^~~~~~~~~~~~~~~~
  2575. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2576. this_cpu_add(*percpu_count, nr);
  2577. ^~~~~~~~~~~~
  2578. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2579. ((val) == 1 || (val) == -1)) ? \
  2580. ^~
  2581. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2582. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2583. ^~~~~~~~~~~~~
  2584. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  2585. case 2: stem##2(variable, __VA_ARGS__);break; \
  2586. ^~~~
  2587. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2588. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2589. ^~~~~~~~~~~~~~~~
  2590. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2591. this_cpu_add(*percpu_count, nr);
  2592. ^~~~~~~~~~~~
  2593. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2594. ((val) == 1 || (val) == -1)) ? \
  2595. ^~
  2596. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2597. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2598. ^~~~~~~~~~~~~
  2599. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2600. case 4: stem##4(variable, __VA_ARGS__);break; \
  2601. ^~~~
  2602. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2603. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2604. ^~~~~~~~~~~~~~~~
  2605. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2606. this_cpu_add(*percpu_count, nr);
  2607. ^~~~~~~~~~~~
  2608. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2609. ((val) == 1 || (val) == -1)) ? \
  2610. ^~
  2611. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2612. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2613. ^~~~~~~~~~~~~
  2614. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2615. case 8: stem##8(variable, __VA_ARGS__);break; \
  2616. ^~~~
  2617. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2618. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2619. ^~~~~~~~~~~~~~~~
  2620. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2621. this_cpu_add(*percpu_count, nr);
  2622. ^~~~~~~~~~~~
  2623. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  2624. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2625. ((val) == 1 || (val) == -1)) ? \
  2626. ^~
  2627. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2628. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2629. ^~~~~~~~~~~~~
  2630. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  2631. case 1: stem##1(variable, __VA_ARGS__);break; \
  2632. ^~~~
  2633. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2634. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2635. ^~~~~~~~~~~~~~~~
  2636. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2637. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2638. ^~~~~~~~~~~~
  2639. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2640. this_cpu_sub(*percpu_count, nr);
  2641. ^~~~~~~~~~~~
  2642. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2643. ((val) == 1 || (val) == -1)) ? \
  2644. ^~
  2645. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2646. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2647. ^~~~~~~~~~~~~
  2648. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  2649. case 2: stem##2(variable, __VA_ARGS__);break; \
  2650. ^~~~
  2651. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2652. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2653. ^~~~~~~~~~~~~~~~
  2654. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2655. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2656. ^~~~~~~~~~~~
  2657. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2658. this_cpu_sub(*percpu_count, nr);
  2659. ^~~~~~~~~~~~
  2660. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2661. ((val) == 1 || (val) == -1)) ? \
  2662. ^~
  2663. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2664. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2665. ^~~~~~~~~~~~~
  2666. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2667. case 4: stem##4(variable, __VA_ARGS__);break; \
  2668. ^~~~
  2669. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2670. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2671. ^~~~~~~~~~~~~~~~
  2672. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2673. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2674. ^~~~~~~~~~~~
  2675. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2676. this_cpu_sub(*percpu_count, nr);
  2677. ^~~~~~~~~~~~
  2678. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  2679. ((val) == 1 || (val) == -1)) ? \
  2680. ^~
  2681. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2682. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2683. ^~~~~~~~~~~~~
  2684. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2685. case 8: stem##8(variable, __VA_ARGS__);break; \
  2686. ^~~~
  2687. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2688. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2689. ^~~~~~~~~~~~~~~~
  2690. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2691. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2692. ^~~~~~~~~~~~
  2693. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2694. this_cpu_sub(*percpu_count, nr);
  2695. ^~~~~~~~~~~~
  2696. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  2697. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  2698. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  2699. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  2700. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  2701. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  2702. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  2703. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  2704. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2705. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
  2706. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
  2707. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25:
  2708. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  2709. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  2710. if (likely(sz < 0 || sz >= n))
  2711. ^~
  2712. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2713. # define likely(x) __builtin_expect(!!(x), 1)
  2714. ^
  2715. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  2716. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  2717. if (likely(sz < 0 || sz >= n))
  2718. ^~
  2719. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2720. # define likely(x) __builtin_expect(!!(x), 1)
  2721. ^
  2722. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.uvm_gpu_ops_tests.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generi
  2723. c -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=
  2724. date-time -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(uvm_gpu_ops_tests)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia_uvm)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/uvm_gpu_ops_tests.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/uvm_gpu_ops_test
  2725. s.c
  2726. ld -m elf_x86_64 -z max-page-size=0x200000 -r -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia-uvm.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_linux.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_common.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_utils.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_page_cache.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite_api.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_page_migration.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_page_migration_kepler.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia_uvm_lite_events.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/uvm_gpu_ops_tests.o
  2727. (cat /dev/null; echo kernel//tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia-uvm.ko;) > /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/modules.order
  2728. /usr/bin/make -f /usr/src/linux-4.4.178/scripts/Makefile.modpost
  2729. find /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost -i ./Module.symvers -I /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/Module.symvers -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/Module.symvers -S -w -s -T -
  2730. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.nvidia-uvm.mod.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -incl
  2731. ude /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-conte
  2732. xt -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -O2 -DNVIDIA_UVM_
  2733. LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/.. -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia_uvm.mod)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia_uvm)" -DMODULE -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia-uvm.mod.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia-uvm.mod.c
  2734. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  2735. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  2736. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  2737. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  2738. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  2739. from /usr/src/linux-4.4.178/include/linux/list.h:4,
  2740. from /usr/src/linux-4.4.178/include/linux/module.h:9,
  2741. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia-uvm.mod.c:1:
  2742. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  2743. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
  2744. cnts, cnts | _QW_LOCKED) == cnts);
  2745. ^~
  2746. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2747. # define likely(x) __builtin_expect(!!(x), 1)
  2748. ^
  2749. ld -r -m elf_x86_64 -z max-page-size=0x200000 -T /usr/src/linux-4.4.178/scripts/module-common.lds --build-id -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia-uvm.ko /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia-uvm.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/uvm/nvidia-uvm.mod.o
  2750. make[2]: Leaving directory '/usr/src/linux-4.4.178'
  2751. make[1]: Leaving directory '/usr/src/linux-4.4.178'
  2752. NVIDIA: left KBUILD.
  2753. -> done.
  2754. -> Kernel module compilation complete.
  2755. -> Unable to determine if Secure Boot is enabled: No such file or directory
  2756. -> Kernel messages:
  2757. [ 194.657367] ssb: Sonics Silicon Backplane found on PCI device 0000:04:00.0
  2758. [ 194.667331] b43-phy0: Broadcom 4312 WLAN found (core revision 15)
  2759. [ 194.682789] b43-phy0: Found PHY: Analog 6, Type 5 (LP), Revision 1
  2760. [ 194.682807] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2062, Revision 2, Version 0
  2761. [ 194.690453] Broadcom 43xx driver loaded [ Features: PNLS ]
  2762. [ 194.717801] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
  2763. [ 194.915273] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
  2764. [ 196.506289] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
  2765. [ 199.274270] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
  2766. [ 201.867097] wlan0: authenticate with b0:4e:26:37:a8:14
  2767. [ 201.883575] wlan0: send auth to b0:4e:26:37:a8:14 (try 1/3)
  2768. [ 201.888297] wlan0: authenticated
  2769. [ 201.889115] wlan0: associate with b0:4e:26:37:a8:14 (try 1/3)
  2770. [ 201.892296] wlan0: RX AssocResp from b0:4e:26:37:a8:14 (capab=0x431 status=0 aid=1)
  2771. [ 201.892713] wlan0: associated
  2772. [ 627.962755] mtrr: no MTRR for cf000000,e00000 found
  2773. [ 714.792497] nvidia: loading out-of-tree module taints kernel.
  2774. [ 714.792509] nvidia: module license 'NVIDIA' taints kernel.
  2775. [ 714.792511] Disabling lock debugging due to kernel taint
  2776. [ 714.814562] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem
  2777. [ 714.815307] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 0
  2778. [ 714.815325] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 340.107 Thu May 24 21:54:01 PDT 2018
  2779. [ 714.817300] nvidia_uvm: Loaded the UVM driver, major device number 248
  2780. [ 714.825289] nvidia_uvm: Unregistered the UVM driver
  2781. [ 714.835336] [drm] Module unloaded
  2782. -> Installing both new and classic TLS OpenGL libraries.
  2783. -> Installing classic TLS 32bit OpenGL libraries.
  2784. -> Skipping installation of the libvdpau wrapper library.
  2785. -> Searching for conflicting X files:
  2786. -> done.
  2787. -> Searching for conflicting OpenGL files:
  2788. -> done.
  2789. -> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (340.107):
  2790. executing: '/sbin/ldconfig'...
  2791. executing: '/sbin/depmod -aq '...
  2792. depmod: WARNING: Ignored deprecated option -q
  2793. -> done.
  2794. -> Driver file installation is complete.
  2795. -> Running post-install sanity check:
  2796. -> done.
  2797. -> Post-install sanity check passed.
  2798. -> Shared memory test passed.
  2799. -> Running runtime sanity check:
  2800. -> done.
  2801. -> Runtime sanity check passed.
  2802. -> Would you like to run the nvidia-xconfig utility to automatically update your X configuration file so that the NVIDIA X driver will be used when you restart X? Any pre-existing X configuration file will be backed up. (Answer: Yes)
  2803. -> Your X configuration file has been successfully updated. Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86_64 (version: 340.107) is now complete.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement