Advertisement
SaintAnd

nvidia-installer.log(1)

Apr 18th, 2019
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 322.54 KB | None | 0 0
  1. nvidia-installer log file '/var/log/nvidia-installer.log'
  2. creation time: Thu Apr 18 21:48:02 2019
  3. installer version: 340.107
  4.  
  5. PATH: /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/opt/porteus-scripts
  6.  
  7. nvidia-installer command line:
  8. ./nvidia-installer
  9.  
  10. Using: nvidia-installer ncurses v6 user interface
  11. -> License accepted.
  12. -> Installing NVIDIA driver version 340.107.
  13. -> Performing CC sanity check with CC="/usr/bin/cc".
  14. -> Kernel source path: '/lib/modules/4.4.178-porteus/source'
  15. -> Kernel output path: '/lib/modules/4.4.178-porteus/build'
  16. -> Performing rivafb check.
  17. -> Performing nvidiafb check.
  18. -> Performing Xen check.
  19. -> Performing PREEMPT_RT check.
  20. -> Cleaning kernel module build directory.
  21. executing: 'cd ./kernel; /usr/bin/make clean'...
  22. -> Building NVIDIA kernel module:
  23. executing: 'cd ./kernel; /usr/bin/make module SYSSRC=/lib/modules/4.4.178-porteus/source SYSOUT=/lib/modules/4.4.178-porteus/build NV_BUILD_MODULE_INSTANCES='...
  24. NVIDIA: calling KBUILD...
  25. make[1]: Entering directory '/usr/src/linux-4.4.178'
  26. /usr/bin/make -C /lib/modules/4.4.178-porteus/build KBUILD_SRC=/usr/src/linux-4.4.178 \
  27. -f /usr/src/linux-4.4.178/Makefile modules
  28. make[2]: Entering directory '/usr/src/linux-4.4.178'
  29. test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
  30. echo >&2; \
  31. echo >&2 " ERROR: Kernel configuration is invalid."; \
  32. echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
  33. echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
  34. echo >&2 ; \
  35. /bin/false)
  36. mkdir -p /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_versions ; rm -f /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_versions/*
  37. /usr/bin/make -f /usr/src/linux-4.4.178/scripts/Makefile.build obj=/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel
  38. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv.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 -DCONF
  39. IG_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-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VER
  40. SION_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)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c
  41. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  42. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  43. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  44. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  45. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  46. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  47. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  48. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  49. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  50. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  51. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
  52. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  53. /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]
  54. cnts, cnts | _QW_LOCKED) == cnts);
  55. ^~
  56. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  57. # define likely(x) __builtin_expect(!!(x), 1)
  58. ^
  59. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  60. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  61. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  62. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  63. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  64. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  65. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  66. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  67. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  68. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  69. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
  70. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  71. /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]
  72. ((val) == 1 || (val) == -1)) ? \
  73. ^~
  74. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  75. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  76. ^~~~~~~~~~~~~
  77. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  78. case 1: stem##1(variable, __VA_ARGS__);break; \
  79. ^~~~
  80. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  81. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  82. ^~~~~~~~~~~~~~~~
  83. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  84. this_cpu_add(*percpu_count, nr);
  85. ^~~~~~~~~~~~
  86. /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]
  87. ((val) == 1 || (val) == -1)) ? \
  88. ^~
  89. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  90. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  91. ^~~~~~~~~~~~~
  92. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  93. case 2: stem##2(variable, __VA_ARGS__);break; \
  94. ^~~~
  95. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  96. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  97. ^~~~~~~~~~~~~~~~
  98. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  99. this_cpu_add(*percpu_count, nr);
  100. ^~~~~~~~~~~~
  101. /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]
  102. ((val) == 1 || (val) == -1)) ? \
  103. ^~
  104. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  105. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  106. ^~~~~~~~~~~~~
  107. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  108. case 4: stem##4(variable, __VA_ARGS__);break; \
  109. ^~~~
  110. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  111. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  112. ^~~~~~~~~~~~~~~~
  113. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  114. this_cpu_add(*percpu_count, nr);
  115. ^~~~~~~~~~~~
  116. /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]
  117. ((val) == 1 || (val) == -1)) ? \
  118. ^~
  119. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  120. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  121. ^~~~~~~~~~~~~
  122. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  123. case 8: stem##8(variable, __VA_ARGS__);break; \
  124. ^~~~
  125. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  126. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  127. ^~~~~~~~~~~~~~~~
  128. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  129. this_cpu_add(*percpu_count, nr);
  130. ^~~~~~~~~~~~
  131. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  132. /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]
  133. ((val) == 1 || (val) == -1)) ? \
  134. ^~
  135. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  136. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  137. ^~~~~~~~~~~~~
  138. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  139. case 1: stem##1(variable, __VA_ARGS__);break; \
  140. ^~~~
  141. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  142. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  143. ^~~~~~~~~~~~~~~~
  144. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  145. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  146. ^~~~~~~~~~~~
  147. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  148. this_cpu_sub(*percpu_count, nr);
  149. ^~~~~~~~~~~~
  150. /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]
  151. ((val) == 1 || (val) == -1)) ? \
  152. ^~
  153. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  154. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  155. ^~~~~~~~~~~~~
  156. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  157. case 2: stem##2(variable, __VA_ARGS__);break; \
  158. ^~~~
  159. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  160. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  161. ^~~~~~~~~~~~~~~~
  162. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  163. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  164. ^~~~~~~~~~~~
  165. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  166. this_cpu_sub(*percpu_count, nr);
  167. ^~~~~~~~~~~~
  168. /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]
  169. ((val) == 1 || (val) == -1)) ? \
  170. ^~
  171. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  172. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  173. ^~~~~~~~~~~~~
  174. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  175. case 4: stem##4(variable, __VA_ARGS__);break; \
  176. ^~~~
  177. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  178. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  179. ^~~~~~~~~~~~~~~~
  180. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  181. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  182. ^~~~~~~~~~~~
  183. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  184. this_cpu_sub(*percpu_count, nr);
  185. ^~~~~~~~~~~~
  186. /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]
  187. ((val) == 1 || (val) == -1)) ? \
  188. ^~
  189. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  190. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  191. ^~~~~~~~~~~~~
  192. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  193. case 8: stem##8(variable, __VA_ARGS__);break; \
  194. ^~~~
  195. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  196. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  197. ^~~~~~~~~~~~~~~~
  198. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  199. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  200. ^~~~~~~~~~~~
  201. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  202. this_cpu_sub(*percpu_count, nr);
  203. ^~~~~~~~~~~~
  204. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  205. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  206. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  207. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  208. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  209. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  210. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  211. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  212. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  213. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  214. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
  215. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  216. /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]
  217. if (likely(sz < 0 || sz >= n))
  218. ^~
  219. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  220. # define likely(x) __builtin_expect(!!(x), 1)
  221. ^
  222. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  223. /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]
  224. if (likely(sz < 0 || sz >= n))
  225. ^~
  226. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  227. # define likely(x) __builtin_expect(!!(x), 1)
  228. ^
  229. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-acpi.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.1
  230. 78/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-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-po
  231. inter-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_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD
  232. _STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -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-acpi.c
  233. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  234. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  235. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  236. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  237. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  238. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  239. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  240. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  241. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  242. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  243. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
  244. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  245. /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]
  246. cnts, cnts | _QW_LOCKED) == cnts);
  247. ^~
  248. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  249. # define likely(x) __builtin_expect(!!(x), 1)
  250. ^
  251. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  252. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  253. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  254. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  255. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  256. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  257. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  258. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  259. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  260. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  261. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
  262. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  263. /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]
  264. ((val) == 1 || (val) == -1)) ? \
  265. ^~
  266. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  267. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  268. ^~~~~~~~~~~~~
  269. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  270. case 1: stem##1(variable, __VA_ARGS__);break; \
  271. ^~~~
  272. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  273. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  274. ^~~~~~~~~~~~~~~~
  275. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  276. this_cpu_add(*percpu_count, nr);
  277. ^~~~~~~~~~~~
  278. /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]
  279. ((val) == 1 || (val) == -1)) ? \
  280. ^~
  281. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  282. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  283. ^~~~~~~~~~~~~
  284. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  285. case 2: stem##2(variable, __VA_ARGS__);break; \
  286. ^~~~
  287. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  288. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  289. ^~~~~~~~~~~~~~~~
  290. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  291. this_cpu_add(*percpu_count, nr);
  292. ^~~~~~~~~~~~
  293. /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]
  294. ((val) == 1 || (val) == -1)) ? \
  295. ^~
  296. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  297. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  298. ^~~~~~~~~~~~~
  299. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  300. case 4: stem##4(variable, __VA_ARGS__);break; \
  301. ^~~~
  302. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  303. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  304. ^~~~~~~~~~~~~~~~
  305. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  306. this_cpu_add(*percpu_count, nr);
  307. ^~~~~~~~~~~~
  308. /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]
  309. ((val) == 1 || (val) == -1)) ? \
  310. ^~
  311. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  312. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  313. ^~~~~~~~~~~~~
  314. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  315. case 8: stem##8(variable, __VA_ARGS__);break; \
  316. ^~~~
  317. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  318. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  319. ^~~~~~~~~~~~~~~~
  320. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  321. this_cpu_add(*percpu_count, nr);
  322. ^~~~~~~~~~~~
  323. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  324. /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]
  325. ((val) == 1 || (val) == -1)) ? \
  326. ^~
  327. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  328. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  329. ^~~~~~~~~~~~~
  330. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  331. case 1: stem##1(variable, __VA_ARGS__);break; \
  332. ^~~~
  333. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  334. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  335. ^~~~~~~~~~~~~~~~
  336. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  337. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  338. ^~~~~~~~~~~~
  339. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  340. this_cpu_sub(*percpu_count, nr);
  341. ^~~~~~~~~~~~
  342. /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]
  343. ((val) == 1 || (val) == -1)) ? \
  344. ^~
  345. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  346. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  347. ^~~~~~~~~~~~~
  348. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  349. case 2: stem##2(variable, __VA_ARGS__);break; \
  350. ^~~~
  351. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  352. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  353. ^~~~~~~~~~~~~~~~
  354. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  355. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  356. ^~~~~~~~~~~~
  357. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  358. this_cpu_sub(*percpu_count, nr);
  359. ^~~~~~~~~~~~
  360. /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]
  361. ((val) == 1 || (val) == -1)) ? \
  362. ^~
  363. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  364. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  365. ^~~~~~~~~~~~~
  366. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  367. case 4: stem##4(variable, __VA_ARGS__);break; \
  368. ^~~~
  369. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  370. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  371. ^~~~~~~~~~~~~~~~
  372. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  373. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  374. ^~~~~~~~~~~~
  375. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  376. this_cpu_sub(*percpu_count, nr);
  377. ^~~~~~~~~~~~
  378. /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]
  379. ((val) == 1 || (val) == -1)) ? \
  380. ^~
  381. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  382. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  383. ^~~~~~~~~~~~~
  384. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  385. case 8: stem##8(variable, __VA_ARGS__);break; \
  386. ^~~~
  387. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  388. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  389. ^~~~~~~~~~~~~~~~
  390. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  391. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  392. ^~~~~~~~~~~~
  393. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  394. this_cpu_sub(*percpu_count, nr);
  395. ^~~~~~~~~~~~
  396. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  397. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  398. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  399. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  400. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  401. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  402. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  403. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  404. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  405. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  406. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
  407. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  408. /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]
  409. if (likely(sz < 0 || sz >= n))
  410. ^~
  411. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  412. # define likely(x) __builtin_expect(!!(x), 1)
  413. ^
  414. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  415. /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]
  416. if (likely(sz < 0 || sz >= n))
  417. ^~
  418. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  419. # define likely(x) __builtin_expect(!!(x), 1)
  420. ^
  421. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-chrdev.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
  422. /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-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --
  423. 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_chrdev)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv
  424. -chrdev.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c
  425. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  426. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  427. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  428. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  429. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  430. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  431. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  432. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  433. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  434. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  435. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
  436. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  437. /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]
  438. cnts, cnts | _QW_LOCKED) == cnts);
  439. ^~
  440. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  441. # define likely(x) __builtin_expect(!!(x), 1)
  442. ^
  443. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  444. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  445. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  446. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  447. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  448. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  449. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  450. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  451. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  452. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  453. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
  454. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  455. /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]
  456. ((val) == 1 || (val) == -1)) ? \
  457. ^~
  458. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  459. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  460. ^~~~~~~~~~~~~
  461. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  462. case 1: stem##1(variable, __VA_ARGS__);break; \
  463. ^~~~
  464. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  465. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  466. ^~~~~~~~~~~~~~~~
  467. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  468. this_cpu_add(*percpu_count, nr);
  469. ^~~~~~~~~~~~
  470. /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]
  471. ((val) == 1 || (val) == -1)) ? \
  472. ^~
  473. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  474. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  475. ^~~~~~~~~~~~~
  476. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  477. case 2: stem##2(variable, __VA_ARGS__);break; \
  478. ^~~~
  479. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  480. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  481. ^~~~~~~~~~~~~~~~
  482. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  483. this_cpu_add(*percpu_count, nr);
  484. ^~~~~~~~~~~~
  485. /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]
  486. ((val) == 1 || (val) == -1)) ? \
  487. ^~
  488. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  489. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  490. ^~~~~~~~~~~~~
  491. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  492. case 4: stem##4(variable, __VA_ARGS__);break; \
  493. ^~~~
  494. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  495. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  496. ^~~~~~~~~~~~~~~~
  497. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  498. this_cpu_add(*percpu_count, nr);
  499. ^~~~~~~~~~~~
  500. /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]
  501. ((val) == 1 || (val) == -1)) ? \
  502. ^~
  503. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  504. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  505. ^~~~~~~~~~~~~
  506. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  507. case 8: stem##8(variable, __VA_ARGS__);break; \
  508. ^~~~
  509. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  510. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  511. ^~~~~~~~~~~~~~~~
  512. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  513. this_cpu_add(*percpu_count, nr);
  514. ^~~~~~~~~~~~
  515. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  516. /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]
  517. ((val) == 1 || (val) == -1)) ? \
  518. ^~
  519. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  520. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  521. ^~~~~~~~~~~~~
  522. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  523. case 1: stem##1(variable, __VA_ARGS__);break; \
  524. ^~~~
  525. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  526. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  527. ^~~~~~~~~~~~~~~~
  528. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  529. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  530. ^~~~~~~~~~~~
  531. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  532. this_cpu_sub(*percpu_count, nr);
  533. ^~~~~~~~~~~~
  534. /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]
  535. ((val) == 1 || (val) == -1)) ? \
  536. ^~
  537. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  538. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  539. ^~~~~~~~~~~~~
  540. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  541. case 2: stem##2(variable, __VA_ARGS__);break; \
  542. ^~~~
  543. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  544. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  545. ^~~~~~~~~~~~~~~~
  546. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  547. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  548. ^~~~~~~~~~~~
  549. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  550. this_cpu_sub(*percpu_count, nr);
  551. ^~~~~~~~~~~~
  552. /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]
  553. ((val) == 1 || (val) == -1)) ? \
  554. ^~
  555. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  556. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  557. ^~~~~~~~~~~~~
  558. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  559. case 4: stem##4(variable, __VA_ARGS__);break; \
  560. ^~~~
  561. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  562. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  563. ^~~~~~~~~~~~~~~~
  564. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  565. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  566. ^~~~~~~~~~~~
  567. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  568. this_cpu_sub(*percpu_count, nr);
  569. ^~~~~~~~~~~~
  570. /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]
  571. ((val) == 1 || (val) == -1)) ? \
  572. ^~
  573. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  574. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  575. ^~~~~~~~~~~~~
  576. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  577. case 8: stem##8(variable, __VA_ARGS__);break; \
  578. ^~~~
  579. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  580. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  581. ^~~~~~~~~~~~~~~~
  582. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  583. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  584. ^~~~~~~~~~~~
  585. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  586. this_cpu_sub(*percpu_count, nr);
  587. ^~~~~~~~~~~~
  588. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  589. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  590. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  591. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  592. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  593. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  594. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  595. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  596. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  597. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  598. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
  599. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  600. /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]
  601. if (likely(sz < 0 || sz >= n))
  602. ^~
  603. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  604. # define likely(x) __builtin_expect(!!(x), 1)
  605. ^
  606. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  607. /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]
  608. if (likely(sz < 0 || sz >= n))
  609. ^~
  610. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  611. # define likely(x) __builtin_expect(!!(x), 1)
  612. ^
  613. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-cray.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
  614. -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-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-
  615. 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_cray)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -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-cray.c
  616. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  617. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  618. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  619. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  620. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  621. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  622. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  623. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  624. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  625. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  626. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
  627. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  628. /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]
  629. cnts, cnts | _QW_LOCKED) == cnts);
  630. ^~
  631. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  632. # define likely(x) __builtin_expect(!!(x), 1)
  633. ^
  634. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  635. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  636. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  637. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  638. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  639. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  640. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  641. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  642. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  643. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  644. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
  645. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  646. /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]
  647. ((val) == 1 || (val) == -1)) ? \
  648. ^~
  649. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  650. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  651. ^~~~~~~~~~~~~
  652. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  653. case 1: stem##1(variable, __VA_ARGS__);break; \
  654. ^~~~
  655. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  656. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  657. ^~~~~~~~~~~~~~~~
  658. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  659. this_cpu_add(*percpu_count, nr);
  660. ^~~~~~~~~~~~
  661. /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]
  662. ((val) == 1 || (val) == -1)) ? \
  663. ^~
  664. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  665. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  666. ^~~~~~~~~~~~~
  667. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  668. case 2: stem##2(variable, __VA_ARGS__);break; \
  669. ^~~~
  670. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  671. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  672. ^~~~~~~~~~~~~~~~
  673. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  674. this_cpu_add(*percpu_count, nr);
  675. ^~~~~~~~~~~~
  676. /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]
  677. ((val) == 1 || (val) == -1)) ? \
  678. ^~
  679. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  680. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  681. ^~~~~~~~~~~~~
  682. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  683. case 4: stem##4(variable, __VA_ARGS__);break; \
  684. ^~~~
  685. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  686. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  687. ^~~~~~~~~~~~~~~~
  688. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  689. this_cpu_add(*percpu_count, nr);
  690. ^~~~~~~~~~~~
  691. /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]
  692. ((val) == 1 || (val) == -1)) ? \
  693. ^~
  694. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  695. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  696. ^~~~~~~~~~~~~
  697. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  698. case 8: stem##8(variable, __VA_ARGS__);break; \
  699. ^~~~
  700. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  701. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  702. ^~~~~~~~~~~~~~~~
  703. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  704. this_cpu_add(*percpu_count, nr);
  705. ^~~~~~~~~~~~
  706. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  707. /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]
  708. ((val) == 1 || (val) == -1)) ? \
  709. ^~
  710. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  711. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  712. ^~~~~~~~~~~~~
  713. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  714. case 1: stem##1(variable, __VA_ARGS__);break; \
  715. ^~~~
  716. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  717. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  718. ^~~~~~~~~~~~~~~~
  719. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  720. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  721. ^~~~~~~~~~~~
  722. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  723. this_cpu_sub(*percpu_count, nr);
  724. ^~~~~~~~~~~~
  725. /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]
  726. ((val) == 1 || (val) == -1)) ? \
  727. ^~
  728. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  729. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  730. ^~~~~~~~~~~~~
  731. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  732. case 2: stem##2(variable, __VA_ARGS__);break; \
  733. ^~~~
  734. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  735. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  736. ^~~~~~~~~~~~~~~~
  737. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  738. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  739. ^~~~~~~~~~~~
  740. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  741. this_cpu_sub(*percpu_count, nr);
  742. ^~~~~~~~~~~~
  743. /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]
  744. ((val) == 1 || (val) == -1)) ? \
  745. ^~
  746. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  747. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  748. ^~~~~~~~~~~~~
  749. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  750. case 4: stem##4(variable, __VA_ARGS__);break; \
  751. ^~~~
  752. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  753. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  754. ^~~~~~~~~~~~~~~~
  755. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  756. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  757. ^~~~~~~~~~~~
  758. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  759. this_cpu_sub(*percpu_count, nr);
  760. ^~~~~~~~~~~~
  761. /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]
  762. ((val) == 1 || (val) == -1)) ? \
  763. ^~
  764. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  765. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  766. ^~~~~~~~~~~~~
  767. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  768. case 8: stem##8(variable, __VA_ARGS__);break; \
  769. ^~~~
  770. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  771. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  772. ^~~~~~~~~~~~~~~~
  773. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  774. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  775. ^~~~~~~~~~~~
  776. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  777. this_cpu_sub(*percpu_count, nr);
  778. ^~~~~~~~~~~~
  779. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  780. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  781. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  782. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  783. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  784. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  785. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  786. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  787. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  788. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  789. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
  790. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  791. /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]
  792. if (likely(sz < 0 || sz >= n))
  793. ^~
  794. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  795. # define likely(x) __builtin_expect(!!(x), 1)
  796. ^
  797. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  798. /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]
  799. if (likely(sz < 0 || sz >= n))
  800. ^~
  801. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  802. # define likely(x) __builtin_expect(!!(x), 1)
  803. ^
  804. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-dma.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-
  805. 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 -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -f
  806. no-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_dma)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -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-dma.c
  807. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  808. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  809. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  810. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  811. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  812. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  813. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  814. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  815. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  816. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  817. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
  818. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  819. /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]
  820. cnts, cnts | _QW_LOCKED) == cnts);
  821. ^~
  822. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  823. # define likely(x) __builtin_expect(!!(x), 1)
  824. ^
  825. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  826. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  827. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  828. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  829. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  830. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  831. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  832. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  833. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  834. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  835. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
  836. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  837. /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]
  838. ((val) == 1 || (val) == -1)) ? \
  839. ^~
  840. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  841. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  842. ^~~~~~~~~~~~~
  843. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  844. case 1: stem##1(variable, __VA_ARGS__);break; \
  845. ^~~~
  846. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  847. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  848. ^~~~~~~~~~~~~~~~
  849. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  850. this_cpu_add(*percpu_count, nr);
  851. ^~~~~~~~~~~~
  852. /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]
  853. ((val) == 1 || (val) == -1)) ? \
  854. ^~
  855. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  856. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  857. ^~~~~~~~~~~~~
  858. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  859. case 2: stem##2(variable, __VA_ARGS__);break; \
  860. ^~~~
  861. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  862. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  863. ^~~~~~~~~~~~~~~~
  864. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  865. this_cpu_add(*percpu_count, nr);
  866. ^~~~~~~~~~~~
  867. /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]
  868. ((val) == 1 || (val) == -1)) ? \
  869. ^~
  870. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  871. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  872. ^~~~~~~~~~~~~
  873. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  874. case 4: stem##4(variable, __VA_ARGS__);break; \
  875. ^~~~
  876. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  877. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  878. ^~~~~~~~~~~~~~~~
  879. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  880. this_cpu_add(*percpu_count, nr);
  881. ^~~~~~~~~~~~
  882. /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]
  883. ((val) == 1 || (val) == -1)) ? \
  884. ^~
  885. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  886. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  887. ^~~~~~~~~~~~~
  888. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  889. case 8: stem##8(variable, __VA_ARGS__);break; \
  890. ^~~~
  891. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  892. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  893. ^~~~~~~~~~~~~~~~
  894. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  895. this_cpu_add(*percpu_count, nr);
  896. ^~~~~~~~~~~~
  897. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  898. /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]
  899. ((val) == 1 || (val) == -1)) ? \
  900. ^~
  901. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  902. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  903. ^~~~~~~~~~~~~
  904. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  905. case 1: stem##1(variable, __VA_ARGS__);break; \
  906. ^~~~
  907. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  908. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  909. ^~~~~~~~~~~~~~~~
  910. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  911. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  912. ^~~~~~~~~~~~
  913. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  914. this_cpu_sub(*percpu_count, nr);
  915. ^~~~~~~~~~~~
  916. /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]
  917. ((val) == 1 || (val) == -1)) ? \
  918. ^~
  919. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  920. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  921. ^~~~~~~~~~~~~
  922. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  923. case 2: stem##2(variable, __VA_ARGS__);break; \
  924. ^~~~
  925. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  926. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  927. ^~~~~~~~~~~~~~~~
  928. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  929. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  930. ^~~~~~~~~~~~
  931. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  932. this_cpu_sub(*percpu_count, nr);
  933. ^~~~~~~~~~~~
  934. /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]
  935. ((val) == 1 || (val) == -1)) ? \
  936. ^~
  937. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  938. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  939. ^~~~~~~~~~~~~
  940. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  941. case 4: stem##4(variable, __VA_ARGS__);break; \
  942. ^~~~
  943. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  944. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  945. ^~~~~~~~~~~~~~~~
  946. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  947. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  948. ^~~~~~~~~~~~
  949. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  950. this_cpu_sub(*percpu_count, nr);
  951. ^~~~~~~~~~~~
  952. /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]
  953. ((val) == 1 || (val) == -1)) ? \
  954. ^~
  955. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  956. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  957. ^~~~~~~~~~~~~
  958. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  959. case 8: stem##8(variable, __VA_ARGS__);break; \
  960. ^~~~
  961. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  962. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  963. ^~~~~~~~~~~~~~~~
  964. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  965. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  966. ^~~~~~~~~~~~
  967. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  968. this_cpu_sub(*percpu_count, nr);
  969. ^~~~~~~~~~~~
  970. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  971. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  972. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  973. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  974. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  975. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  976. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  977. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  978. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  979. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  980. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
  981. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  982. /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]
  983. if (likely(sz < 0 || sz >= n))
  984. ^~
  985. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  986. # define likely(x) __builtin_expect(!!(x), 1)
  987. ^
  988. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  989. /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]
  990. if (likely(sz < 0 || sz >= n))
  991. ^~
  992. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  993. # define likely(x) __builtin_expect(!!(x), 1)
  994. ^
  995. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-drm.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
  996. -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=date-time -Wno-packed-not-aligne
  997. d -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_drm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -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-drm.c
  998. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  999. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1000. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1001. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1002. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1003. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1004. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1005. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1006. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1007. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  1008. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
  1009. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1010. /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]
  1011. cnts, cnts | _QW_LOCKED) == cnts);
  1012. ^~
  1013. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1014. # define likely(x) __builtin_expect(!!(x), 1)
  1015. ^
  1016. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  1017. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  1018. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  1019. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  1020. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  1021. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  1022. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  1023. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  1024. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1025. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  1026. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
  1027. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1028. /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]
  1029. ((val) == 1 || (val) == -1)) ? \
  1030. ^~
  1031. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1032. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1033. ^~~~~~~~~~~~~
  1034. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1035. case 1: stem##1(variable, __VA_ARGS__);break; \
  1036. ^~~~
  1037. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1038. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1039. ^~~~~~~~~~~~~~~~
  1040. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1041. this_cpu_add(*percpu_count, nr);
  1042. ^~~~~~~~~~~~
  1043. /usr/src/linux-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]
  1044. ((val) == 1 || (val) == -1)) ? \
  1045. ^~
  1046. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1047. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1048. ^~~~~~~~~~~~~
  1049. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1050. case 2: stem##2(variable, __VA_ARGS__);break; \
  1051. ^~~~
  1052. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1053. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1054. ^~~~~~~~~~~~~~~~
  1055. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1056. this_cpu_add(*percpu_count, nr);
  1057. ^~~~~~~~~~~~
  1058. /usr/src/linux-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]
  1059. ((val) == 1 || (val) == -1)) ? \
  1060. ^~
  1061. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1062. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1063. ^~~~~~~~~~~~~
  1064. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1065. case 4: stem##4(variable, __VA_ARGS__);break; \
  1066. ^~~~
  1067. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1068. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1069. ^~~~~~~~~~~~~~~~
  1070. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1071. this_cpu_add(*percpu_count, nr);
  1072. ^~~~~~~~~~~~
  1073. /usr/src/linux-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]
  1074. ((val) == 1 || (val) == -1)) ? \
  1075. ^~
  1076. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1077. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1078. ^~~~~~~~~~~~~
  1079. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1080. case 8: stem##8(variable, __VA_ARGS__);break; \
  1081. ^~~~
  1082. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1083. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1084. ^~~~~~~~~~~~~~~~
  1085. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1086. this_cpu_add(*percpu_count, nr);
  1087. ^~~~~~~~~~~~
  1088. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1089. /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]
  1090. ((val) == 1 || (val) == -1)) ? \
  1091. ^~
  1092. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1093. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1094. ^~~~~~~~~~~~~
  1095. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1096. case 1: stem##1(variable, __VA_ARGS__);break; \
  1097. ^~~~
  1098. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1099. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1100. ^~~~~~~~~~~~~~~~
  1101. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1102. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1103. ^~~~~~~~~~~~
  1104. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1105. this_cpu_sub(*percpu_count, nr);
  1106. ^~~~~~~~~~~~
  1107. /usr/src/linux-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]
  1108. ((val) == 1 || (val) == -1)) ? \
  1109. ^~
  1110. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1111. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1112. ^~~~~~~~~~~~~
  1113. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1114. case 2: stem##2(variable, __VA_ARGS__);break; \
  1115. ^~~~
  1116. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1117. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1118. ^~~~~~~~~~~~~~~~
  1119. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1120. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1121. ^~~~~~~~~~~~
  1122. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1123. this_cpu_sub(*percpu_count, nr);
  1124. ^~~~~~~~~~~~
  1125. /usr/src/linux-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]
  1126. ((val) == 1 || (val) == -1)) ? \
  1127. ^~
  1128. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1129. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1130. ^~~~~~~~~~~~~
  1131. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1132. case 4: stem##4(variable, __VA_ARGS__);break; \
  1133. ^~~~
  1134. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1135. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1136. ^~~~~~~~~~~~~~~~
  1137. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1138. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1139. ^~~~~~~~~~~~
  1140. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1141. this_cpu_sub(*percpu_count, nr);
  1142. ^~~~~~~~~~~~
  1143. /usr/src/linux-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]
  1144. ((val) == 1 || (val) == -1)) ? \
  1145. ^~
  1146. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1147. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1148. ^~~~~~~~~~~~~
  1149. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1150. case 8: stem##8(variable, __VA_ARGS__);break; \
  1151. ^~~~
  1152. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1153. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1154. ^~~~~~~~~~~~~~~~
  1155. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1156. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1157. ^~~~~~~~~~~~
  1158. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1159. this_cpu_sub(*percpu_count, nr);
  1160. ^~~~~~~~~~~~
  1161. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1162. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1163. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1164. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1165. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1166. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1167. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1168. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1169. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1170. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  1171. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
  1172. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1173. /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]
  1174. if (likely(sz < 0 || sz >= n))
  1175. ^~
  1176. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1177. # define likely(x) __builtin_expect(!!(x), 1)
  1178. ^
  1179. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1180. /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]
  1181. if (likely(sz < 0 || sz >= n))
  1182. ^~
  1183. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1184. # define likely(x) __builtin_expect(!!(x), 1)
  1185. ^
  1186. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-gvi.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
  1187. -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 -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
  1188. -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_gvi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c
  1189. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1190. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1191. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1192. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1193. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1194. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1195. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1196. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1197. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1198. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  1199. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
  1200. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1201. /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]
  1202. cnts, cnts | _QW_LOCKED) == cnts);
  1203. ^~
  1204. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1205. # define likely(x) __builtin_expect(!!(x), 1)
  1206. ^
  1207. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  1208. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  1209. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  1210. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  1211. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  1212. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  1213. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  1214. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  1215. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1216. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  1217. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
  1218. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1219. /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]
  1220. ((val) == 1 || (val) == -1)) ? \
  1221. ^~
  1222. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1223. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1224. ^~~~~~~~~~~~~
  1225. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1226. case 1: stem##1(variable, __VA_ARGS__);break; \
  1227. ^~~~
  1228. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1229. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1230. ^~~~~~~~~~~~~~~~
  1231. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1232. this_cpu_add(*percpu_count, nr);
  1233. ^~~~~~~~~~~~
  1234. /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]
  1235. ((val) == 1 || (val) == -1)) ? \
  1236. ^~
  1237. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1238. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1239. ^~~~~~~~~~~~~
  1240. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1241. case 2: stem##2(variable, __VA_ARGS__);break; \
  1242. ^~~~
  1243. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1244. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1245. ^~~~~~~~~~~~~~~~
  1246. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1247. this_cpu_add(*percpu_count, nr);
  1248. ^~~~~~~~~~~~
  1249. /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]
  1250. ((val) == 1 || (val) == -1)) ? \
  1251. ^~
  1252. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1253. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1254. ^~~~~~~~~~~~~
  1255. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1256. case 4: stem##4(variable, __VA_ARGS__);break; \
  1257. ^~~~
  1258. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1259. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1260. ^~~~~~~~~~~~~~~~
  1261. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1262. this_cpu_add(*percpu_count, nr);
  1263. ^~~~~~~~~~~~
  1264. /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]
  1265. ((val) == 1 || (val) == -1)) ? \
  1266. ^~
  1267. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1268. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1269. ^~~~~~~~~~~~~
  1270. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1271. case 8: stem##8(variable, __VA_ARGS__);break; \
  1272. ^~~~
  1273. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1274. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1275. ^~~~~~~~~~~~~~~~
  1276. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1277. this_cpu_add(*percpu_count, nr);
  1278. ^~~~~~~~~~~~
  1279. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  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:419:34: note: in expansion of macro ‘percpu_add_op’
  1284. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1285. ^~~~~~~~~~~~~
  1286. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1287. case 1: stem##1(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:420:34: note: in expansion of macro ‘percpu_add_op’
  1302. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1303. ^~~~~~~~~~~~~
  1304. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1305. case 2: stem##2(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:421:34: note: in expansion of macro ‘percpu_add_op’
  1320. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1321. ^~~~~~~~~~~~~
  1322. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1323. case 4: stem##4(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. /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]
  1335. ((val) == 1 || (val) == -1)) ? \
  1336. ^~
  1337. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1338. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1339. ^~~~~~~~~~~~~
  1340. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1341. case 8: stem##8(variable, __VA_ARGS__);break; \
  1342. ^~~~
  1343. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1344. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1345. ^~~~~~~~~~~~~~~~
  1346. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1347. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1348. ^~~~~~~~~~~~
  1349. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1350. this_cpu_sub(*percpu_count, nr);
  1351. ^~~~~~~~~~~~
  1352. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1353. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1354. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1355. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1356. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1357. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1358. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1359. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1360. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1361. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  1362. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
  1363. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1364. /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]
  1365. if (likely(sz < 0 || sz >= n))
  1366. ^~
  1367. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1368. # define likely(x) __builtin_expect(!!(x), 1)
  1369. ^
  1370. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1371. /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]
  1372. if (likely(sz < 0 || sz >= n))
  1373. ^~
  1374. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1375. # define likely(x) __builtin_expect(!!(x), 1)
  1376. ^
  1377. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-i2c.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 -mi
  1378. ndirect-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 -mc
  1379. model=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c
  1380. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1381. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1382. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1383. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1384. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1385. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1386. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1387. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1388. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1389. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  1390. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
  1391. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1392. /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]
  1393. cnts, cnts | _QW_LOCKED) == cnts);
  1394. ^~
  1395. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1396. # define likely(x) __builtin_expect(!!(x), 1)
  1397. ^
  1398. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  1399. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  1400. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  1401. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  1402. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  1403. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  1404. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  1405. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  1406. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1407. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  1408. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
  1409. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1410. /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]
  1411. ((val) == 1 || (val) == -1)) ? \
  1412. ^~
  1413. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1414. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1415. ^~~~~~~~~~~~~
  1416. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1417. case 1: stem##1(variable, __VA_ARGS__);break; \
  1418. ^~~~
  1419. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1420. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1421. ^~~~~~~~~~~~~~~~
  1422. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1423. this_cpu_add(*percpu_count, nr);
  1424. ^~~~~~~~~~~~
  1425. /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]
  1426. ((val) == 1 || (val) == -1)) ? \
  1427. ^~
  1428. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1429. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1430. ^~~~~~~~~~~~~
  1431. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1432. case 2: stem##2(variable, __VA_ARGS__);break; \
  1433. ^~~~
  1434. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1435. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1436. ^~~~~~~~~~~~~~~~
  1437. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1438. this_cpu_add(*percpu_count, nr);
  1439. ^~~~~~~~~~~~
  1440. /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]
  1441. ((val) == 1 || (val) == -1)) ? \
  1442. ^~
  1443. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1444. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1445. ^~~~~~~~~~~~~
  1446. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1447. case 4: stem##4(variable, __VA_ARGS__);break; \
  1448. ^~~~
  1449. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1450. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1451. ^~~~~~~~~~~~~~~~
  1452. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1453. this_cpu_add(*percpu_count, nr);
  1454. ^~~~~~~~~~~~
  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:478:35: note: in expansion of macro ‘percpu_add_op’
  1459. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1460. ^~~~~~~~~~~~~
  1461. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1462. case 8: stem##8(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-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1468. this_cpu_add(*percpu_count, nr);
  1469. ^~~~~~~~~~~~
  1470. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1471. /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]
  1472. ((val) == 1 || (val) == -1)) ? \
  1473. ^~
  1474. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1475. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1476. ^~~~~~~~~~~~~
  1477. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1478. case 1: stem##1(variable, __VA_ARGS__);break; \
  1479. ^~~~
  1480. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1481. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1482. ^~~~~~~~~~~~~~~~
  1483. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1484. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1485. ^~~~~~~~~~~~
  1486. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1487. this_cpu_sub(*percpu_count, nr);
  1488. ^~~~~~~~~~~~
  1489. /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]
  1490. ((val) == 1 || (val) == -1)) ? \
  1491. ^~
  1492. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1493. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1494. ^~~~~~~~~~~~~
  1495. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1496. case 2: stem##2(variable, __VA_ARGS__);break; \
  1497. ^~~~
  1498. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1499. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1500. ^~~~~~~~~~~~~~~~
  1501. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1502. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1503. ^~~~~~~~~~~~
  1504. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1505. this_cpu_sub(*percpu_count, nr);
  1506. ^~~~~~~~~~~~
  1507. /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]
  1508. ((val) == 1 || (val) == -1)) ? \
  1509. ^~
  1510. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1511. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1512. ^~~~~~~~~~~~~
  1513. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1514. case 4: stem##4(variable, __VA_ARGS__);break; \
  1515. ^~~~
  1516. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1517. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1518. ^~~~~~~~~~~~~~~~
  1519. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1520. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1521. ^~~~~~~~~~~~
  1522. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1523. this_cpu_sub(*percpu_count, nr);
  1524. ^~~~~~~~~~~~
  1525. /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]
  1526. ((val) == 1 || (val) == -1)) ? \
  1527. ^~
  1528. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1529. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1530. ^~~~~~~~~~~~~
  1531. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1532. case 8: stem##8(variable, __VA_ARGS__);break; \
  1533. ^~~~
  1534. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1535. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1536. ^~~~~~~~~~~~~~~~
  1537. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1538. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1539. ^~~~~~~~~~~~
  1540. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1541. this_cpu_sub(*percpu_count, nr);
  1542. ^~~~~~~~~~~~
  1543. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1544. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1545. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1546. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1547. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1548. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1549. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1550. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1551. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1552. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  1553. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
  1554. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1555. /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]
  1556. if (likely(sz < 0 || sz >= n))
  1557. ^~
  1558. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1559. # define likely(x) __builtin_expect(!!(x), 1)
  1560. ^
  1561. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1562. /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]
  1563. if (likely(sz < 0 || sz >= n))
  1564. ^~
  1565. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1566. # define likely(x) __builtin_expect(!!(x), 1)
  1567. ^
  1568. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-mempool.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/li
  1569. nux-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-format-tru
  1570. ncation -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_mempool)" -D"KBUILD_MODNAM
  1571. E=KBUILD_STR(nvidia)" -c -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-mempool.c
  1572. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1573. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1574. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1575. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1576. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1577. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1578. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1579. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1580. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1581. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  1582. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
  1583. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1584. /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]
  1585. cnts, cnts | _QW_LOCKED) == cnts);
  1586. ^~
  1587. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1588. # define likely(x) __builtin_expect(!!(x), 1)
  1589. ^
  1590. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  1591. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  1592. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  1593. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  1594. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  1595. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  1596. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  1597. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  1598. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1599. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  1600. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
  1601. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1602. /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]
  1603. ((val) == 1 || (val) == -1)) ? \
  1604. ^~
  1605. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1606. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1607. ^~~~~~~~~~~~~
  1608. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1609. case 1: stem##1(variable, __VA_ARGS__);break; \
  1610. ^~~~
  1611. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1612. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1613. ^~~~~~~~~~~~~~~~
  1614. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1615. this_cpu_add(*percpu_count, nr);
  1616. ^~~~~~~~~~~~
  1617. /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]
  1618. ((val) == 1 || (val) == -1)) ? \
  1619. ^~
  1620. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1621. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1622. ^~~~~~~~~~~~~
  1623. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1624. case 2: stem##2(variable, __VA_ARGS__);break; \
  1625. ^~~~
  1626. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1627. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1628. ^~~~~~~~~~~~~~~~
  1629. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1630. this_cpu_add(*percpu_count, nr);
  1631. ^~~~~~~~~~~~
  1632. /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]
  1633. ((val) == 1 || (val) == -1)) ? \
  1634. ^~
  1635. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1636. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1637. ^~~~~~~~~~~~~
  1638. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1639. case 4: stem##4(variable, __VA_ARGS__);break; \
  1640. ^~~~
  1641. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1642. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1643. ^~~~~~~~~~~~~~~~
  1644. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1645. this_cpu_add(*percpu_count, nr);
  1646. ^~~~~~~~~~~~
  1647. /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]
  1648. ((val) == 1 || (val) == -1)) ? \
  1649. ^~
  1650. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1651. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1652. ^~~~~~~~~~~~~
  1653. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1654. case 8: stem##8(variable, __VA_ARGS__);break; \
  1655. ^~~~
  1656. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1657. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1658. ^~~~~~~~~~~~~~~~
  1659. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1660. this_cpu_add(*percpu_count, nr);
  1661. ^~~~~~~~~~~~
  1662. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1663. /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]
  1664. ((val) == 1 || (val) == -1)) ? \
  1665. ^~
  1666. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1667. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1668. ^~~~~~~~~~~~~
  1669. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1670. case 1: stem##1(variable, __VA_ARGS__);break; \
  1671. ^~~~
  1672. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1673. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1674. ^~~~~~~~~~~~~~~~
  1675. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1676. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1677. ^~~~~~~~~~~~
  1678. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1679. this_cpu_sub(*percpu_count, nr);
  1680. ^~~~~~~~~~~~
  1681. /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]
  1682. ((val) == 1 || (val) == -1)) ? \
  1683. ^~
  1684. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1685. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1686. ^~~~~~~~~~~~~
  1687. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1688. case 2: stem##2(variable, __VA_ARGS__);break; \
  1689. ^~~~
  1690. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1691. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1692. ^~~~~~~~~~~~~~~~
  1693. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1694. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1695. ^~~~~~~~~~~~
  1696. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1697. this_cpu_sub(*percpu_count, nr);
  1698. ^~~~~~~~~~~~
  1699. /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]
  1700. ((val) == 1 || (val) == -1)) ? \
  1701. ^~
  1702. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1703. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1704. ^~~~~~~~~~~~~
  1705. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1706. case 4: stem##4(variable, __VA_ARGS__);break; \
  1707. ^~~~
  1708. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1709. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1710. ^~~~~~~~~~~~~~~~
  1711. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1712. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1713. ^~~~~~~~~~~~
  1714. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1715. this_cpu_sub(*percpu_count, nr);
  1716. ^~~~~~~~~~~~
  1717. /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]
  1718. ((val) == 1 || (val) == -1)) ? \
  1719. ^~
  1720. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1721. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1722. ^~~~~~~~~~~~~
  1723. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1724. case 8: stem##8(variable, __VA_ARGS__);break; \
  1725. ^~~~
  1726. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1727. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1728. ^~~~~~~~~~~~~~~~
  1729. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1730. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1731. ^~~~~~~~~~~~
  1732. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1733. this_cpu_sub(*percpu_count, nr);
  1734. ^~~~~~~~~~~~
  1735. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1736. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1737. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1738. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1739. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1740. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1741. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1742. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1743. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1744. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  1745. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
  1746. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1747. /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]
  1748. if (likely(sz < 0 || sz >= n))
  1749. ^~
  1750. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1751. # define likely(x) __builtin_expect(!!(x), 1)
  1752. ^
  1753. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1754. /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]
  1755. if (likely(sz < 0 || sz >= n))
  1756. ^~
  1757. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1758. # define likely(x) __builtin_expect(!!(x), 1)
  1759. ^
  1760. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-mmap.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-34
  1761. 0.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=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wfram
  1762. e-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_mmap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kerne
  1763. l/nv-mmap.c
  1764. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1765. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1766. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1767. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1768. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1769. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1770. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1771. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1772. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1773. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  1774. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
  1775. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1776. /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]
  1777. cnts, cnts | _QW_LOCKED) == cnts);
  1778. ^~
  1779. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1780. # define likely(x) __builtin_expect(!!(x), 1)
  1781. ^
  1782. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  1783. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  1784. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  1785. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  1786. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  1787. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  1788. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  1789. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  1790. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1791. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  1792. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
  1793. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1794. /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]
  1795. ((val) == 1 || (val) == -1)) ? \
  1796. ^~
  1797. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1798. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1799. ^~~~~~~~~~~~~
  1800. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1801. case 1: stem##1(variable, __VA_ARGS__);break; \
  1802. ^~~~
  1803. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1804. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1805. ^~~~~~~~~~~~~~~~
  1806. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1807. this_cpu_add(*percpu_count, nr);
  1808. ^~~~~~~~~~~~
  1809. /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]
  1810. ((val) == 1 || (val) == -1)) ? \
  1811. ^~
  1812. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1813. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1814. ^~~~~~~~~~~~~
  1815. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1816. case 2: stem##2(variable, __VA_ARGS__);break; \
  1817. ^~~~
  1818. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1819. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1820. ^~~~~~~~~~~~~~~~
  1821. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1822. this_cpu_add(*percpu_count, nr);
  1823. ^~~~~~~~~~~~
  1824. /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]
  1825. ((val) == 1 || (val) == -1)) ? \
  1826. ^~
  1827. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1828. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1829. ^~~~~~~~~~~~~
  1830. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1831. case 4: stem##4(variable, __VA_ARGS__);break; \
  1832. ^~~~
  1833. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1834. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1835. ^~~~~~~~~~~~~~~~
  1836. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1837. this_cpu_add(*percpu_count, nr);
  1838. ^~~~~~~~~~~~
  1839. /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]
  1840. ((val) == 1 || (val) == -1)) ? \
  1841. ^~
  1842. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1843. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1844. ^~~~~~~~~~~~~
  1845. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1846. case 8: stem##8(variable, __VA_ARGS__);break; \
  1847. ^~~~
  1848. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1849. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1850. ^~~~~~~~~~~~~~~~
  1851. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1852. this_cpu_add(*percpu_count, nr);
  1853. ^~~~~~~~~~~~
  1854. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1855. /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]
  1856. ((val) == 1 || (val) == -1)) ? \
  1857. ^~
  1858. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1859. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1860. ^~~~~~~~~~~~~
  1861. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1862. case 1: stem##1(variable, __VA_ARGS__);break; \
  1863. ^~~~
  1864. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1865. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1866. ^~~~~~~~~~~~~~~~
  1867. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1868. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1869. ^~~~~~~~~~~~
  1870. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1871. this_cpu_sub(*percpu_count, nr);
  1872. ^~~~~~~~~~~~
  1873. /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]
  1874. ((val) == 1 || (val) == -1)) ? \
  1875. ^~
  1876. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1877. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1878. ^~~~~~~~~~~~~
  1879. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  1880. case 2: stem##2(variable, __VA_ARGS__);break; \
  1881. ^~~~
  1882. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1883. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1884. ^~~~~~~~~~~~~~~~
  1885. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1886. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1887. ^~~~~~~~~~~~
  1888. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1889. this_cpu_sub(*percpu_count, nr);
  1890. ^~~~~~~~~~~~
  1891. /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]
  1892. ((val) == 1 || (val) == -1)) ? \
  1893. ^~
  1894. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1895. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1896. ^~~~~~~~~~~~~
  1897. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  1898. case 4: stem##4(variable, __VA_ARGS__);break; \
  1899. ^~~~
  1900. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1901. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1902. ^~~~~~~~~~~~~~~~
  1903. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1904. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1905. ^~~~~~~~~~~~
  1906. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1907. this_cpu_sub(*percpu_count, nr);
  1908. ^~~~~~~~~~~~
  1909. /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]
  1910. ((val) == 1 || (val) == -1)) ? \
  1911. ^~
  1912. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  1913. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1914. ^~~~~~~~~~~~~
  1915. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  1916. case 8: stem##8(variable, __VA_ARGS__);break; \
  1917. ^~~~
  1918. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1919. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1920. ^~~~~~~~~~~~~~~~
  1921. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  1922. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1923. ^~~~~~~~~~~~
  1924. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  1925. this_cpu_sub(*percpu_count, nr);
  1926. ^~~~~~~~~~~~
  1927. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1928. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1929. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1930. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1931. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1932. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1933. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1934. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1935. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1936. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  1937. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
  1938. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  1939. /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]
  1940. if (likely(sz < 0 || sz >= n))
  1941. ^~
  1942. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1943. # define likely(x) __builtin_expect(!!(x), 1)
  1944. ^
  1945. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  1946. /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]
  1947. if (likely(sz < 0 || sz >= n))
  1948. ^~
  1949. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1950. # define likely(x) __builtin_expect(!!(x), 1)
  1951. ^
  1952. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-p2p.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-declaratio
  1953. n -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 -Wdeclara
  1954. tion-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_p2p)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -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-p2p.c
  1955. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  1956. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  1957. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  1958. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  1959. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  1960. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  1961. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  1962. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  1963. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1964. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  1965. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
  1966. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  1967. /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]
  1968. cnts, cnts | _QW_LOCKED) == cnts);
  1969. ^~
  1970. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  1971. # define likely(x) __builtin_expect(!!(x), 1)
  1972. ^
  1973. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  1974. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  1975. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  1976. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  1977. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  1978. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  1979. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  1980. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  1981. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  1982. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  1983. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
  1984. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1985. /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]
  1986. ((val) == 1 || (val) == -1)) ? \
  1987. ^~
  1988. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  1989. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1990. ^~~~~~~~~~~~~
  1991. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  1992. case 1: stem##1(variable, __VA_ARGS__);break; \
  1993. ^~~~
  1994. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  1995. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1996. ^~~~~~~~~~~~~~~~
  1997. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  1998. this_cpu_add(*percpu_count, nr);
  1999. ^~~~~~~~~~~~
  2000. /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]
  2001. ((val) == 1 || (val) == -1)) ? \
  2002. ^~
  2003. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2004. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2005. ^~~~~~~~~~~~~
  2006. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  2007. case 2: stem##2(variable, __VA_ARGS__);break; \
  2008. ^~~~
  2009. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2010. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2011. ^~~~~~~~~~~~~~~~
  2012. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2013. this_cpu_add(*percpu_count, nr);
  2014. ^~~~~~~~~~~~
  2015. /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]
  2016. ((val) == 1 || (val) == -1)) ? \
  2017. ^~
  2018. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2019. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2020. ^~~~~~~~~~~~~
  2021. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2022. case 4: stem##4(variable, __VA_ARGS__);break; \
  2023. ^~~~
  2024. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2025. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2026. ^~~~~~~~~~~~~~~~
  2027. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2028. this_cpu_add(*percpu_count, nr);
  2029. ^~~~~~~~~~~~
  2030. /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]
  2031. ((val) == 1 || (val) == -1)) ? \
  2032. ^~
  2033. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2034. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2035. ^~~~~~~~~~~~~
  2036. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2037. case 8: stem##8(variable, __VA_ARGS__);break; \
  2038. ^~~~
  2039. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2040. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2041. ^~~~~~~~~~~~~~~~
  2042. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2043. this_cpu_add(*percpu_count, nr);
  2044. ^~~~~~~~~~~~
  2045. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  2046. /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]
  2047. ((val) == 1 || (val) == -1)) ? \
  2048. ^~
  2049. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2050. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2051. ^~~~~~~~~~~~~
  2052. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  2053. case 1: stem##1(variable, __VA_ARGS__);break; \
  2054. ^~~~
  2055. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2056. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2057. ^~~~~~~~~~~~~~~~
  2058. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2059. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2060. ^~~~~~~~~~~~
  2061. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2062. this_cpu_sub(*percpu_count, nr);
  2063. ^~~~~~~~~~~~
  2064. /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]
  2065. ((val) == 1 || (val) == -1)) ? \
  2066. ^~
  2067. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2068. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2069. ^~~~~~~~~~~~~
  2070. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  2071. case 2: stem##2(variable, __VA_ARGS__);break; \
  2072. ^~~~
  2073. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2074. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2075. ^~~~~~~~~~~~~~~~
  2076. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2077. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2078. ^~~~~~~~~~~~
  2079. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2080. this_cpu_sub(*percpu_count, nr);
  2081. ^~~~~~~~~~~~
  2082. /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]
  2083. ((val) == 1 || (val) == -1)) ? \
  2084. ^~
  2085. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2086. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2087. ^~~~~~~~~~~~~
  2088. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2089. case 4: stem##4(variable, __VA_ARGS__);break; \
  2090. ^~~~
  2091. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2092. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2093. ^~~~~~~~~~~~~~~~
  2094. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2095. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2096. ^~~~~~~~~~~~
  2097. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2098. this_cpu_sub(*percpu_count, nr);
  2099. ^~~~~~~~~~~~
  2100. /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]
  2101. ((val) == 1 || (val) == -1)) ? \
  2102. ^~
  2103. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2104. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2105. ^~~~~~~~~~~~~
  2106. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2107. case 8: stem##8(variable, __VA_ARGS__);break; \
  2108. ^~~~
  2109. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2110. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2111. ^~~~~~~~~~~~~~~~
  2112. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2113. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2114. ^~~~~~~~~~~~
  2115. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2116. this_cpu_sub(*percpu_count, nr);
  2117. ^~~~~~~~~~~~
  2118. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  2119. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  2120. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  2121. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  2122. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  2123. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  2124. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  2125. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  2126. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2127. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  2128. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
  2129. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  2130. /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]
  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. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  2137. /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]
  2138. if (likely(sz < 0 || sz >= n))
  2139. ^~
  2140. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2141. # define likely(x) __builtin_expect(!!(x), 1)
  2142. ^
  2143. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-pat.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 -mpr
  2144. eferred-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 -fmerge-constants -fno-stack-check -fconserve-stack
  2145. -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_pat)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -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-pat.c
  2146. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  2147. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  2148. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  2149. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  2150. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  2151. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  2152. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  2153. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  2154. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2155. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  2156. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
  2157. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  2158. /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]
  2159. cnts, cnts | _QW_LOCKED) == cnts);
  2160. ^~
  2161. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2162. # define likely(x) __builtin_expect(!!(x), 1)
  2163. ^
  2164. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  2165. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  2166. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  2167. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  2168. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  2169. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  2170. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  2171. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  2172. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2173. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  2174. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
  2175. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  2176. /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]
  2177. ((val) == 1 || (val) == -1)) ? \
  2178. ^~
  2179. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2180. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2181. ^~~~~~~~~~~~~
  2182. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  2183. case 1: stem##1(variable, __VA_ARGS__);break; \
  2184. ^~~~
  2185. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2186. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2187. ^~~~~~~~~~~~~~~~
  2188. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2189. this_cpu_add(*percpu_count, nr);
  2190. ^~~~~~~~~~~~
  2191. /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]
  2192. ((val) == 1 || (val) == -1)) ? \
  2193. ^~
  2194. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2195. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2196. ^~~~~~~~~~~~~
  2197. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  2198. case 2: stem##2(variable, __VA_ARGS__);break; \
  2199. ^~~~
  2200. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2201. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2202. ^~~~~~~~~~~~~~~~
  2203. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2204. this_cpu_add(*percpu_count, nr);
  2205. ^~~~~~~~~~~~
  2206. /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]
  2207. ((val) == 1 || (val) == -1)) ? \
  2208. ^~
  2209. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2210. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2211. ^~~~~~~~~~~~~
  2212. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2213. case 4: stem##4(variable, __VA_ARGS__);break; \
  2214. ^~~~
  2215. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2216. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2217. ^~~~~~~~~~~~~~~~
  2218. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2219. this_cpu_add(*percpu_count, nr);
  2220. ^~~~~~~~~~~~
  2221. /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]
  2222. ((val) == 1 || (val) == -1)) ? \
  2223. ^~
  2224. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2225. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2226. ^~~~~~~~~~~~~
  2227. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2228. case 8: stem##8(variable, __VA_ARGS__);break; \
  2229. ^~~~
  2230. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2231. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2232. ^~~~~~~~~~~~~~~~
  2233. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2234. this_cpu_add(*percpu_count, nr);
  2235. ^~~~~~~~~~~~
  2236. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  2237. /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]
  2238. ((val) == 1 || (val) == -1)) ? \
  2239. ^~
  2240. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2241. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2242. ^~~~~~~~~~~~~
  2243. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  2244. case 1: stem##1(variable, __VA_ARGS__);break; \
  2245. ^~~~
  2246. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2247. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2248. ^~~~~~~~~~~~~~~~
  2249. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2250. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2251. ^~~~~~~~~~~~
  2252. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2253. this_cpu_sub(*percpu_count, nr);
  2254. ^~~~~~~~~~~~
  2255. /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]
  2256. ((val) == 1 || (val) == -1)) ? \
  2257. ^~
  2258. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2259. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2260. ^~~~~~~~~~~~~
  2261. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  2262. case 2: stem##2(variable, __VA_ARGS__);break; \
  2263. ^~~~
  2264. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2265. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2266. ^~~~~~~~~~~~~~~~
  2267. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2268. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2269. ^~~~~~~~~~~~
  2270. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2271. this_cpu_sub(*percpu_count, nr);
  2272. ^~~~~~~~~~~~
  2273. /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]
  2274. ((val) == 1 || (val) == -1)) ? \
  2275. ^~
  2276. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2277. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2278. ^~~~~~~~~~~~~
  2279. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2280. case 4: stem##4(variable, __VA_ARGS__);break; \
  2281. ^~~~
  2282. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2283. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2284. ^~~~~~~~~~~~~~~~
  2285. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2286. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2287. ^~~~~~~~~~~~
  2288. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2289. this_cpu_sub(*percpu_count, nr);
  2290. ^~~~~~~~~~~~
  2291. /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]
  2292. ((val) == 1 || (val) == -1)) ? \
  2293. ^~
  2294. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2295. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2296. ^~~~~~~~~~~~~
  2297. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2298. case 8: stem##8(variable, __VA_ARGS__);break; \
  2299. ^~~~
  2300. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2301. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2302. ^~~~~~~~~~~~~~~~
  2303. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2304. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2305. ^~~~~~~~~~~~
  2306. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2307. this_cpu_sub(*percpu_count, nr);
  2308. ^~~~~~~~~~~~
  2309. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  2310. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  2311. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  2312. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  2313. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  2314. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  2315. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  2316. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  2317. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2318. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  2319. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
  2320. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  2321. /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]
  2322. if (likely(sz < 0 || sz >= n))
  2323. ^~
  2324. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2325. # define likely(x) __builtin_expect(!!(x), 1)
  2326. ^
  2327. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  2328. /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]
  2329. if (likely(sz < 0 || sz >= n))
  2330. ^~
  2331. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2332. # define likely(x) __builtin_expect(!!(x), 1)
  2333. ^
  2334. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-procfs.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_A
  2335. S_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=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG
  2336. -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_procfs)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -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-procfs.c
  2337. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  2338. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  2339. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  2340. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  2341. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  2342. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  2343. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  2344. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  2345. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2346. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  2347. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
  2348. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  2349. /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]
  2350. cnts, cnts | _QW_LOCKED) == cnts);
  2351. ^~
  2352. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2353. # define likely(x) __builtin_expect(!!(x), 1)
  2354. ^
  2355. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  2356. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  2357. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  2358. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  2359. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  2360. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  2361. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  2362. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  2363. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2364. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  2365. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
  2366. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  2367. /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]
  2368. ((val) == 1 || (val) == -1)) ? \
  2369. ^~
  2370. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2371. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2372. ^~~~~~~~~~~~~
  2373. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  2374. case 1: stem##1(variable, __VA_ARGS__);break; \
  2375. ^~~~
  2376. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2377. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2378. ^~~~~~~~~~~~~~~~
  2379. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2380. this_cpu_add(*percpu_count, nr);
  2381. ^~~~~~~~~~~~
  2382. /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]
  2383. ((val) == 1 || (val) == -1)) ? \
  2384. ^~
  2385. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2386. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2387. ^~~~~~~~~~~~~
  2388. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  2389. case 2: stem##2(variable, __VA_ARGS__);break; \
  2390. ^~~~
  2391. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2392. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2393. ^~~~~~~~~~~~~~~~
  2394. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2395. this_cpu_add(*percpu_count, nr);
  2396. ^~~~~~~~~~~~
  2397. /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]
  2398. ((val) == 1 || (val) == -1)) ? \
  2399. ^~
  2400. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2401. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2402. ^~~~~~~~~~~~~
  2403. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2404. case 4: stem##4(variable, __VA_ARGS__);break; \
  2405. ^~~~
  2406. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2407. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2408. ^~~~~~~~~~~~~~~~
  2409. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2410. this_cpu_add(*percpu_count, nr);
  2411. ^~~~~~~~~~~~
  2412. /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]
  2413. ((val) == 1 || (val) == -1)) ? \
  2414. ^~
  2415. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2416. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2417. ^~~~~~~~~~~~~
  2418. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2419. case 8: stem##8(variable, __VA_ARGS__);break; \
  2420. ^~~~
  2421. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2422. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2423. ^~~~~~~~~~~~~~~~
  2424. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2425. this_cpu_add(*percpu_count, nr);
  2426. ^~~~~~~~~~~~
  2427. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  2428. /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]
  2429. ((val) == 1 || (val) == -1)) ? \
  2430. ^~
  2431. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2432. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2433. ^~~~~~~~~~~~~
  2434. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  2435. case 1: stem##1(variable, __VA_ARGS__);break; \
  2436. ^~~~
  2437. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2438. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2439. ^~~~~~~~~~~~~~~~
  2440. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2441. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2442. ^~~~~~~~~~~~
  2443. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2444. this_cpu_sub(*percpu_count, nr);
  2445. ^~~~~~~~~~~~
  2446. /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]
  2447. ((val) == 1 || (val) == -1)) ? \
  2448. ^~
  2449. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2450. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2451. ^~~~~~~~~~~~~
  2452. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  2453. case 2: stem##2(variable, __VA_ARGS__);break; \
  2454. ^~~~
  2455. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2456. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2457. ^~~~~~~~~~~~~~~~
  2458. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2459. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2460. ^~~~~~~~~~~~
  2461. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2462. this_cpu_sub(*percpu_count, nr);
  2463. ^~~~~~~~~~~~
  2464. /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]
  2465. ((val) == 1 || (val) == -1)) ? \
  2466. ^~
  2467. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2468. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2469. ^~~~~~~~~~~~~
  2470. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2471. case 4: stem##4(variable, __VA_ARGS__);break; \
  2472. ^~~~
  2473. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2474. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2475. ^~~~~~~~~~~~~~~~
  2476. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2477. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2478. ^~~~~~~~~~~~
  2479. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2480. this_cpu_sub(*percpu_count, nr);
  2481. ^~~~~~~~~~~~
  2482. /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]
  2483. ((val) == 1 || (val) == -1)) ? \
  2484. ^~
  2485. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2486. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2487. ^~~~~~~~~~~~~
  2488. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2489. case 8: stem##8(variable, __VA_ARGS__);break; \
  2490. ^~~~
  2491. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2492. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2493. ^~~~~~~~~~~~~~~~
  2494. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2495. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2496. ^~~~~~~~~~~~
  2497. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2498. this_cpu_sub(*percpu_count, nr);
  2499. ^~~~~~~~~~~~
  2500. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  2501. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  2502. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  2503. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  2504. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  2505. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  2506. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  2507. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  2508. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2509. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  2510. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
  2511. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  2512. /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]
  2513. if (likely(sz < 0 || sz >= n))
  2514. ^~
  2515. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2516. # define likely(x) __builtin_expect(!!(x), 1)
  2517. ^
  2518. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  2519. /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]
  2520. if (likely(sz < 0 || sz >= n))
  2521. ^~
  2522. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2523. # define likely(x) __builtin_expect(!!(x), 1)
  2524. ^
  2525. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-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 -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_
  2526. 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-error -D__KERNEL__ -DMODULE -D
  2527. NVRM -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_usermap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -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-usermap.c
  2528. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  2529. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  2530. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  2531. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  2532. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  2533. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  2534. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  2535. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  2536. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2537. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  2538. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
  2539. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  2540. /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]
  2541. cnts, cnts | _QW_LOCKED) == cnts);
  2542. ^~
  2543. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2544. # define likely(x) __builtin_expect(!!(x), 1)
  2545. ^
  2546. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  2547. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  2548. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  2549. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  2550. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  2551. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  2552. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  2553. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  2554. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2555. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  2556. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
  2557. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  2558. /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]
  2559. ((val) == 1 || (val) == -1)) ? \
  2560. ^~
  2561. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2562. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2563. ^~~~~~~~~~~~~
  2564. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  2565. case 1: stem##1(variable, __VA_ARGS__);break; \
  2566. ^~~~
  2567. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2568. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2569. ^~~~~~~~~~~~~~~~
  2570. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2571. this_cpu_add(*percpu_count, nr);
  2572. ^~~~~~~~~~~~
  2573. /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]
  2574. ((val) == 1 || (val) == -1)) ? \
  2575. ^~
  2576. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2577. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2578. ^~~~~~~~~~~~~
  2579. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  2580. case 2: stem##2(variable, __VA_ARGS__);break; \
  2581. ^~~~
  2582. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2583. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2584. ^~~~~~~~~~~~~~~~
  2585. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2586. this_cpu_add(*percpu_count, nr);
  2587. ^~~~~~~~~~~~
  2588. /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]
  2589. ((val) == 1 || (val) == -1)) ? \
  2590. ^~
  2591. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2592. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2593. ^~~~~~~~~~~~~
  2594. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2595. case 4: stem##4(variable, __VA_ARGS__);break; \
  2596. ^~~~
  2597. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2598. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2599. ^~~~~~~~~~~~~~~~
  2600. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2601. this_cpu_add(*percpu_count, nr);
  2602. ^~~~~~~~~~~~
  2603. /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]
  2604. ((val) == 1 || (val) == -1)) ? \
  2605. ^~
  2606. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2607. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2608. ^~~~~~~~~~~~~
  2609. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2610. case 8: stem##8(variable, __VA_ARGS__);break; \
  2611. ^~~~
  2612. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2613. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2614. ^~~~~~~~~~~~~~~~
  2615. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2616. this_cpu_add(*percpu_count, nr);
  2617. ^~~~~~~~~~~~
  2618. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  2619. /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]
  2620. ((val) == 1 || (val) == -1)) ? \
  2621. ^~
  2622. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2623. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2624. ^~~~~~~~~~~~~
  2625. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  2626. case 1: stem##1(variable, __VA_ARGS__);break; \
  2627. ^~~~
  2628. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2629. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2630. ^~~~~~~~~~~~~~~~
  2631. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2632. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2633. ^~~~~~~~~~~~
  2634. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2635. this_cpu_sub(*percpu_count, nr);
  2636. ^~~~~~~~~~~~
  2637. /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]
  2638. ((val) == 1 || (val) == -1)) ? \
  2639. ^~
  2640. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2641. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2642. ^~~~~~~~~~~~~
  2643. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  2644. case 2: stem##2(variable, __VA_ARGS__);break; \
  2645. ^~~~
  2646. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2647. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2648. ^~~~~~~~~~~~~~~~
  2649. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2650. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2651. ^~~~~~~~~~~~
  2652. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2653. this_cpu_sub(*percpu_count, nr);
  2654. ^~~~~~~~~~~~
  2655. /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]
  2656. ((val) == 1 || (val) == -1)) ? \
  2657. ^~
  2658. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2659. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2660. ^~~~~~~~~~~~~
  2661. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2662. case 4: stem##4(variable, __VA_ARGS__);break; \
  2663. ^~~~
  2664. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2665. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2666. ^~~~~~~~~~~~~~~~
  2667. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2668. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2669. ^~~~~~~~~~~~
  2670. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2671. this_cpu_sub(*percpu_count, nr);
  2672. ^~~~~~~~~~~~
  2673. /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]
  2674. ((val) == 1 || (val) == -1)) ? \
  2675. ^~
  2676. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2677. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2678. ^~~~~~~~~~~~~
  2679. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2680. case 8: stem##8(variable, __VA_ARGS__);break; \
  2681. ^~~~
  2682. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2683. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2684. ^~~~~~~~~~~~~~~~
  2685. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2686. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2687. ^~~~~~~~~~~~
  2688. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2689. this_cpu_sub(*percpu_count, nr);
  2690. ^~~~~~~~~~~~
  2691. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  2692. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  2693. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  2694. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  2695. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  2696. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  2697. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  2698. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  2699. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2700. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  2701. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
  2702. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  2703. /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]
  2704. if (likely(sz < 0 || sz >= n))
  2705. ^~
  2706. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2707. # define likely(x) __builtin_expect(!!(x), 1)
  2708. ^
  2709. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  2710. /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]
  2711. if (likely(sz < 0 || sz >= n))
  2712. ^~
  2713. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2714. # define likely(x) __builtin_expect(!!(x), 1)
  2715. ^
  2716. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-vm.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
  2717. /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-extern
  2718. -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_UVM_ENABL
  2719. E -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c
  2720. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  2721. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  2722. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  2723. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  2724. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  2725. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  2726. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  2727. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  2728. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2729. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  2730. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
  2731. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  2732. /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]
  2733. cnts, cnts | _QW_LOCKED) == cnts);
  2734. ^~
  2735. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2736. # define likely(x) __builtin_expect(!!(x), 1)
  2737. ^
  2738. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  2739. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  2740. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  2741. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  2742. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  2743. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  2744. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  2745. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  2746. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2747. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  2748. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
  2749. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  2750. /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]
  2751. ((val) == 1 || (val) == -1)) ? \
  2752. ^~
  2753. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2754. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2755. ^~~~~~~~~~~~~
  2756. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  2757. case 1: stem##1(variable, __VA_ARGS__);break; \
  2758. ^~~~
  2759. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2760. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2761. ^~~~~~~~~~~~~~~~
  2762. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2763. this_cpu_add(*percpu_count, nr);
  2764. ^~~~~~~~~~~~
  2765. /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]
  2766. ((val) == 1 || (val) == -1)) ? \
  2767. ^~
  2768. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2769. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2770. ^~~~~~~~~~~~~
  2771. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  2772. case 2: stem##2(variable, __VA_ARGS__);break; \
  2773. ^~~~
  2774. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2775. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2776. ^~~~~~~~~~~~~~~~
  2777. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2778. this_cpu_add(*percpu_count, nr);
  2779. ^~~~~~~~~~~~
  2780. /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]
  2781. ((val) == 1 || (val) == -1)) ? \
  2782. ^~
  2783. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2784. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2785. ^~~~~~~~~~~~~
  2786. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2787. case 4: stem##4(variable, __VA_ARGS__);break; \
  2788. ^~~~
  2789. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2790. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2791. ^~~~~~~~~~~~~~~~
  2792. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2793. this_cpu_add(*percpu_count, nr);
  2794. ^~~~~~~~~~~~
  2795. /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]
  2796. ((val) == 1 || (val) == -1)) ? \
  2797. ^~
  2798. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2799. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2800. ^~~~~~~~~~~~~
  2801. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2802. case 8: stem##8(variable, __VA_ARGS__);break; \
  2803. ^~~~
  2804. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2805. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2806. ^~~~~~~~~~~~~~~~
  2807. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2808. this_cpu_add(*percpu_count, nr);
  2809. ^~~~~~~~~~~~
  2810. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  2811. /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]
  2812. ((val) == 1 || (val) == -1)) ? \
  2813. ^~
  2814. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2815. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2816. ^~~~~~~~~~~~~
  2817. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  2818. case 1: stem##1(variable, __VA_ARGS__);break; \
  2819. ^~~~
  2820. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2821. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2822. ^~~~~~~~~~~~~~~~
  2823. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2824. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2825. ^~~~~~~~~~~~
  2826. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2827. this_cpu_sub(*percpu_count, nr);
  2828. ^~~~~~~~~~~~
  2829. /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]
  2830. ((val) == 1 || (val) == -1)) ? \
  2831. ^~
  2832. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2833. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2834. ^~~~~~~~~~~~~
  2835. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  2836. case 2: stem##2(variable, __VA_ARGS__);break; \
  2837. ^~~~
  2838. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2839. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2840. ^~~~~~~~~~~~~~~~
  2841. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2842. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2843. ^~~~~~~~~~~~
  2844. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2845. this_cpu_sub(*percpu_count, nr);
  2846. ^~~~~~~~~~~~
  2847. /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]
  2848. ((val) == 1 || (val) == -1)) ? \
  2849. ^~
  2850. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2851. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2852. ^~~~~~~~~~~~~
  2853. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2854. case 4: stem##4(variable, __VA_ARGS__);break; \
  2855. ^~~~
  2856. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2857. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2858. ^~~~~~~~~~~~~~~~
  2859. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2860. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2861. ^~~~~~~~~~~~
  2862. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2863. this_cpu_sub(*percpu_count, nr);
  2864. ^~~~~~~~~~~~
  2865. /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]
  2866. ((val) == 1 || (val) == -1)) ? \
  2867. ^~
  2868. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2869. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2870. ^~~~~~~~~~~~~
  2871. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2872. case 8: stem##8(variable, __VA_ARGS__);break; \
  2873. ^~~~
  2874. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2875. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2876. ^~~~~~~~~~~~~~~~
  2877. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  2878. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  2879. ^~~~~~~~~~~~
  2880. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  2881. this_cpu_sub(*percpu_count, nr);
  2882. ^~~~~~~~~~~~
  2883. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  2884. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  2885. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  2886. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  2887. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  2888. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  2889. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  2890. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  2891. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2892. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  2893. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
  2894. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  2895. /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]
  2896. if (likely(sz < 0 || sz >= n))
  2897. ^~
  2898. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2899. # define likely(x) __builtin_expect(!!(x), 1)
  2900. ^
  2901. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  2902. /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]
  2903. if (likely(sz < 0 || sz >= n))
  2904. ^~
  2905. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2906. # define likely(x) __builtin_expect(!!(x), 1)
  2907. ^
  2908. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-vtophys.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 -Iinclud
  2909. e/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-format-truncation -Wno-format-overflow -Wno
  2910. -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_vtophys)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/
  2911. NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c
  2912. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  2913. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  2914. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  2915. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  2916. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  2917. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  2918. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  2919. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  2920. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2921. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  2922. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
  2923. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  2924. /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]
  2925. cnts, cnts | _QW_LOCKED) == cnts);
  2926. ^~
  2927. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  2928. # define likely(x) __builtin_expect(!!(x), 1)
  2929. ^
  2930. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  2931. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  2932. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  2933. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  2934. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  2935. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  2936. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  2937. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  2938. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  2939. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  2940. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
  2941. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  2942. /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]
  2943. ((val) == 1 || (val) == -1)) ? \
  2944. ^~
  2945. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  2946. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  2947. ^~~~~~~~~~~~~
  2948. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  2949. case 1: stem##1(variable, __VA_ARGS__);break; \
  2950. ^~~~
  2951. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2952. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2953. ^~~~~~~~~~~~~~~~
  2954. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2955. this_cpu_add(*percpu_count, nr);
  2956. ^~~~~~~~~~~~
  2957. /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]
  2958. ((val) == 1 || (val) == -1)) ? \
  2959. ^~
  2960. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  2961. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  2962. ^~~~~~~~~~~~~
  2963. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  2964. case 2: stem##2(variable, __VA_ARGS__);break; \
  2965. ^~~~
  2966. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2967. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2968. ^~~~~~~~~~~~~~~~
  2969. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2970. this_cpu_add(*percpu_count, nr);
  2971. ^~~~~~~~~~~~
  2972. /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]
  2973. ((val) == 1 || (val) == -1)) ? \
  2974. ^~
  2975. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  2976. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2977. ^~~~~~~~~~~~~
  2978. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  2979. case 4: stem##4(variable, __VA_ARGS__);break; \
  2980. ^~~~
  2981. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2982. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2983. ^~~~~~~~~~~~~~~~
  2984. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  2985. this_cpu_add(*percpu_count, nr);
  2986. ^~~~~~~~~~~~
  2987. /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]
  2988. ((val) == 1 || (val) == -1)) ? \
  2989. ^~
  2990. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  2991. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2992. ^~~~~~~~~~~~~
  2993. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  2994. case 8: stem##8(variable, __VA_ARGS__);break; \
  2995. ^~~~
  2996. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  2997. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  2998. ^~~~~~~~~~~~~~~~
  2999. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  3000. this_cpu_add(*percpu_count, nr);
  3001. ^~~~~~~~~~~~
  3002. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  3003. /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]
  3004. ((val) == 1 || (val) == -1)) ? \
  3005. ^~
  3006. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  3007. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  3008. ^~~~~~~~~~~~~
  3009. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  3010. case 1: stem##1(variable, __VA_ARGS__);break; \
  3011. ^~~~
  3012. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3013. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3014. ^~~~~~~~~~~~~~~~
  3015. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  3016. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  3017. ^~~~~~~~~~~~
  3018. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3019. this_cpu_sub(*percpu_count, nr);
  3020. ^~~~~~~~~~~~
  3021. /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]
  3022. ((val) == 1 || (val) == -1)) ? \
  3023. ^~
  3024. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  3025. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  3026. ^~~~~~~~~~~~~
  3027. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  3028. case 2: stem##2(variable, __VA_ARGS__);break; \
  3029. ^~~~
  3030. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3031. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3032. ^~~~~~~~~~~~~~~~
  3033. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  3034. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  3035. ^~~~~~~~~~~~
  3036. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3037. this_cpu_sub(*percpu_count, nr);
  3038. ^~~~~~~~~~~~
  3039. /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]
  3040. ((val) == 1 || (val) == -1)) ? \
  3041. ^~
  3042. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  3043. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  3044. ^~~~~~~~~~~~~
  3045. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  3046. case 4: stem##4(variable, __VA_ARGS__);break; \
  3047. ^~~~
  3048. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3049. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3050. ^~~~~~~~~~~~~~~~
  3051. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  3052. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  3053. ^~~~~~~~~~~~
  3054. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3055. this_cpu_sub(*percpu_count, nr);
  3056. ^~~~~~~~~~~~
  3057. /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]
  3058. ((val) == 1 || (val) == -1)) ? \
  3059. ^~
  3060. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  3061. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  3062. ^~~~~~~~~~~~~
  3063. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  3064. case 8: stem##8(variable, __VA_ARGS__);break; \
  3065. ^~~~
  3066. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3067. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3068. ^~~~~~~~~~~~~~~~
  3069. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  3070. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  3071. ^~~~~~~~~~~~
  3072. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3073. this_cpu_sub(*percpu_count, nr);
  3074. ^~~~~~~~~~~~
  3075. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  3076. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  3077. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  3078. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  3079. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  3080. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  3081. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  3082. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  3083. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  3084. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  3085. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
  3086. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  3087. /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]
  3088. if (likely(sz < 0 || sz >= n))
  3089. ^~
  3090. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  3091. # define likely(x) __builtin_expect(!!(x), 1)
  3092. ^
  3093. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  3094. /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]
  3095. if (likely(sz < 0 || sz >= n))
  3096. ^~
  3097. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  3098. # define likely(x) __builtin_expect(!!(x), 1)
  3099. ^
  3100. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.os-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/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_
  3101. _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
  3102. 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 -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(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -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-interface.c
  3103. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  3104. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  3105. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  3106. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  3107. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  3108. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  3109. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  3110. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  3111. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  3112. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  3113. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.c:15:
  3114. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  3115. /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]
  3116. cnts, cnts | _QW_LOCKED) == cnts);
  3117. ^~
  3118. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  3119. # define likely(x) __builtin_expect(!!(x), 1)
  3120. ^
  3121. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  3122. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  3123. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  3124. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  3125. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  3126. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  3127. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  3128. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  3129. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  3130. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  3131. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.c:15:
  3132. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  3133. /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]
  3134. ((val) == 1 || (val) == -1)) ? \
  3135. ^~
  3136. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  3137. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  3138. ^~~~~~~~~~~~~
  3139. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  3140. case 1: stem##1(variable, __VA_ARGS__);break; \
  3141. ^~~~
  3142. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3143. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3144. ^~~~~~~~~~~~~~~~
  3145. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  3146. this_cpu_add(*percpu_count, nr);
  3147. ^~~~~~~~~~~~
  3148. /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]
  3149. ((val) == 1 || (val) == -1)) ? \
  3150. ^~
  3151. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  3152. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  3153. ^~~~~~~~~~~~~
  3154. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  3155. case 2: stem##2(variable, __VA_ARGS__);break; \
  3156. ^~~~
  3157. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3158. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3159. ^~~~~~~~~~~~~~~~
  3160. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  3161. this_cpu_add(*percpu_count, nr);
  3162. ^~~~~~~~~~~~
  3163. /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]
  3164. ((val) == 1 || (val) == -1)) ? \
  3165. ^~
  3166. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  3167. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  3168. ^~~~~~~~~~~~~
  3169. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  3170. case 4: stem##4(variable, __VA_ARGS__);break; \
  3171. ^~~~
  3172. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3173. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3174. ^~~~~~~~~~~~~~~~
  3175. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  3176. this_cpu_add(*percpu_count, nr);
  3177. ^~~~~~~~~~~~
  3178. /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]
  3179. ((val) == 1 || (val) == -1)) ? \
  3180. ^~
  3181. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  3182. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  3183. ^~~~~~~~~~~~~
  3184. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  3185. case 8: stem##8(variable, __VA_ARGS__);break; \
  3186. ^~~~
  3187. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3188. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3189. ^~~~~~~~~~~~~~~~
  3190. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  3191. this_cpu_add(*percpu_count, nr);
  3192. ^~~~~~~~~~~~
  3193. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  3194. /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]
  3195. ((val) == 1 || (val) == -1)) ? \
  3196. ^~
  3197. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  3198. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  3199. ^~~~~~~~~~~~~
  3200. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  3201. case 1: stem##1(variable, __VA_ARGS__);break; \
  3202. ^~~~
  3203. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3204. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3205. ^~~~~~~~~~~~~~~~
  3206. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  3207. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  3208. ^~~~~~~~~~~~
  3209. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3210. this_cpu_sub(*percpu_count, nr);
  3211. ^~~~~~~~~~~~
  3212. /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]
  3213. ((val) == 1 || (val) == -1)) ? \
  3214. ^~
  3215. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  3216. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  3217. ^~~~~~~~~~~~~
  3218. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  3219. case 2: stem##2(variable, __VA_ARGS__);break; \
  3220. ^~~~
  3221. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3222. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3223. ^~~~~~~~~~~~~~~~
  3224. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  3225. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  3226. ^~~~~~~~~~~~
  3227. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3228. this_cpu_sub(*percpu_count, nr);
  3229. ^~~~~~~~~~~~
  3230. /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]
  3231. ((val) == 1 || (val) == -1)) ? \
  3232. ^~
  3233. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  3234. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  3235. ^~~~~~~~~~~~~
  3236. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  3237. case 4: stem##4(variable, __VA_ARGS__);break; \
  3238. ^~~~
  3239. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3240. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3241. ^~~~~~~~~~~~~~~~
  3242. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  3243. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  3244. ^~~~~~~~~~~~
  3245. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3246. this_cpu_sub(*percpu_count, nr);
  3247. ^~~~~~~~~~~~
  3248. /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]
  3249. ((val) == 1 || (val) == -1)) ? \
  3250. ^~
  3251. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  3252. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  3253. ^~~~~~~~~~~~~
  3254. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  3255. case 8: stem##8(variable, __VA_ARGS__);break; \
  3256. ^~~~
  3257. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3258. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3259. ^~~~~~~~~~~~~~~~
  3260. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  3261. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  3262. ^~~~~~~~~~~~
  3263. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3264. this_cpu_sub(*percpu_count, nr);
  3265. ^~~~~~~~~~~~
  3266. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  3267. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  3268. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  3269. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  3270. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  3271. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  3272. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  3273. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  3274. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  3275. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  3276. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.c:15:
  3277. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  3278. /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]
  3279. if (likely(sz < 0 || sz >= n))
  3280. ^~
  3281. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  3282. # define likely(x) __builtin_expect(!!(x), 1)
  3283. ^
  3284. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  3285. /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]
  3286. if (likely(sz < 0 || sz >= n))
  3287. ^~
  3288. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  3289. # define likely(x) __builtin_expect(!!(x), 1)
  3290. ^
  3291. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.os-mlock.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-declar
  3292. ation -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 -Wdec
  3293. laration-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(os_mlock)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -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-mlock.c
  3294. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  3295. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  3296. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  3297. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  3298. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  3299. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  3300. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  3301. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  3302. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  3303. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  3304. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
  3305. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  3306. /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]
  3307. cnts, cnts | _QW_LOCKED) == cnts);
  3308. ^~
  3309. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  3310. # define likely(x) __builtin_expect(!!(x), 1)
  3311. ^
  3312. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  3313. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  3314. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  3315. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  3316. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  3317. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  3318. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  3319. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  3320. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  3321. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  3322. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
  3323. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  3324. /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]
  3325. ((val) == 1 || (val) == -1)) ? \
  3326. ^~
  3327. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  3328. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  3329. ^~~~~~~~~~~~~
  3330. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  3331. case 1: stem##1(variable, __VA_ARGS__);break; \
  3332. ^~~~
  3333. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3334. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3335. ^~~~~~~~~~~~~~~~
  3336. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  3337. this_cpu_add(*percpu_count, nr);
  3338. ^~~~~~~~~~~~
  3339. /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]
  3340. ((val) == 1 || (val) == -1)) ? \
  3341. ^~
  3342. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  3343. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  3344. ^~~~~~~~~~~~~
  3345. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  3346. case 2: stem##2(variable, __VA_ARGS__);break; \
  3347. ^~~~
  3348. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3349. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3350. ^~~~~~~~~~~~~~~~
  3351. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  3352. this_cpu_add(*percpu_count, nr);
  3353. ^~~~~~~~~~~~
  3354. /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]
  3355. ((val) == 1 || (val) == -1)) ? \
  3356. ^~
  3357. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  3358. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  3359. ^~~~~~~~~~~~~
  3360. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  3361. case 4: stem##4(variable, __VA_ARGS__);break; \
  3362. ^~~~
  3363. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3364. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3365. ^~~~~~~~~~~~~~~~
  3366. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  3367. this_cpu_add(*percpu_count, nr);
  3368. ^~~~~~~~~~~~
  3369. /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]
  3370. ((val) == 1 || (val) == -1)) ? \
  3371. ^~
  3372. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  3373. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  3374. ^~~~~~~~~~~~~
  3375. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  3376. case 8: stem##8(variable, __VA_ARGS__);break; \
  3377. ^~~~
  3378. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3379. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3380. ^~~~~~~~~~~~~~~~
  3381. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  3382. this_cpu_add(*percpu_count, nr);
  3383. ^~~~~~~~~~~~
  3384. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  3385. /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]
  3386. ((val) == 1 || (val) == -1)) ? \
  3387. ^~
  3388. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  3389. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  3390. ^~~~~~~~~~~~~
  3391. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  3392. case 1: stem##1(variable, __VA_ARGS__);break; \
  3393. ^~~~
  3394. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3395. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3396. ^~~~~~~~~~~~~~~~
  3397. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  3398. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  3399. ^~~~~~~~~~~~
  3400. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3401. this_cpu_sub(*percpu_count, nr);
  3402. ^~~~~~~~~~~~
  3403. /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]
  3404. ((val) == 1 || (val) == -1)) ? \
  3405. ^~
  3406. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  3407. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  3408. ^~~~~~~~~~~~~
  3409. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  3410. case 2: stem##2(variable, __VA_ARGS__);break; \
  3411. ^~~~
  3412. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3413. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3414. ^~~~~~~~~~~~~~~~
  3415. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  3416. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  3417. ^~~~~~~~~~~~
  3418. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3419. this_cpu_sub(*percpu_count, nr);
  3420. ^~~~~~~~~~~~
  3421. /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]
  3422. ((val) == 1 || (val) == -1)) ? \
  3423. ^~
  3424. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  3425. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  3426. ^~~~~~~~~~~~~
  3427. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  3428. case 4: stem##4(variable, __VA_ARGS__);break; \
  3429. ^~~~
  3430. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3431. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3432. ^~~~~~~~~~~~~~~~
  3433. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  3434. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  3435. ^~~~~~~~~~~~
  3436. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3437. this_cpu_sub(*percpu_count, nr);
  3438. ^~~~~~~~~~~~
  3439. /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]
  3440. ((val) == 1 || (val) == -1)) ? \
  3441. ^~
  3442. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  3443. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  3444. ^~~~~~~~~~~~~
  3445. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  3446. case 8: stem##8(variable, __VA_ARGS__);break; \
  3447. ^~~~
  3448. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3449. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3450. ^~~~~~~~~~~~~~~~
  3451. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  3452. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  3453. ^~~~~~~~~~~~
  3454. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3455. this_cpu_sub(*percpu_count, nr);
  3456. ^~~~~~~~~~~~
  3457. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  3458. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  3459. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  3460. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  3461. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  3462. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  3463. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  3464. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  3465. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  3466. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  3467. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
  3468. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  3469. /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]
  3470. if (likely(sz < 0 || sz >= n))
  3471. ^~
  3472. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  3473. # define likely(x) __builtin_expect(!!(x), 1)
  3474. ^
  3475. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  3476. /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]
  3477. if (likely(sz < 0 || sz >= n))
  3478. ^~
  3479. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  3480. # define likely(x) __builtin_expect(!!(x), 1)
  3481. ^
  3482. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.os-pci.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
  3483. -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 -fmerge-constants -fno-stack-check -
  3484. 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(os_pci)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -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-pci.c
  3485. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  3486. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  3487. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  3488. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  3489. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  3490. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  3491. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  3492. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  3493. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  3494. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  3495. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.c:15:
  3496. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  3497. /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]
  3498. cnts, cnts | _QW_LOCKED) == cnts);
  3499. ^~
  3500. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  3501. # define likely(x) __builtin_expect(!!(x), 1)
  3502. ^
  3503. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  3504. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  3505. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  3506. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  3507. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  3508. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  3509. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  3510. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  3511. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  3512. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  3513. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.c:15:
  3514. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  3515. /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]
  3516. ((val) == 1 || (val) == -1)) ? \
  3517. ^~
  3518. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  3519. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  3520. ^~~~~~~~~~~~~
  3521. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  3522. case 1: stem##1(variable, __VA_ARGS__);break; \
  3523. ^~~~
  3524. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3525. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3526. ^~~~~~~~~~~~~~~~
  3527. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  3528. this_cpu_add(*percpu_count, nr);
  3529. ^~~~~~~~~~~~
  3530. /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]
  3531. ((val) == 1 || (val) == -1)) ? \
  3532. ^~
  3533. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  3534. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  3535. ^~~~~~~~~~~~~
  3536. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  3537. case 2: stem##2(variable, __VA_ARGS__);break; \
  3538. ^~~~
  3539. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3540. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3541. ^~~~~~~~~~~~~~~~
  3542. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  3543. this_cpu_add(*percpu_count, nr);
  3544. ^~~~~~~~~~~~
  3545. /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]
  3546. ((val) == 1 || (val) == -1)) ? \
  3547. ^~
  3548. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  3549. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  3550. ^~~~~~~~~~~~~
  3551. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  3552. case 4: stem##4(variable, __VA_ARGS__);break; \
  3553. ^~~~
  3554. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3555. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3556. ^~~~~~~~~~~~~~~~
  3557. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  3558. this_cpu_add(*percpu_count, nr);
  3559. ^~~~~~~~~~~~
  3560. /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]
  3561. ((val) == 1 || (val) == -1)) ? \
  3562. ^~
  3563. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  3564. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  3565. ^~~~~~~~~~~~~
  3566. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  3567. case 8: stem##8(variable, __VA_ARGS__);break; \
  3568. ^~~~
  3569. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3570. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3571. ^~~~~~~~~~~~~~~~
  3572. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
  3573. this_cpu_add(*percpu_count, nr);
  3574. ^~~~~~~~~~~~
  3575. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  3576. /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]
  3577. ((val) == 1 || (val) == -1)) ? \
  3578. ^~
  3579. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
  3580. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  3581. ^~~~~~~~~~~~~
  3582. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
  3583. case 1: stem##1(variable, __VA_ARGS__);break; \
  3584. ^~~~
  3585. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3586. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3587. ^~~~~~~~~~~~~~~~
  3588. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  3589. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  3590. ^~~~~~~~~~~~
  3591. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3592. this_cpu_sub(*percpu_count, nr);
  3593. ^~~~~~~~~~~~
  3594. /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]
  3595. ((val) == 1 || (val) == -1)) ? \
  3596. ^~
  3597. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  3598. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  3599. ^~~~~~~~~~~~~
  3600. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
  3601. case 2: stem##2(variable, __VA_ARGS__);break; \
  3602. ^~~~
  3603. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3604. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3605. ^~~~~~~~~~~~~~~~
  3606. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  3607. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  3608. ^~~~~~~~~~~~
  3609. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3610. this_cpu_sub(*percpu_count, nr);
  3611. ^~~~~~~~~~~~
  3612. /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]
  3613. ((val) == 1 || (val) == -1)) ? \
  3614. ^~
  3615. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  3616. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  3617. ^~~~~~~~~~~~~
  3618. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
  3619. case 4: stem##4(variable, __VA_ARGS__);break; \
  3620. ^~~~
  3621. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3622. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3623. ^~~~~~~~~~~~~~~~
  3624. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  3625. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  3626. ^~~~~~~~~~~~
  3627. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3628. this_cpu_sub(*percpu_count, nr);
  3629. ^~~~~~~~~~~~
  3630. /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]
  3631. ((val) == 1 || (val) == -1)) ? \
  3632. ^~
  3633. /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
  3634. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  3635. ^~~~~~~~~~~~~
  3636. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
  3637. case 8: stem##8(variable, __VA_ARGS__);break; \
  3638. ^~~~
  3639. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526:33: note: in expansion of macro ‘__pcpu_size_call’
  3640. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  3641. ^~~~~~~~~~~~~~~~
  3642. /usr/src/linux-4.4.178/include/linux/percpu-defs.h:536:33: note: in expansion of macro ‘this_cpu_add’
  3643. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  3644. ^~~~~~~~~~~~
  3645. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
  3646. this_cpu_sub(*percpu_count, nr);
  3647. ^~~~~~~~~~~~
  3648. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  3649. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  3650. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  3651. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  3652. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  3653. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  3654. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  3655. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  3656. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  3657. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  3658. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.c:15:
  3659. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  3660. /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]
  3661. if (likely(sz < 0 || sz >= n))
  3662. ^~
  3663. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  3664. # define likely(x) __builtin_expect(!!(x), 1)
  3665. ^
  3666. /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  3667. /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]
  3668. if (likely(sz < 0 || sz >= n))
  3669. ^~
  3670. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  3671. # define likely(x) __builtin_expect(!!(x), 1)
  3672. ^
  3673. cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.os-registry.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_A
  3674. S_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=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0
  3675. -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(os_registry)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -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-registry.c
  3676. In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
  3677. from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
  3678. from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
  3679. from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
  3680. from /usr/src/linux-4.4.178/include/linux/types.h:5,
  3681. from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
  3682. from /usr/src/linux-4.4.178/include/linux/capability.h:15,
  3683. from /usr/src/linux-4.4.178/include/linux/sched.h:15,
  3684. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  3685. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  3686. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.c:15:
  3687. /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  3688. /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]
  3689. cnts, cnts | _QW_LOCKED) == cnts);
  3690. ^~
  3691. /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
  3692. # define likely(x) __builtin_expect(!!(x), 1)
  3693. ^
  3694. In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
  3695. from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
  3696. from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
  3697. from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
  3698. from /usr/src/linux-4.4.178/include/linux/time.h:5,
  3699. from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
  3700. from /usr/src/linux-4.4.178/include/linux/timex.h:56,
  3701. from /usr/src/linux-4.4.178/include/linux/sched.h:19,
  3702. from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
  3703. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
  3704. from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.c:15:
  3705. /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  3706. /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]
  3707. ((val) == 1 || (val) == -1)) ? \
  3708. ^~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement