Advertisement
SaintAnd

NVIDIA-LOG--340.107-GTX650--PORTEUS-V5

Jul 9th, 2019
340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 176.24 KB | None | 0 0
  1. nvidia-installer log file '/var/log/nvidia-installer.log'
  2. creation time: Tue Jul 9 21:47:34 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/5.1.5-porteus/source'
  15. -> Kernel output path: '/lib/modules/5.1.5-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/5.1.5-porteus/source SYSOUT=/lib/modules/5.1.5-porteus/build NV_BUILD_MODULE_INSTANCES='...
  24. NVIDIA: calling KBUILD...
  25. make[1]: Entering directory '/usr/src/linux-5.1.5'
  26. /usr/bin/make \
  27. -C /lib/modules/5.1.5-porteus/build KBUILD_SRC=/usr/src/linux-5.1.5 \
  28. -f /usr/src/linux-5.1.5/Makefile modules
  29. make[2]: Entering directory '/usr/src/linux-5.1.5'
  30. /usr/src/linux-5.1.5/Makefile:205: ================= WARNING ================
  31. /usr/src/linux-5.1.5/Makefile:206: 'SUBDIRS' will be removed after Linux 5.3
  32. /usr/src/linux-5.1.5/Makefile:207: Please use 'M=' or 'KBUILD_EXTMOD' instead
  33. /usr/src/linux-5.1.5/Makefile:208: ==========================================
  34. test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
  35. echo >&2; \
  36. echo >&2 " ERROR: Kernel configuration is invalid."; \
  37. echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
  38. echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
  39. echo >&2 ; \
  40. /bin/false)
  41. mkdir -p /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/.tmp_versions ; rm -f /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/.tmp_versions/*
  42. /usr/bin/make -f /usr/src/linux-5.1.5/scripts/Makefile.build obj=/tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel
  43. cc -Wp,-MD,/tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/.nv.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/9.1.0/include -I/usr/src/linux-5.1.5/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.1.5/include -I./include -I/usr/src/linux-5.1.5/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.1.5/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.1.5/include/linux/kconfig.h -include /usr/src/linux-5.1.5/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferr
  44. ed-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -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 -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-ini
  45. t -fmacro-prefix-map=/usr/src/linux-5.1.5/= -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/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 -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv.o /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv.c
  46. In file included from /usr/src/linux-5.1.5/include/linux/byteorder/little_endian.h:11,
  47. from /usr/src/linux-5.1.5/arch/x86/include/uapi/asm/byteorder.h:5,
  48. from /usr/src/linux-5.1.5/include/asm-generic/bitops/le.h:6,
  49. from /usr/src/linux-5.1.5/arch/x86/include/asm/bitops.h:507,
  50. from /usr/src/linux-5.1.5/include/linux/bitops.h:19,
  51. from /usr/src/linux-5.1.5/include/linux/kernel.h:12,
  52. from /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:45,
  53. from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:6,
  54. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  55. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  56. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  57. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv.c:13:
  58. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
  59. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  60. 195 | for (i = 0; i < len; i++)
  61. | ^
  62. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
  63. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  64. 203 | for (i = 0; i < len; i++)
  65. | ^
  66. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:5,
  67. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  68. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  69. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  70. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv.c:13:
  71. /usr/src/linux-5.1.5/include/linux/thread_info.h: In function ‘check_copy_size’:
  72. /usr/src/linux-5.1.5/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  73. 141 | if (unlikely(sz >= 0 && sz < bytes)) {
  74. | ^
  75. /usr/src/linux-5.1.5/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
  76. 77 | # define unlikely(x) __builtin_expect(!!(x), 0)
  77. | ^
  78. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:5,
  79. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  80. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  81. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  82. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv.c:13:
  83. /usr/src/linux-5.1.5/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
  84. /usr/src/linux-5.1.5/include/linux/mmzone.h:993:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
  85. 993 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
  86. | ^~
  87. /usr/src/linux-5.1.5/include/linux/compiler.h:76:40: note: in definition of macro ‘likely’
  88. 76 | # define likely(x) __builtin_expect(!!(x), 1)
  89. | ^
  90. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:6,
  91. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  92. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  93. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  94. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv.c:13:
  95. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  96. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  97. 131 | ((val) == 1 || (val) == -1)) ? \
  98. | ^~
  99. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  100. 420 | #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  101. | ^~~~~~~~~~~~~
  102. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
  103. 377 | case 1: stem##1(variable, __VA_ARGS__);break; \
  104. | ^~~~
  105. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  106. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  107. | ^~~~~~~~~~~~~~~~
  108. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  109. 184 | this_cpu_add(*percpu_count, nr);
  110. | ^~~~~~~~~~~~
  111. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  112. 131 | ((val) == 1 || (val) == -1)) ? \
  113. | ^~
  114. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  115. 421 | #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  116. | ^~~~~~~~~~~~~
  117. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
  118. 378 | case 2: stem##2(variable, __VA_ARGS__);break; \
  119. | ^~~~
  120. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  121. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  122. | ^~~~~~~~~~~~~~~~
  123. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  124. 184 | this_cpu_add(*percpu_count, nr);
  125. | ^~~~~~~~~~~~
  126. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  127. 131 | ((val) == 1 || (val) == -1)) ? \
  128. | ^~
  129. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
  130. 422 | #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  131. | ^~~~~~~~~~~~~
  132. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
  133. 379 | case 4: stem##4(variable, __VA_ARGS__);break; \
  134. | ^~~~
  135. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  136. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  137. | ^~~~~~~~~~~~~~~~
  138. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  139. 184 | this_cpu_add(*percpu_count, nr);
  140. | ^~~~~~~~~~~~
  141. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  142. 131 | ((val) == 1 || (val) == -1)) ? \
  143. | ^~
  144. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’
  145. 480 | #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  146. | ^~~~~~~~~~~~~
  147. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
  148. 380 | case 8: stem##8(variable, __VA_ARGS__);break; \
  149. | ^~~~
  150. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  151. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  152. | ^~~~~~~~~~~~~~~~
  153. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  154. 184 | this_cpu_add(*percpu_count, nr);
  155. | ^~~~~~~~~~~~
  156. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  157. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  158. 131 | ((val) == 1 || (val) == -1)) ? \
  159. | ^~
  160. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  161. 420 | #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  162. | ^~~~~~~~~~~~~
  163. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
  164. 377 | case 1: stem##1(variable, __VA_ARGS__);break; \
  165. | ^~~~
  166. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  167. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  168. | ^~~~~~~~~~~~~~~~
  169. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  170. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  171. | ^~~~~~~~~~~~
  172. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  173. 283 | this_cpu_sub(*percpu_count, nr);
  174. | ^~~~~~~~~~~~
  175. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  176. 131 | ((val) == 1 || (val) == -1)) ? \
  177. | ^~
  178. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  179. 421 | #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  180. | ^~~~~~~~~~~~~
  181. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
  182. 378 | case 2: stem##2(variable, __VA_ARGS__);break; \
  183. | ^~~~
  184. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  185. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  186. | ^~~~~~~~~~~~~~~~
  187. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  188. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  189. | ^~~~~~~~~~~~
  190. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  191. 283 | this_cpu_sub(*percpu_count, nr);
  192. | ^~~~~~~~~~~~
  193. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  194. 131 | ((val) == 1 || (val) == -1)) ? \
  195. | ^~
  196. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
  197. 422 | #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  198. | ^~~~~~~~~~~~~
  199. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
  200. 379 | case 4: stem##4(variable, __VA_ARGS__);break; \
  201. | ^~~~
  202. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  203. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  204. | ^~~~~~~~~~~~~~~~
  205. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  206. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  207. | ^~~~~~~~~~~~
  208. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  209. 283 | this_cpu_sub(*percpu_count, nr);
  210. | ^~~~~~~~~~~~
  211. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  212. 131 | ((val) == 1 || (val) == -1)) ? \
  213. | ^~
  214. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’
  215. 480 | #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  216. | ^~~~~~~~~~~~~
  217. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
  218. 380 | case 8: stem##8(variable, __VA_ARGS__);break; \
  219. | ^~~~
  220. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  221. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  222. | ^~~~~~~~~~~~~~~~
  223. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  224. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  225. | ^~~~~~~~~~~~
  226. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  227. 283 | this_cpu_sub(*percpu_count, nr);
  228. | ^~~~~~~~~~~~
  229. In file included from /usr/src/linux-5.1.5/include/linux/page_ref.h:7,
  230. from /usr/src/linux-5.1.5/include/linux/mm.h:26,
  231. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:68,
  232. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv.c:13:
  233. /usr/src/linux-5.1.5/include/linux/page-flags.h: In function ‘PagePoisoned’:
  234. /usr/src/linux-5.1.5/include/linux/page-flags.h:192:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
  235. 192 | return page->flags == PAGE_POISON_PATTERN;
  236. | ^~
  237. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:6,
  238. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  239. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  240. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  241. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv.c:13:
  242. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
  243. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  244. 131 | ((val) == 1 || (val) == -1)) ? \
  245. | ^~
  246. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
  247. 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  248. | ^~~~~~~~~~~~~
  249. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
  250. 377 | case 1: stem##1(variable, __VA_ARGS__);break; \
  251. | ^~~~
  252. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  253. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  254. | ^~~~~~~~~~~~~~~~
  255. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  256. 458 | raw_cpu_add(pcp, val); \
  257. | ^~~~~~~~~~~
  258. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  259. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  260. | ^~~~~~~~~~~~~~
  261. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  262. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  263. | ^~~~~~~~~~~~~~
  264. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  265. 87 | __this_cpu_dec(*sem->read_count);
  266. | ^~~~~~~~~~~~~~
  267. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  268. 131 | ((val) == 1 || (val) == -1)) ? \
  269. | ^~
  270. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
  271. 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  272. | ^~~~~~~~~~~~~
  273. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
  274. 378 | case 2: stem##2(variable, __VA_ARGS__);break; \
  275. | ^~~~
  276. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  277. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  278. | ^~~~~~~~~~~~~~~~
  279. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  280. 458 | raw_cpu_add(pcp, val); \
  281. | ^~~~~~~~~~~
  282. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  283. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  284. | ^~~~~~~~~~~~~~
  285. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  286. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  287. | ^~~~~~~~~~~~~~
  288. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  289. 87 | __this_cpu_dec(*sem->read_count);
  290. | ^~~~~~~~~~~~~~
  291. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  292. 131 | ((val) == 1 || (val) == -1)) ? \
  293. | ^~
  294. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
  295. 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  296. | ^~~~~~~~~~~~~
  297. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
  298. 379 | case 4: stem##4(variable, __VA_ARGS__);break; \
  299. | ^~~~
  300. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  301. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  302. | ^~~~~~~~~~~~~~~~
  303. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  304. 458 | raw_cpu_add(pcp, val); \
  305. | ^~~~~~~~~~~
  306. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  307. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  308. | ^~~~~~~~~~~~~~
  309. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  310. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  311. | ^~~~~~~~~~~~~~
  312. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  313. 87 | __this_cpu_dec(*sem->read_count);
  314. | ^~~~~~~~~~~~~~
  315. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  316. 131 | ((val) == 1 || (val) == -1)) ? \
  317. | ^~
  318. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’
  319. 471 | #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  320. | ^~~~~~~~~~~~~
  321. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
  322. 380 | case 8: stem##8(variable, __VA_ARGS__);break; \
  323. | ^~~~
  324. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  325. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  326. | ^~~~~~~~~~~~~~~~
  327. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  328. 458 | raw_cpu_add(pcp, val); \
  329. | ^~~~~~~~~~~
  330. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  331. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  332. | ^~~~~~~~~~~~~~
  333. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  334. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  335. | ^~~~~~~~~~~~~~
  336. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  337. 87 | __this_cpu_dec(*sem->read_count);
  338. | ^~~~~~~~~~~~~~
  339. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/cpumask.h:5,
  340. from /usr/src/linux-5.1.5/arch/x86/include/asm/msr.h:11,
  341. from /usr/src/linux-5.1.5/arch/x86/include/asm/processor.h:21,
  342. from /usr/src/linux-5.1.5/arch/x86/include/asm/cpufeature.h:5,
  343. from /usr/src/linux-5.1.5/arch/x86/include/asm/thread_info.h:53,
  344. from /usr/src/linux-5.1.5/include/linux/thread_info.h:38,
  345. from /usr/src/linux-5.1.5/arch/x86/include/asm/preempt.h:7,
  346. from /usr/src/linux-5.1.5/include/linux/preempt.h:78,
  347. from /usr/src/linux-5.1.5/include/linux/rcupdate.h:27,
  348. from /usr/src/linux-5.1.5/include/linux/rculist.h:11,
  349. from /usr/src/linux-5.1.5/include/linux/pid.h:5,
  350. from /usr/src/linux-5.1.5/include/linux/sched.h:14,
  351. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  352. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  353. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv.c:13:
  354. /usr/src/linux-5.1.5/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
  355. /usr/src/linux-5.1.5/include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  356. 243 | (cpu) < nr_cpu_ids;)
  357. | ^
  358. /usr/src/linux-5.1.5/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’
  359. 778 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  360. | ^~~~~~~~~~~~
  361. /usr/src/linux-5.1.5/include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’
  362. 156 | for_each_online_cpu(cpu)
  363. | ^~~~~~~~~~~~~~~~~~~
  364. /usr/src/linux-5.1.5/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
  365. /usr/src/linux-5.1.5/include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  366. 243 | (cpu) < nr_cpu_ids;)
  367. | ^
  368. /usr/src/linux-5.1.5/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’
  369. 778 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  370. | ^~~~~~~~~~~~
  371. /usr/src/linux-5.1.5/include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’
  372. 221 | for_each_online_cpu(cpu)
  373. | ^~~~~~~~~~~~~~~~~~~
  374. In file included from /usr/src/linux-5.1.5/include/linux/efi.h:20,
  375. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:173,
  376. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv.c:13:
  377. /usr/src/linux-5.1.5/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
  378. /usr/src/linux-5.1.5/include/linux/rtc.h:238:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  379. 238 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
  380. | ^
  381. /usr/src/linux-5.1.5/include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  382. 243 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
  383. | ^
  384. ./tools/objtool/objtool orc generate --module --no-fp --retpoline /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv.o
  385. cc -Wp,-MD,/tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/9.1.0/include -I/usr/src/linux-5.1.5/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.1.5/include -I./include -I/usr/src/linux-5.1.5/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.1.5/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.1.5/
  386. include/linux/kconfig.h -include /usr/src/linux-5.1.5/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -Os -Wno-maybe-uninitialized --param=allow-
  387. store-data-races=0 -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 -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-5.1.5/= -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/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 -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.o /tmp/selfgz
  388. 2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.c
  389. In file included from /usr/src/linux-5.1.5/include/linux/byteorder/little_endian.h:11,
  390. from /usr/src/linux-5.1.5/arch/x86/include/uapi/asm/byteorder.h:5,
  391. from /usr/src/linux-5.1.5/include/asm-generic/bitops/le.h:6,
  392. from /usr/src/linux-5.1.5/arch/x86/include/asm/bitops.h:507,
  393. from /usr/src/linux-5.1.5/include/linux/bitops.h:19,
  394. from /usr/src/linux-5.1.5/include/linux/kernel.h:12,
  395. from /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:45,
  396. from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:6,
  397. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  398. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  399. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  400. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.c:15:
  401. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
  402. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  403. 195 | for (i = 0; i < len; i++)
  404. | ^
  405. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
  406. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  407. 203 | for (i = 0; i < len; i++)
  408. | ^
  409. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:5,
  410. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  411. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  412. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  413. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.c:15:
  414. /usr/src/linux-5.1.5/include/linux/thread_info.h: In function ‘check_copy_size’:
  415. /usr/src/linux-5.1.5/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  416. 141 | if (unlikely(sz >= 0 && sz < bytes)) {
  417. | ^
  418. /usr/src/linux-5.1.5/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
  419. 77 | # define unlikely(x) __builtin_expect(!!(x), 0)
  420. | ^
  421. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:5,
  422. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  423. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  424. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  425. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.c:15:
  426. /usr/src/linux-5.1.5/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
  427. /usr/src/linux-5.1.5/include/linux/mmzone.h:993:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
  428. 993 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
  429. | ^~
  430. /usr/src/linux-5.1.5/include/linux/compiler.h:76:40: note: in definition of macro ‘likely’
  431. 76 | # define likely(x) __builtin_expect(!!(x), 1)
  432. | ^
  433. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:6,
  434. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  435. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  436. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  437. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.c:15:
  438. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  439. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  440. 131 | ((val) == 1 || (val) == -1)) ? \
  441. | ^~
  442. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  443. 420 | #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  444. | ^~~~~~~~~~~~~
  445. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
  446. 377 | case 1: stem##1(variable, __VA_ARGS__);break; \
  447. | ^~~~
  448. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  449. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  450. | ^~~~~~~~~~~~~~~~
  451. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  452. 184 | this_cpu_add(*percpu_count, nr);
  453. | ^~~~~~~~~~~~
  454. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  455. 131 | ((val) == 1 || (val) == -1)) ? \
  456. | ^~
  457. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  458. 421 | #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  459. | ^~~~~~~~~~~~~
  460. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
  461. 378 | case 2: stem##2(variable, __VA_ARGS__);break; \
  462. | ^~~~
  463. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  464. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  465. | ^~~~~~~~~~~~~~~~
  466. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  467. 184 | this_cpu_add(*percpu_count, nr);
  468. | ^~~~~~~~~~~~
  469. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  470. 131 | ((val) == 1 || (val) == -1)) ? \
  471. | ^~
  472. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
  473. 422 | #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  474. | ^~~~~~~~~~~~~
  475. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
  476. 379 | case 4: stem##4(variable, __VA_ARGS__);break; \
  477. | ^~~~
  478. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  479. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  480. | ^~~~~~~~~~~~~~~~
  481. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  482. 184 | this_cpu_add(*percpu_count, nr);
  483. | ^~~~~~~~~~~~
  484. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  485. 131 | ((val) == 1 || (val) == -1)) ? \
  486. | ^~
  487. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’
  488. 480 | #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  489. | ^~~~~~~~~~~~~
  490. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
  491. 380 | case 8: stem##8(variable, __VA_ARGS__);break; \
  492. | ^~~~
  493. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  494. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  495. | ^~~~~~~~~~~~~~~~
  496. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  497. 184 | this_cpu_add(*percpu_count, nr);
  498. | ^~~~~~~~~~~~
  499. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  500. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  501. 131 | ((val) == 1 || (val) == -1)) ? \
  502. | ^~
  503. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  504. 420 | #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  505. | ^~~~~~~~~~~~~
  506. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
  507. 377 | case 1: stem##1(variable, __VA_ARGS__);break; \
  508. | ^~~~
  509. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  510. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  511. | ^~~~~~~~~~~~~~~~
  512. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  513. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  514. | ^~~~~~~~~~~~
  515. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  516. 283 | this_cpu_sub(*percpu_count, nr);
  517. | ^~~~~~~~~~~~
  518. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  519. 131 | ((val) == 1 || (val) == -1)) ? \
  520. | ^~
  521. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  522. 421 | #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  523. | ^~~~~~~~~~~~~
  524. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
  525. 378 | case 2: stem##2(variable, __VA_ARGS__);break; \
  526. | ^~~~
  527. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  528. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  529. | ^~~~~~~~~~~~~~~~
  530. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  531. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  532. | ^~~~~~~~~~~~
  533. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  534. 283 | this_cpu_sub(*percpu_count, nr);
  535. | ^~~~~~~~~~~~
  536. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  537. 131 | ((val) == 1 || (val) == -1)) ? \
  538. | ^~
  539. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
  540. 422 | #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  541. | ^~~~~~~~~~~~~
  542. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
  543. 379 | case 4: stem##4(variable, __VA_ARGS__);break; \
  544. | ^~~~
  545. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  546. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  547. | ^~~~~~~~~~~~~~~~
  548. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  549. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  550. | ^~~~~~~~~~~~
  551. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  552. 283 | this_cpu_sub(*percpu_count, nr);
  553. | ^~~~~~~~~~~~
  554. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  555. 131 | ((val) == 1 || (val) == -1)) ? \
  556. | ^~
  557. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’
  558. 480 | #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  559. | ^~~~~~~~~~~~~
  560. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
  561. 380 | case 8: stem##8(variable, __VA_ARGS__);break; \
  562. | ^~~~
  563. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  564. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  565. | ^~~~~~~~~~~~~~~~
  566. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  567. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  568. | ^~~~~~~~~~~~
  569. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  570. 283 | this_cpu_sub(*percpu_count, nr);
  571. | ^~~~~~~~~~~~
  572. In file included from /usr/src/linux-5.1.5/include/linux/page_ref.h:7,
  573. from /usr/src/linux-5.1.5/include/linux/mm.h:26,
  574. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:68,
  575. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.c:15:
  576. /usr/src/linux-5.1.5/include/linux/page-flags.h: In function ‘PagePoisoned’:
  577. /usr/src/linux-5.1.5/include/linux/page-flags.h:192:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
  578. 192 | return page->flags == PAGE_POISON_PATTERN;
  579. | ^~
  580. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:6,
  581. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  582. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  583. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  584. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.c:15:
  585. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
  586. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  587. 131 | ((val) == 1 || (val) == -1)) ? \
  588. | ^~
  589. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
  590. 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  591. | ^~~~~~~~~~~~~
  592. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
  593. 377 | case 1: stem##1(variable, __VA_ARGS__);break; \
  594. | ^~~~
  595. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  596. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  597. | ^~~~~~~~~~~~~~~~
  598. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  599. 458 | raw_cpu_add(pcp, val); \
  600. | ^~~~~~~~~~~
  601. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  602. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  603. | ^~~~~~~~~~~~~~
  604. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  605. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  606. | ^~~~~~~~~~~~~~
  607. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  608. 87 | __this_cpu_dec(*sem->read_count);
  609. | ^~~~~~~~~~~~~~
  610. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  611. 131 | ((val) == 1 || (val) == -1)) ? \
  612. | ^~
  613. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
  614. 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  615. | ^~~~~~~~~~~~~
  616. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
  617. 378 | case 2: stem##2(variable, __VA_ARGS__);break; \
  618. | ^~~~
  619. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  620. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  621. | ^~~~~~~~~~~~~~~~
  622. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  623. 458 | raw_cpu_add(pcp, val); \
  624. | ^~~~~~~~~~~
  625. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  626. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  627. | ^~~~~~~~~~~~~~
  628. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  629. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  630. | ^~~~~~~~~~~~~~
  631. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  632. 87 | __this_cpu_dec(*sem->read_count);
  633. | ^~~~~~~~~~~~~~
  634. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  635. 131 | ((val) == 1 || (val) == -1)) ? \
  636. | ^~
  637. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
  638. 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  639. | ^~~~~~~~~~~~~
  640. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
  641. 379 | case 4: stem##4(variable, __VA_ARGS__);break; \
  642. | ^~~~
  643. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  644. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  645. | ^~~~~~~~~~~~~~~~
  646. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  647. 458 | raw_cpu_add(pcp, val); \
  648. | ^~~~~~~~~~~
  649. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  650. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  651. | ^~~~~~~~~~~~~~
  652. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  653. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  654. | ^~~~~~~~~~~~~~
  655. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  656. 87 | __this_cpu_dec(*sem->read_count);
  657. | ^~~~~~~~~~~~~~
  658. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  659. 131 | ((val) == 1 || (val) == -1)) ? \
  660. | ^~
  661. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’
  662. 471 | #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  663. | ^~~~~~~~~~~~~
  664. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
  665. 380 | case 8: stem##8(variable, __VA_ARGS__);break; \
  666. | ^~~~
  667. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  668. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  669. | ^~~~~~~~~~~~~~~~
  670. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  671. 458 | raw_cpu_add(pcp, val); \
  672. | ^~~~~~~~~~~
  673. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  674. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  675. | ^~~~~~~~~~~~~~
  676. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  677. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  678. | ^~~~~~~~~~~~~~
  679. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  680. 87 | __this_cpu_dec(*sem->read_count);
  681. | ^~~~~~~~~~~~~~
  682. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/cpumask.h:5,
  683. from /usr/src/linux-5.1.5/arch/x86/include/asm/msr.h:11,
  684. from /usr/src/linux-5.1.5/arch/x86/include/asm/processor.h:21,
  685. from /usr/src/linux-5.1.5/arch/x86/include/asm/cpufeature.h:5,
  686. from /usr/src/linux-5.1.5/arch/x86/include/asm/thread_info.h:53,
  687. from /usr/src/linux-5.1.5/include/linux/thread_info.h:38,
  688. from /usr/src/linux-5.1.5/arch/x86/include/asm/preempt.h:7,
  689. from /usr/src/linux-5.1.5/include/linux/preempt.h:78,
  690. from /usr/src/linux-5.1.5/include/linux/rcupdate.h:27,
  691. from /usr/src/linux-5.1.5/include/linux/rculist.h:11,
  692. from /usr/src/linux-5.1.5/include/linux/pid.h:5,
  693. from /usr/src/linux-5.1.5/include/linux/sched.h:14,
  694. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  695. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  696. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.c:15:
  697. /usr/src/linux-5.1.5/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
  698. /usr/src/linux-5.1.5/include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  699. 243 | (cpu) < nr_cpu_ids;)
  700. | ^
  701. /usr/src/linux-5.1.5/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’
  702. 778 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  703. | ^~~~~~~~~~~~
  704. /usr/src/linux-5.1.5/include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’
  705. 156 | for_each_online_cpu(cpu)
  706. | ^~~~~~~~~~~~~~~~~~~
  707. /usr/src/linux-5.1.5/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
  708. /usr/src/linux-5.1.5/include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  709. 243 | (cpu) < nr_cpu_ids;)
  710. | ^
  711. /usr/src/linux-5.1.5/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’
  712. 778 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  713. | ^~~~~~~~~~~~
  714. /usr/src/linux-5.1.5/include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’
  715. 221 | for_each_online_cpu(cpu)
  716. | ^~~~~~~~~~~~~~~~~~~
  717. In file included from /usr/src/linux-5.1.5/include/linux/efi.h:20,
  718. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:173,
  719. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.c:15:
  720. /usr/src/linux-5.1.5/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
  721. /usr/src/linux-5.1.5/include/linux/rtc.h:238:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  722. 238 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
  723. | ^
  724. /usr/src/linux-5.1.5/include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  725. 243 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
  726. | ^
  727. ./tools/objtool/objtool orc generate --module --no-fp --retpoline /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.o
  728. cc -Wp,-MD,/tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/9.1.0/include -I/usr/src/linux-5.1.5/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.1.5/include -I./include -I/usr/src/linux-5.1.5/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.1.5/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.1.5/include/linux/kconfig.h -include /usr/src/linux-5.1.5/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CF
  729. I_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -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 -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-5.1.5/= -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTA
  730. NCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/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 -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.o /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.c
  731. In file included from /usr/src/linux-5.1.5/include/linux/byteorder/little_endian.h:11,
  732. from /usr/src/linux-5.1.5/arch/x86/include/uapi/asm/byteorder.h:5,
  733. from /usr/src/linux-5.1.5/include/asm-generic/bitops/le.h:6,
  734. from /usr/src/linux-5.1.5/arch/x86/include/asm/bitops.h:507,
  735. from /usr/src/linux-5.1.5/include/linux/bitops.h:19,
  736. from /usr/src/linux-5.1.5/include/linux/kernel.h:12,
  737. from /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:45,
  738. from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:6,
  739. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  740. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  741. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  742. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.c:15:
  743. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
  744. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  745. 195 | for (i = 0; i < len; i++)
  746. | ^
  747. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
  748. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  749. 203 | for (i = 0; i < len; i++)
  750. | ^
  751. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:5,
  752. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  753. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  754. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  755. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.c:15:
  756. /usr/src/linux-5.1.5/include/linux/thread_info.h: In function ‘check_copy_size’:
  757. /usr/src/linux-5.1.5/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  758. 141 | if (unlikely(sz >= 0 && sz < bytes)) {
  759. | ^
  760. /usr/src/linux-5.1.5/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
  761. 77 | # define unlikely(x) __builtin_expect(!!(x), 0)
  762. | ^
  763. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:5,
  764. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  765. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  766. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  767. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.c:15:
  768. /usr/src/linux-5.1.5/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
  769. /usr/src/linux-5.1.5/include/linux/mmzone.h:993:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
  770. 993 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
  771. | ^~
  772. /usr/src/linux-5.1.5/include/linux/compiler.h:76:40: note: in definition of macro ‘likely’
  773. 76 | # define likely(x) __builtin_expect(!!(x), 1)
  774. | ^
  775. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:6,
  776. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  777. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  778. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  779. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.c:15:
  780. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  781. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  782. 131 | ((val) == 1 || (val) == -1)) ? \
  783. | ^~
  784. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  785. 420 | #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  786. | ^~~~~~~~~~~~~
  787. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
  788. 377 | case 1: stem##1(variable, __VA_ARGS__);break; \
  789. | ^~~~
  790. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  791. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  792. | ^~~~~~~~~~~~~~~~
  793. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  794. 184 | this_cpu_add(*percpu_count, nr);
  795. | ^~~~~~~~~~~~
  796. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  797. 131 | ((val) == 1 || (val) == -1)) ? \
  798. | ^~
  799. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  800. 421 | #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  801. | ^~~~~~~~~~~~~
  802. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
  803. 378 | case 2: stem##2(variable, __VA_ARGS__);break; \
  804. | ^~~~
  805. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  806. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  807. | ^~~~~~~~~~~~~~~~
  808. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  809. 184 | this_cpu_add(*percpu_count, nr);
  810. | ^~~~~~~~~~~~
  811. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  812. 131 | ((val) == 1 || (val) == -1)) ? \
  813. | ^~
  814. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
  815. 422 | #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  816. | ^~~~~~~~~~~~~
  817. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
  818. 379 | case 4: stem##4(variable, __VA_ARGS__);break; \
  819. | ^~~~
  820. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  821. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  822. | ^~~~~~~~~~~~~~~~
  823. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  824. 184 | this_cpu_add(*percpu_count, nr);
  825. | ^~~~~~~~~~~~
  826. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  827. 131 | ((val) == 1 || (val) == -1)) ? \
  828. | ^~
  829. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’
  830. 480 | #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  831. | ^~~~~~~~~~~~~
  832. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
  833. 380 | case 8: stem##8(variable, __VA_ARGS__);break; \
  834. | ^~~~
  835. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  836. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  837. | ^~~~~~~~~~~~~~~~
  838. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  839. 184 | this_cpu_add(*percpu_count, nr);
  840. | ^~~~~~~~~~~~
  841. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  842. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  843. 131 | ((val) == 1 || (val) == -1)) ? \
  844. | ^~
  845. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  846. 420 | #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  847. | ^~~~~~~~~~~~~
  848. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
  849. 377 | case 1: stem##1(variable, __VA_ARGS__);break; \
  850. | ^~~~
  851. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  852. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  853. | ^~~~~~~~~~~~~~~~
  854. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  855. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  856. | ^~~~~~~~~~~~
  857. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  858. 283 | this_cpu_sub(*percpu_count, nr);
  859. | ^~~~~~~~~~~~
  860. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  861. 131 | ((val) == 1 || (val) == -1)) ? \
  862. | ^~
  863. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  864. 421 | #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  865. | ^~~~~~~~~~~~~
  866. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
  867. 378 | case 2: stem##2(variable, __VA_ARGS__);break; \
  868. | ^~~~
  869. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  870. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  871. | ^~~~~~~~~~~~~~~~
  872. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  873. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  874. | ^~~~~~~~~~~~
  875. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  876. 283 | this_cpu_sub(*percpu_count, nr);
  877. | ^~~~~~~~~~~~
  878. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  879. 131 | ((val) == 1 || (val) == -1)) ? \
  880. | ^~
  881. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
  882. 422 | #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  883. | ^~~~~~~~~~~~~
  884. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
  885. 379 | case 4: stem##4(variable, __VA_ARGS__);break; \
  886. | ^~~~
  887. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  888. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  889. | ^~~~~~~~~~~~~~~~
  890. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  891. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  892. | ^~~~~~~~~~~~
  893. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  894. 283 | this_cpu_sub(*percpu_count, nr);
  895. | ^~~~~~~~~~~~
  896. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  897. 131 | ((val) == 1 || (val) == -1)) ? \
  898. | ^~
  899. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’
  900. 480 | #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  901. | ^~~~~~~~~~~~~
  902. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
  903. 380 | case 8: stem##8(variable, __VA_ARGS__);break; \
  904. | ^~~~
  905. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  906. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  907. | ^~~~~~~~~~~~~~~~
  908. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  909. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  910. | ^~~~~~~~~~~~
  911. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  912. 283 | this_cpu_sub(*percpu_count, nr);
  913. | ^~~~~~~~~~~~
  914. In file included from /usr/src/linux-5.1.5/include/linux/page_ref.h:7,
  915. from /usr/src/linux-5.1.5/include/linux/mm.h:26,
  916. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:68,
  917. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.c:15:
  918. /usr/src/linux-5.1.5/include/linux/page-flags.h: In function ‘PagePoisoned’:
  919. /usr/src/linux-5.1.5/include/linux/page-flags.h:192:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
  920. 192 | return page->flags == PAGE_POISON_PATTERN;
  921. | ^~
  922. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:6,
  923. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  924. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  925. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  926. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.c:15:
  927. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
  928. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  929. 131 | ((val) == 1 || (val) == -1)) ? \
  930. | ^~
  931. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
  932. 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  933. | ^~~~~~~~~~~~~
  934. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
  935. 377 | case 1: stem##1(variable, __VA_ARGS__);break; \
  936. | ^~~~
  937. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  938. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  939. | ^~~~~~~~~~~~~~~~
  940. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  941. 458 | raw_cpu_add(pcp, val); \
  942. | ^~~~~~~~~~~
  943. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  944. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  945. | ^~~~~~~~~~~~~~
  946. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  947. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  948. | ^~~~~~~~~~~~~~
  949. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  950. 87 | __this_cpu_dec(*sem->read_count);
  951. | ^~~~~~~~~~~~~~
  952. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  953. 131 | ((val) == 1 || (val) == -1)) ? \
  954. | ^~
  955. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
  956. 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  957. | ^~~~~~~~~~~~~
  958. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
  959. 378 | case 2: stem##2(variable, __VA_ARGS__);break; \
  960. | ^~~~
  961. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  962. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  963. | ^~~~~~~~~~~~~~~~
  964. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  965. 458 | raw_cpu_add(pcp, val); \
  966. | ^~~~~~~~~~~
  967. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  968. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  969. | ^~~~~~~~~~~~~~
  970. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  971. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  972. | ^~~~~~~~~~~~~~
  973. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  974. 87 | __this_cpu_dec(*sem->read_count);
  975. | ^~~~~~~~~~~~~~
  976. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  977. 131 | ((val) == 1 || (val) == -1)) ? \
  978. | ^~
  979. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
  980. 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  981. | ^~~~~~~~~~~~~
  982. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
  983. 379 | case 4: stem##4(variable, __VA_ARGS__);break; \
  984. | ^~~~
  985. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  986. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  987. | ^~~~~~~~~~~~~~~~
  988. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  989. 458 | raw_cpu_add(pcp, val); \
  990. | ^~~~~~~~~~~
  991. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  992. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  993. | ^~~~~~~~~~~~~~
  994. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  995. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  996. | ^~~~~~~~~~~~~~
  997. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  998. 87 | __this_cpu_dec(*sem->read_count);
  999. | ^~~~~~~~~~~~~~
  1000. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1001. 131 | ((val) == 1 || (val) == -1)) ? \
  1002. | ^~
  1003. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’
  1004. 471 | #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1005. | ^~~~~~~~~~~~~
  1006. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
  1007. 380 | case 8: stem##8(variable, __VA_ARGS__);break; \
  1008. | ^~~~
  1009. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  1010. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1011. | ^~~~~~~~~~~~~~~~
  1012. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  1013. 458 | raw_cpu_add(pcp, val); \
  1014. | ^~~~~~~~~~~
  1015. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  1016. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1017. | ^~~~~~~~~~~~~~
  1018. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  1019. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1020. | ^~~~~~~~~~~~~~
  1021. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  1022. 87 | __this_cpu_dec(*sem->read_count);
  1023. | ^~~~~~~~~~~~~~
  1024. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/cpumask.h:5,
  1025. from /usr/src/linux-5.1.5/arch/x86/include/asm/msr.h:11,
  1026. from /usr/src/linux-5.1.5/arch/x86/include/asm/processor.h:21,
  1027. from /usr/src/linux-5.1.5/arch/x86/include/asm/cpufeature.h:5,
  1028. from /usr/src/linux-5.1.5/arch/x86/include/asm/thread_info.h:53,
  1029. from /usr/src/linux-5.1.5/include/linux/thread_info.h:38,
  1030. from /usr/src/linux-5.1.5/arch/x86/include/asm/preempt.h:7,
  1031. from /usr/src/linux-5.1.5/include/linux/preempt.h:78,
  1032. from /usr/src/linux-5.1.5/include/linux/rcupdate.h:27,
  1033. from /usr/src/linux-5.1.5/include/linux/rculist.h:11,
  1034. from /usr/src/linux-5.1.5/include/linux/pid.h:5,
  1035. from /usr/src/linux-5.1.5/include/linux/sched.h:14,
  1036. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  1037. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  1038. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.c:15:
  1039. /usr/src/linux-5.1.5/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
  1040. /usr/src/linux-5.1.5/include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  1041. 243 | (cpu) < nr_cpu_ids;)
  1042. | ^
  1043. /usr/src/linux-5.1.5/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’
  1044. 778 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  1045. | ^~~~~~~~~~~~
  1046. /usr/src/linux-5.1.5/include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’
  1047. 156 | for_each_online_cpu(cpu)
  1048. | ^~~~~~~~~~~~~~~~~~~
  1049. /usr/src/linux-5.1.5/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
  1050. /usr/src/linux-5.1.5/include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  1051. 243 | (cpu) < nr_cpu_ids;)
  1052. | ^
  1053. /usr/src/linux-5.1.5/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’
  1054. 778 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  1055. | ^~~~~~~~~~~~
  1056. /usr/src/linux-5.1.5/include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’
  1057. 221 | for_each_online_cpu(cpu)
  1058. | ^~~~~~~~~~~~~~~~~~~
  1059. In file included from /usr/src/linux-5.1.5/include/linux/efi.h:20,
  1060. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:173,
  1061. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.c:15:
  1062. /usr/src/linux-5.1.5/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
  1063. /usr/src/linux-5.1.5/include/linux/rtc.h:238:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  1064. 238 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
  1065. | ^
  1066. /usr/src/linux-5.1.5/include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  1067. 243 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
  1068. | ^
  1069. ./tools/objtool/objtool orc generate --module --no-fp --retpoline /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.o
  1070. cc -Wp,-MD,/tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/9.1.0/include -I/usr/src/linux-5.1.5/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.1.5/include -I./include -I/usr/src/linux-5.1.5/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.1.5/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.1.5/include/linux/kconfig.h -inclu
  1071. de /usr/src/linux-5.1.5/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -Wframe-lar
  1072. ger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-5.1.5/= -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/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 -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.o /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.1
  1073. 07/kernel/nv-cray.c
  1074. In file included from /usr/src/linux-5.1.5/include/linux/byteorder/little_endian.h:11,
  1075. from /usr/src/linux-5.1.5/arch/x86/include/uapi/asm/byteorder.h:5,
  1076. from /usr/src/linux-5.1.5/include/asm-generic/bitops/le.h:6,
  1077. from /usr/src/linux-5.1.5/arch/x86/include/asm/bitops.h:507,
  1078. from /usr/src/linux-5.1.5/include/linux/bitops.h:19,
  1079. from /usr/src/linux-5.1.5/include/linux/kernel.h:12,
  1080. from /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:45,
  1081. from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:6,
  1082. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  1083. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  1084. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  1085. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.c:15:
  1086. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
  1087. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  1088. 195 | for (i = 0; i < len; i++)
  1089. | ^
  1090. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
  1091. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  1092. 203 | for (i = 0; i < len; i++)
  1093. | ^
  1094. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:5,
  1095. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  1096. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  1097. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  1098. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.c:15:
  1099. /usr/src/linux-5.1.5/include/linux/thread_info.h: In function ‘check_copy_size’:
  1100. /usr/src/linux-5.1.5/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  1101. 141 | if (unlikely(sz >= 0 && sz < bytes)) {
  1102. | ^
  1103. /usr/src/linux-5.1.5/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
  1104. 77 | # define unlikely(x) __builtin_expect(!!(x), 0)
  1105. | ^
  1106. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:5,
  1107. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  1108. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  1109. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  1110. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.c:15:
  1111. /usr/src/linux-5.1.5/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
  1112. /usr/src/linux-5.1.5/include/linux/mmzone.h:993:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
  1113. 993 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
  1114. | ^~
  1115. /usr/src/linux-5.1.5/include/linux/compiler.h:76:40: note: in definition of macro ‘likely’
  1116. 76 | # define likely(x) __builtin_expect(!!(x), 1)
  1117. | ^
  1118. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:6,
  1119. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  1120. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  1121. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  1122. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.c:15:
  1123. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1124. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1125. 131 | ((val) == 1 || (val) == -1)) ? \
  1126. | ^~
  1127. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1128. 420 | #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1129. | ^~~~~~~~~~~~~
  1130. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
  1131. 377 | case 1: stem##1(variable, __VA_ARGS__);break; \
  1132. | ^~~~
  1133. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1134. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1135. | ^~~~~~~~~~~~~~~~
  1136. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  1137. 184 | this_cpu_add(*percpu_count, nr);
  1138. | ^~~~~~~~~~~~
  1139. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1140. 131 | ((val) == 1 || (val) == -1)) ? \
  1141. | ^~
  1142. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1143. 421 | #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1144. | ^~~~~~~~~~~~~
  1145. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
  1146. 378 | case 2: stem##2(variable, __VA_ARGS__);break; \
  1147. | ^~~~
  1148. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1149. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1150. | ^~~~~~~~~~~~~~~~
  1151. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  1152. 184 | this_cpu_add(*percpu_count, nr);
  1153. | ^~~~~~~~~~~~
  1154. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1155. 131 | ((val) == 1 || (val) == -1)) ? \
  1156. | ^~
  1157. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
  1158. 422 | #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1159. | ^~~~~~~~~~~~~
  1160. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
  1161. 379 | case 4: stem##4(variable, __VA_ARGS__);break; \
  1162. | ^~~~
  1163. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1164. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1165. | ^~~~~~~~~~~~~~~~
  1166. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  1167. 184 | this_cpu_add(*percpu_count, nr);
  1168. | ^~~~~~~~~~~~
  1169. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1170. 131 | ((val) == 1 || (val) == -1)) ? \
  1171. | ^~
  1172. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’
  1173. 480 | #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1174. | ^~~~~~~~~~~~~
  1175. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
  1176. 380 | case 8: stem##8(variable, __VA_ARGS__);break; \
  1177. | ^~~~
  1178. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1179. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1180. | ^~~~~~~~~~~~~~~~
  1181. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  1182. 184 | this_cpu_add(*percpu_count, nr);
  1183. | ^~~~~~~~~~~~
  1184. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1185. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1186. 131 | ((val) == 1 || (val) == -1)) ? \
  1187. | ^~
  1188. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1189. 420 | #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1190. | ^~~~~~~~~~~~~
  1191. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
  1192. 377 | case 1: stem##1(variable, __VA_ARGS__);break; \
  1193. | ^~~~
  1194. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1195. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1196. | ^~~~~~~~~~~~~~~~
  1197. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  1198. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1199. | ^~~~~~~~~~~~
  1200. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  1201. 283 | this_cpu_sub(*percpu_count, nr);
  1202. | ^~~~~~~~~~~~
  1203. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1204. 131 | ((val) == 1 || (val) == -1)) ? \
  1205. | ^~
  1206. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1207. 421 | #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1208. | ^~~~~~~~~~~~~
  1209. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
  1210. 378 | case 2: stem##2(variable, __VA_ARGS__);break; \
  1211. | ^~~~
  1212. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1213. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1214. | ^~~~~~~~~~~~~~~~
  1215. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  1216. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1217. | ^~~~~~~~~~~~
  1218. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  1219. 283 | this_cpu_sub(*percpu_count, nr);
  1220. | ^~~~~~~~~~~~
  1221. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1222. 131 | ((val) == 1 || (val) == -1)) ? \
  1223. | ^~
  1224. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
  1225. 422 | #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1226. | ^~~~~~~~~~~~~
  1227. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
  1228. 379 | case 4: stem##4(variable, __VA_ARGS__);break; \
  1229. | ^~~~
  1230. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1231. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1232. | ^~~~~~~~~~~~~~~~
  1233. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  1234. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1235. | ^~~~~~~~~~~~
  1236. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  1237. 283 | this_cpu_sub(*percpu_count, nr);
  1238. | ^~~~~~~~~~~~
  1239. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1240. 131 | ((val) == 1 || (val) == -1)) ? \
  1241. | ^~
  1242. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’
  1243. 480 | #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1244. | ^~~~~~~~~~~~~
  1245. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
  1246. 380 | case 8: stem##8(variable, __VA_ARGS__);break; \
  1247. | ^~~~
  1248. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1249. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1250. | ^~~~~~~~~~~~~~~~
  1251. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  1252. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1253. | ^~~~~~~~~~~~
  1254. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  1255. 283 | this_cpu_sub(*percpu_count, nr);
  1256. | ^~~~~~~~~~~~
  1257. In file included from /usr/src/linux-5.1.5/include/linux/page_ref.h:7,
  1258. from /usr/src/linux-5.1.5/include/linux/mm.h:26,
  1259. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:68,
  1260. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.c:15:
  1261. /usr/src/linux-5.1.5/include/linux/page-flags.h: In function ‘PagePoisoned’:
  1262. /usr/src/linux-5.1.5/include/linux/page-flags.h:192:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
  1263. 192 | return page->flags == PAGE_POISON_PATTERN;
  1264. | ^~
  1265. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:6,
  1266. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  1267. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  1268. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  1269. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.c:15:
  1270. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
  1271. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1272. 131 | ((val) == 1 || (val) == -1)) ? \
  1273. | ^~
  1274. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
  1275. 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1276. | ^~~~~~~~~~~~~
  1277. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
  1278. 377 | case 1: stem##1(variable, __VA_ARGS__);break; \
  1279. | ^~~~
  1280. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  1281. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1282. | ^~~~~~~~~~~~~~~~
  1283. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  1284. 458 | raw_cpu_add(pcp, val); \
  1285. | ^~~~~~~~~~~
  1286. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  1287. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1288. | ^~~~~~~~~~~~~~
  1289. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  1290. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1291. | ^~~~~~~~~~~~~~
  1292. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  1293. 87 | __this_cpu_dec(*sem->read_count);
  1294. | ^~~~~~~~~~~~~~
  1295. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1296. 131 | ((val) == 1 || (val) == -1)) ? \
  1297. | ^~
  1298. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
  1299. 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1300. | ^~~~~~~~~~~~~
  1301. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
  1302. 378 | case 2: stem##2(variable, __VA_ARGS__);break; \
  1303. | ^~~~
  1304. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  1305. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1306. | ^~~~~~~~~~~~~~~~
  1307. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  1308. 458 | raw_cpu_add(pcp, val); \
  1309. | ^~~~~~~~~~~
  1310. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  1311. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1312. | ^~~~~~~~~~~~~~
  1313. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  1314. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1315. | ^~~~~~~~~~~~~~
  1316. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  1317. 87 | __this_cpu_dec(*sem->read_count);
  1318. | ^~~~~~~~~~~~~~
  1319. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1320. 131 | ((val) == 1 || (val) == -1)) ? \
  1321. | ^~
  1322. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
  1323. 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1324. | ^~~~~~~~~~~~~
  1325. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
  1326. 379 | case 4: stem##4(variable, __VA_ARGS__);break; \
  1327. | ^~~~
  1328. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  1329. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1330. | ^~~~~~~~~~~~~~~~
  1331. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  1332. 458 | raw_cpu_add(pcp, val); \
  1333. | ^~~~~~~~~~~
  1334. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  1335. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1336. | ^~~~~~~~~~~~~~
  1337. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  1338. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1339. | ^~~~~~~~~~~~~~
  1340. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  1341. 87 | __this_cpu_dec(*sem->read_count);
  1342. | ^~~~~~~~~~~~~~
  1343. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1344. 131 | ((val) == 1 || (val) == -1)) ? \
  1345. | ^~
  1346. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’
  1347. 471 | #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1348. | ^~~~~~~~~~~~~
  1349. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
  1350. 380 | case 8: stem##8(variable, __VA_ARGS__);break; \
  1351. | ^~~~
  1352. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  1353. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1354. | ^~~~~~~~~~~~~~~~
  1355. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  1356. 458 | raw_cpu_add(pcp, val); \
  1357. | ^~~~~~~~~~~
  1358. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  1359. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1360. | ^~~~~~~~~~~~~~
  1361. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  1362. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1363. | ^~~~~~~~~~~~~~
  1364. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  1365. 87 | __this_cpu_dec(*sem->read_count);
  1366. | ^~~~~~~~~~~~~~
  1367. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/cpumask.h:5,
  1368. from /usr/src/linux-5.1.5/arch/x86/include/asm/msr.h:11,
  1369. from /usr/src/linux-5.1.5/arch/x86/include/asm/processor.h:21,
  1370. from /usr/src/linux-5.1.5/arch/x86/include/asm/cpufeature.h:5,
  1371. from /usr/src/linux-5.1.5/arch/x86/include/asm/thread_info.h:53,
  1372. from /usr/src/linux-5.1.5/include/linux/thread_info.h:38,
  1373. from /usr/src/linux-5.1.5/arch/x86/include/asm/preempt.h:7,
  1374. from /usr/src/linux-5.1.5/include/linux/preempt.h:78,
  1375. from /usr/src/linux-5.1.5/include/linux/rcupdate.h:27,
  1376. from /usr/src/linux-5.1.5/include/linux/rculist.h:11,
  1377. from /usr/src/linux-5.1.5/include/linux/pid.h:5,
  1378. from /usr/src/linux-5.1.5/include/linux/sched.h:14,
  1379. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  1380. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  1381. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.c:15:
  1382. /usr/src/linux-5.1.5/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
  1383. /usr/src/linux-5.1.5/include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  1384. 243 | (cpu) < nr_cpu_ids;)
  1385. | ^
  1386. /usr/src/linux-5.1.5/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’
  1387. 778 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  1388. | ^~~~~~~~~~~~
  1389. /usr/src/linux-5.1.5/include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’
  1390. 156 | for_each_online_cpu(cpu)
  1391. | ^~~~~~~~~~~~~~~~~~~
  1392. /usr/src/linux-5.1.5/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
  1393. /usr/src/linux-5.1.5/include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  1394. 243 | (cpu) < nr_cpu_ids;)
  1395. | ^
  1396. /usr/src/linux-5.1.5/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’
  1397. 778 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  1398. | ^~~~~~~~~~~~
  1399. /usr/src/linux-5.1.5/include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’
  1400. 221 | for_each_online_cpu(cpu)
  1401. | ^~~~~~~~~~~~~~~~~~~
  1402. In file included from /usr/src/linux-5.1.5/include/linux/efi.h:20,
  1403. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:173,
  1404. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.c:15:
  1405. /usr/src/linux-5.1.5/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
  1406. /usr/src/linux-5.1.5/include/linux/rtc.h:238:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  1407. 238 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
  1408. | ^
  1409. /usr/src/linux-5.1.5/include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  1410. 243 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
  1411. | ^
  1412. ./tools/objtool/objtool orc generate --module --no-fp --retpoline /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.o
  1413. cc -Wp,-MD,/tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/.nv-dma.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/9.1.0/include -I/usr/src/linux-5.1.5/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.1.5/include -I./include -I/usr/src/linux-5.1.5/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.1.5/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.1.5/include/linux/kconfig.h -include /usr/src/linux-5.1.5/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_
  1414. SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -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 -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-5.1.5/= -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG
  1415. -I/tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/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 -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.o /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.c
  1416. In file included from /usr/src/linux-5.1.5/include/linux/byteorder/little_endian.h:11,
  1417. from /usr/src/linux-5.1.5/arch/x86/include/uapi/asm/byteorder.h:5,
  1418. from /usr/src/linux-5.1.5/include/asm-generic/bitops/le.h:6,
  1419. from /usr/src/linux-5.1.5/arch/x86/include/asm/bitops.h:507,
  1420. from /usr/src/linux-5.1.5/include/linux/bitops.h:19,
  1421. from /usr/src/linux-5.1.5/include/linux/kernel.h:12,
  1422. from /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:45,
  1423. from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:6,
  1424. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  1425. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  1426. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  1427. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.c:15:
  1428. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
  1429. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  1430. 195 | for (i = 0; i < len; i++)
  1431. | ^
  1432. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
  1433. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  1434. 203 | for (i = 0; i < len; i++)
  1435. | ^
  1436. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:5,
  1437. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  1438. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  1439. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  1440. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.c:15:
  1441. /usr/src/linux-5.1.5/include/linux/thread_info.h: In function ‘check_copy_size’:
  1442. /usr/src/linux-5.1.5/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  1443. 141 | if (unlikely(sz >= 0 && sz < bytes)) {
  1444. | ^
  1445. /usr/src/linux-5.1.5/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
  1446. 77 | # define unlikely(x) __builtin_expect(!!(x), 0)
  1447. | ^
  1448. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:5,
  1449. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  1450. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  1451. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  1452. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.c:15:
  1453. /usr/src/linux-5.1.5/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
  1454. /usr/src/linux-5.1.5/include/linux/mmzone.h:993:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
  1455. 993 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
  1456. | ^~
  1457. /usr/src/linux-5.1.5/include/linux/compiler.h:76:40: note: in definition of macro ‘likely’
  1458. 76 | # define likely(x) __builtin_expect(!!(x), 1)
  1459. | ^
  1460. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:6,
  1461. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  1462. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  1463. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  1464. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.c:15:
  1465. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1466. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1467. 131 | ((val) == 1 || (val) == -1)) ? \
  1468. | ^~
  1469. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1470. 420 | #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1471. | ^~~~~~~~~~~~~
  1472. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
  1473. 377 | case 1: stem##1(variable, __VA_ARGS__);break; \
  1474. | ^~~~
  1475. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1476. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1477. | ^~~~~~~~~~~~~~~~
  1478. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  1479. 184 | this_cpu_add(*percpu_count, nr);
  1480. | ^~~~~~~~~~~~
  1481. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1482. 131 | ((val) == 1 || (val) == -1)) ? \
  1483. | ^~
  1484. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1485. 421 | #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1486. | ^~~~~~~~~~~~~
  1487. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
  1488. 378 | case 2: stem##2(variable, __VA_ARGS__);break; \
  1489. | ^~~~
  1490. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1491. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1492. | ^~~~~~~~~~~~~~~~
  1493. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  1494. 184 | this_cpu_add(*percpu_count, nr);
  1495. | ^~~~~~~~~~~~
  1496. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1497. 131 | ((val) == 1 || (val) == -1)) ? \
  1498. | ^~
  1499. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
  1500. 422 | #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1501. | ^~~~~~~~~~~~~
  1502. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
  1503. 379 | case 4: stem##4(variable, __VA_ARGS__);break; \
  1504. | ^~~~
  1505. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1506. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1507. | ^~~~~~~~~~~~~~~~
  1508. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  1509. 184 | this_cpu_add(*percpu_count, nr);
  1510. | ^~~~~~~~~~~~
  1511. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1512. 131 | ((val) == 1 || (val) == -1)) ? \
  1513. | ^~
  1514. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’
  1515. 480 | #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1516. | ^~~~~~~~~~~~~
  1517. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
  1518. 380 | case 8: stem##8(variable, __VA_ARGS__);break; \
  1519. | ^~~~
  1520. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1521. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1522. | ^~~~~~~~~~~~~~~~
  1523. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  1524. 184 | this_cpu_add(*percpu_count, nr);
  1525. | ^~~~~~~~~~~~
  1526. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1527. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1528. 131 | ((val) == 1 || (val) == -1)) ? \
  1529. | ^~
  1530. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1531. 420 | #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1532. | ^~~~~~~~~~~~~
  1533. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
  1534. 377 | case 1: stem##1(variable, __VA_ARGS__);break; \
  1535. | ^~~~
  1536. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1537. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1538. | ^~~~~~~~~~~~~~~~
  1539. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  1540. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1541. | ^~~~~~~~~~~~
  1542. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  1543. 283 | this_cpu_sub(*percpu_count, nr);
  1544. | ^~~~~~~~~~~~
  1545. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1546. 131 | ((val) == 1 || (val) == -1)) ? \
  1547. | ^~
  1548. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1549. 421 | #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1550. | ^~~~~~~~~~~~~
  1551. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
  1552. 378 | case 2: stem##2(variable, __VA_ARGS__);break; \
  1553. | ^~~~
  1554. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1555. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1556. | ^~~~~~~~~~~~~~~~
  1557. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  1558. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1559. | ^~~~~~~~~~~~
  1560. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  1561. 283 | this_cpu_sub(*percpu_count, nr);
  1562. | ^~~~~~~~~~~~
  1563. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1564. 131 | ((val) == 1 || (val) == -1)) ? \
  1565. | ^~
  1566. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
  1567. 422 | #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1568. | ^~~~~~~~~~~~~
  1569. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
  1570. 379 | case 4: stem##4(variable, __VA_ARGS__);break; \
  1571. | ^~~~
  1572. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1573. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1574. | ^~~~~~~~~~~~~~~~
  1575. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  1576. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1577. | ^~~~~~~~~~~~
  1578. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  1579. 283 | this_cpu_sub(*percpu_count, nr);
  1580. | ^~~~~~~~~~~~
  1581. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1582. 131 | ((val) == 1 || (val) == -1)) ? \
  1583. | ^~
  1584. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’
  1585. 480 | #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1586. | ^~~~~~~~~~~~~
  1587. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
  1588. 380 | case 8: stem##8(variable, __VA_ARGS__);break; \
  1589. | ^~~~
  1590. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1591. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1592. | ^~~~~~~~~~~~~~~~
  1593. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  1594. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1595. | ^~~~~~~~~~~~
  1596. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  1597. 283 | this_cpu_sub(*percpu_count, nr);
  1598. | ^~~~~~~~~~~~
  1599. In file included from /usr/src/linux-5.1.5/include/linux/page_ref.h:7,
  1600. from /usr/src/linux-5.1.5/include/linux/mm.h:26,
  1601. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:68,
  1602. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.c:15:
  1603. /usr/src/linux-5.1.5/include/linux/page-flags.h: In function ‘PagePoisoned’:
  1604. /usr/src/linux-5.1.5/include/linux/page-flags.h:192:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
  1605. 192 | return page->flags == PAGE_POISON_PATTERN;
  1606. | ^~
  1607. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:6,
  1608. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  1609. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  1610. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  1611. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.c:15:
  1612. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
  1613. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1614. 131 | ((val) == 1 || (val) == -1)) ? \
  1615. | ^~
  1616. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
  1617. 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1618. | ^~~~~~~~~~~~~
  1619. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
  1620. 377 | case 1: stem##1(variable, __VA_ARGS__);break; \
  1621. | ^~~~
  1622. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  1623. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1624. | ^~~~~~~~~~~~~~~~
  1625. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  1626. 458 | raw_cpu_add(pcp, val); \
  1627. | ^~~~~~~~~~~
  1628. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  1629. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1630. | ^~~~~~~~~~~~~~
  1631. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  1632. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1633. | ^~~~~~~~~~~~~~
  1634. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  1635. 87 | __this_cpu_dec(*sem->read_count);
  1636. | ^~~~~~~~~~~~~~
  1637. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1638. 131 | ((val) == 1 || (val) == -1)) ? \
  1639. | ^~
  1640. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
  1641. 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1642. | ^~~~~~~~~~~~~
  1643. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
  1644. 378 | case 2: stem##2(variable, __VA_ARGS__);break; \
  1645. | ^~~~
  1646. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  1647. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1648. | ^~~~~~~~~~~~~~~~
  1649. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  1650. 458 | raw_cpu_add(pcp, val); \
  1651. | ^~~~~~~~~~~
  1652. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  1653. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1654. | ^~~~~~~~~~~~~~
  1655. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  1656. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1657. | ^~~~~~~~~~~~~~
  1658. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  1659. 87 | __this_cpu_dec(*sem->read_count);
  1660. | ^~~~~~~~~~~~~~
  1661. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1662. 131 | ((val) == 1 || (val) == -1)) ? \
  1663. | ^~
  1664. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
  1665. 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1666. | ^~~~~~~~~~~~~
  1667. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
  1668. 379 | case 4: stem##4(variable, __VA_ARGS__);break; \
  1669. | ^~~~
  1670. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  1671. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1672. | ^~~~~~~~~~~~~~~~
  1673. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  1674. 458 | raw_cpu_add(pcp, val); \
  1675. | ^~~~~~~~~~~
  1676. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  1677. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1678. | ^~~~~~~~~~~~~~
  1679. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  1680. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1681. | ^~~~~~~~~~~~~~
  1682. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  1683. 87 | __this_cpu_dec(*sem->read_count);
  1684. | ^~~~~~~~~~~~~~
  1685. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1686. 131 | ((val) == 1 || (val) == -1)) ? \
  1687. | ^~
  1688. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’
  1689. 471 | #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1690. | ^~~~~~~~~~~~~
  1691. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
  1692. 380 | case 8: stem##8(variable, __VA_ARGS__);break; \
  1693. | ^~~~
  1694. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  1695. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1696. | ^~~~~~~~~~~~~~~~
  1697. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  1698. 458 | raw_cpu_add(pcp, val); \
  1699. | ^~~~~~~~~~~
  1700. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  1701. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1702. | ^~~~~~~~~~~~~~
  1703. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  1704. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1705. | ^~~~~~~~~~~~~~
  1706. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  1707. 87 | __this_cpu_dec(*sem->read_count);
  1708. | ^~~~~~~~~~~~~~
  1709. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/cpumask.h:5,
  1710. from /usr/src/linux-5.1.5/arch/x86/include/asm/msr.h:11,
  1711. from /usr/src/linux-5.1.5/arch/x86/include/asm/processor.h:21,
  1712. from /usr/src/linux-5.1.5/arch/x86/include/asm/cpufeature.h:5,
  1713. from /usr/src/linux-5.1.5/arch/x86/include/asm/thread_info.h:53,
  1714. from /usr/src/linux-5.1.5/include/linux/thread_info.h:38,
  1715. from /usr/src/linux-5.1.5/arch/x86/include/asm/preempt.h:7,
  1716. from /usr/src/linux-5.1.5/include/linux/preempt.h:78,
  1717. from /usr/src/linux-5.1.5/include/linux/rcupdate.h:27,
  1718. from /usr/src/linux-5.1.5/include/linux/rculist.h:11,
  1719. from /usr/src/linux-5.1.5/include/linux/pid.h:5,
  1720. from /usr/src/linux-5.1.5/include/linux/sched.h:14,
  1721. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  1722. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  1723. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.c:15:
  1724. /usr/src/linux-5.1.5/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
  1725. /usr/src/linux-5.1.5/include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  1726. 243 | (cpu) < nr_cpu_ids;)
  1727. | ^
  1728. /usr/src/linux-5.1.5/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’
  1729. 778 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  1730. | ^~~~~~~~~~~~
  1731. /usr/src/linux-5.1.5/include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’
  1732. 156 | for_each_online_cpu(cpu)
  1733. | ^~~~~~~~~~~~~~~~~~~
  1734. /usr/src/linux-5.1.5/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
  1735. /usr/src/linux-5.1.5/include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  1736. 243 | (cpu) < nr_cpu_ids;)
  1737. | ^
  1738. /usr/src/linux-5.1.5/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’
  1739. 778 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  1740. | ^~~~~~~~~~~~
  1741. /usr/src/linux-5.1.5/include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’
  1742. 221 | for_each_online_cpu(cpu)
  1743. | ^~~~~~~~~~~~~~~~~~~
  1744. In file included from /usr/src/linux-5.1.5/include/linux/efi.h:20,
  1745. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:173,
  1746. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.c:15:
  1747. /usr/src/linux-5.1.5/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
  1748. /usr/src/linux-5.1.5/include/linux/rtc.h:238:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  1749. 238 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
  1750. | ^
  1751. /usr/src/linux-5.1.5/include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  1752. 243 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
  1753. | ^
  1754. ./tools/objtool/objtool orc generate --module --no-fp --retpoline /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.o
  1755. cc -Wp,-MD,/tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/.nv-drm.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/9.1.0/include -I/usr/src/linux-5.1.5/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.1.5/include -I./include -I/usr/src/linux-5.1.5/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.1.5/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.1.5/include/linux/kconfig.h -include /usr/src/linux-5.1.5/include/linux/compiler_types.h -D__KERNEL__ -W
  1756. all -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-u
  1757. nused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-5.1.5/= -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/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 -DKBUILD_BASENAME='"nv_drm"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.o /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c
  1758. In file included from /usr/src/linux-5.1.5/include/linux/byteorder/little_endian.h:11,
  1759. from /usr/src/linux-5.1.5/arch/x86/include/uapi/asm/byteorder.h:5,
  1760. from /usr/src/linux-5.1.5/include/asm-generic/bitops/le.h:6,
  1761. from /usr/src/linux-5.1.5/arch/x86/include/asm/bitops.h:507,
  1762. from /usr/src/linux-5.1.5/include/linux/bitops.h:19,
  1763. from /usr/src/linux-5.1.5/include/linux/kernel.h:12,
  1764. from /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:45,
  1765. from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:6,
  1766. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  1767. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  1768. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  1769. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c:15:
  1770. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
  1771. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  1772. 195 | for (i = 0; i < len; i++)
  1773. | ^
  1774. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
  1775. /usr/src/linux-5.1.5/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  1776. 203 | for (i = 0; i < len; i++)
  1777. | ^
  1778. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:5,
  1779. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  1780. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  1781. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  1782. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c:15:
  1783. /usr/src/linux-5.1.5/include/linux/thread_info.h: In function ‘check_copy_size’:
  1784. /usr/src/linux-5.1.5/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  1785. 141 | if (unlikely(sz >= 0 && sz < bytes)) {
  1786. | ^
  1787. /usr/src/linux-5.1.5/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
  1788. 77 | # define unlikely(x) __builtin_expect(!!(x), 0)
  1789. | ^
  1790. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:5,
  1791. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  1792. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  1793. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  1794. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c:15:
  1795. /usr/src/linux-5.1.5/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
  1796. /usr/src/linux-5.1.5/include/linux/mmzone.h:993:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
  1797. 993 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
  1798. | ^~
  1799. /usr/src/linux-5.1.5/include/linux/compiler.h:76:40: note: in definition of macro ‘likely’
  1800. 76 | # define likely(x) __builtin_expect(!!(x), 1)
  1801. | ^
  1802. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:6,
  1803. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  1804. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  1805. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  1806. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c:15:
  1807. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  1808. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1809. 131 | ((val) == 1 || (val) == -1)) ? \
  1810. | ^~
  1811. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1812. 420 | #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1813. | ^~~~~~~~~~~~~
  1814. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
  1815. 377 | case 1: stem##1(variable, __VA_ARGS__);break; \
  1816. | ^~~~
  1817. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1818. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1819. | ^~~~~~~~~~~~~~~~
  1820. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  1821. 184 | this_cpu_add(*percpu_count, nr);
  1822. | ^~~~~~~~~~~~
  1823. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1824. 131 | ((val) == 1 || (val) == -1)) ? \
  1825. | ^~
  1826. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1827. 421 | #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1828. | ^~~~~~~~~~~~~
  1829. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
  1830. 378 | case 2: stem##2(variable, __VA_ARGS__);break; \
  1831. | ^~~~
  1832. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1833. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1834. | ^~~~~~~~~~~~~~~~
  1835. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  1836. 184 | this_cpu_add(*percpu_count, nr);
  1837. | ^~~~~~~~~~~~
  1838. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1839. 131 | ((val) == 1 || (val) == -1)) ? \
  1840. | ^~
  1841. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
  1842. 422 | #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1843. | ^~~~~~~~~~~~~
  1844. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
  1845. 379 | case 4: stem##4(variable, __VA_ARGS__);break; \
  1846. | ^~~~
  1847. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1848. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1849. | ^~~~~~~~~~~~~~~~
  1850. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  1851. 184 | this_cpu_add(*percpu_count, nr);
  1852. | ^~~~~~~~~~~~
  1853. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1854. 131 | ((val) == 1 || (val) == -1)) ? \
  1855. | ^~
  1856. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’
  1857. 480 | #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1858. | ^~~~~~~~~~~~~
  1859. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
  1860. 380 | case 8: stem##8(variable, __VA_ARGS__);break; \
  1861. | ^~~~
  1862. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1863. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1864. | ^~~~~~~~~~~~~~~~
  1865. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’
  1866. 184 | this_cpu_add(*percpu_count, nr);
  1867. | ^~~~~~~~~~~~
  1868. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  1869. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1870. 131 | ((val) == 1 || (val) == -1)) ? \
  1871. | ^~
  1872. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  1873. 420 | #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1874. | ^~~~~~~~~~~~~
  1875. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
  1876. 377 | case 1: stem##1(variable, __VA_ARGS__);break; \
  1877. | ^~~~
  1878. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1879. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1880. | ^~~~~~~~~~~~~~~~
  1881. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  1882. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1883. | ^~~~~~~~~~~~
  1884. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  1885. 283 | this_cpu_sub(*percpu_count, nr);
  1886. | ^~~~~~~~~~~~
  1887. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1888. 131 | ((val) == 1 || (val) == -1)) ? \
  1889. | ^~
  1890. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  1891. 421 | #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1892. | ^~~~~~~~~~~~~
  1893. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
  1894. 378 | case 2: stem##2(variable, __VA_ARGS__);break; \
  1895. | ^~~~
  1896. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1897. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1898. | ^~~~~~~~~~~~~~~~
  1899. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  1900. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1901. | ^~~~~~~~~~~~
  1902. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  1903. 283 | this_cpu_sub(*percpu_count, nr);
  1904. | ^~~~~~~~~~~~
  1905. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1906. 131 | ((val) == 1 || (val) == -1)) ? \
  1907. | ^~
  1908. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
  1909. 422 | #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1910. | ^~~~~~~~~~~~~
  1911. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
  1912. 379 | case 4: stem##4(variable, __VA_ARGS__);break; \
  1913. | ^~~~
  1914. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1915. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1916. | ^~~~~~~~~~~~~~~~
  1917. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  1918. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1919. | ^~~~~~~~~~~~
  1920. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  1921. 283 | this_cpu_sub(*percpu_count, nr);
  1922. | ^~~~~~~~~~~~
  1923. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  1924. 131 | ((val) == 1 || (val) == -1)) ? \
  1925. | ^~
  1926. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’
  1927. 480 | #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  1928. | ^~~~~~~~~~~~~
  1929. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
  1930. 380 | case 8: stem##8(variable, __VA_ARGS__);break; \
  1931. | ^~~~
  1932. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
  1933. 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  1934. | ^~~~~~~~~~~~~~~~
  1935. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
  1936. 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  1937. | ^~~~~~~~~~~~
  1938. /usr/src/linux-5.1.5/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’
  1939. 283 | this_cpu_sub(*percpu_count, nr);
  1940. | ^~~~~~~~~~~~
  1941. In file included from /usr/src/linux-5.1.5/include/linux/page_ref.h:7,
  1942. from /usr/src/linux-5.1.5/include/linux/mm.h:26,
  1943. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:68,
  1944. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c:15:
  1945. /usr/src/linux-5.1.5/include/linux/page-flags.h: In function ‘PagePoisoned’:
  1946. /usr/src/linux-5.1.5/include/linux/page-flags.h:192:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
  1947. 192 | return page->flags == PAGE_POISON_PATTERN;
  1948. | ^~
  1949. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/current.h:6,
  1950. from /usr/src/linux-5.1.5/include/linux/sched.h:12,
  1951. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  1952. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  1953. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c:15:
  1954. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
  1955. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1956. 131 | ((val) == 1 || (val) == -1)) ? \
  1957. | ^~
  1958. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
  1959. 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  1960. | ^~~~~~~~~~~~~
  1961. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’
  1962. 377 | case 1: stem##1(variable, __VA_ARGS__);break; \
  1963. | ^~~~
  1964. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  1965. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1966. | ^~~~~~~~~~~~~~~~
  1967. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  1968. 458 | raw_cpu_add(pcp, val); \
  1969. | ^~~~~~~~~~~
  1970. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  1971. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1972. | ^~~~~~~~~~~~~~
  1973. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  1974. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1975. | ^~~~~~~~~~~~~~
  1976. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  1977. 87 | __this_cpu_dec(*sem->read_count);
  1978. | ^~~~~~~~~~~~~~
  1979. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1980. 131 | ((val) == 1 || (val) == -1)) ? \
  1981. | ^~
  1982. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
  1983. 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  1984. | ^~~~~~~~~~~~~
  1985. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’
  1986. 378 | case 2: stem##2(variable, __VA_ARGS__);break; \
  1987. | ^~~~
  1988. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  1989. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1990. | ^~~~~~~~~~~~~~~~
  1991. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  1992. 458 | raw_cpu_add(pcp, val); \
  1993. | ^~~~~~~~~~~
  1994. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  1995. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1996. | ^~~~~~~~~~~~~~
  1997. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  1998. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1999. | ^~~~~~~~~~~~~~
  2000. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  2001. 87 | __this_cpu_dec(*sem->read_count);
  2002. | ^~~~~~~~~~~~~~
  2003. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  2004. 131 | ((val) == 1 || (val) == -1)) ? \
  2005. | ^~
  2006. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
  2007. 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  2008. | ^~~~~~~~~~~~~
  2009. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’
  2010. 379 | case 4: stem##4(variable, __VA_ARGS__);break; \
  2011. | ^~~~
  2012. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  2013. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  2014. | ^~~~~~~~~~~~~~~~
  2015. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  2016. 458 | raw_cpu_add(pcp, val); \
  2017. | ^~~~~~~~~~~
  2018. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  2019. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  2020. | ^~~~~~~~~~~~~~
  2021. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  2022. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  2023. | ^~~~~~~~~~~~~~
  2024. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  2025. 87 | __this_cpu_dec(*sem->read_count);
  2026. | ^~~~~~~~~~~~~~
  2027. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  2028. 131 | ((val) == 1 || (val) == -1)) ? \
  2029. | ^~
  2030. /usr/src/linux-5.1.5/arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’
  2031. 471 | #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  2032. | ^~~~~~~~~~~~~
  2033. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’
  2034. 380 | case 8: stem##8(variable, __VA_ARGS__);break; \
  2035. | ^~~~
  2036. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’
  2037. 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  2038. | ^~~~~~~~~~~~~~~~
  2039. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’
  2040. 458 | raw_cpu_add(pcp, val); \
  2041. | ^~~~~~~~~~~
  2042. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’
  2043. 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  2044. | ^~~~~~~~~~~~~~
  2045. /usr/src/linux-5.1.5/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’
  2046. 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  2047. | ^~~~~~~~~~~~~~
  2048. /usr/src/linux-5.1.5/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’
  2049. 87 | __this_cpu_dec(*sem->read_count);
  2050. | ^~~~~~~~~~~~~~
  2051. In file included from /usr/src/linux-5.1.5/arch/x86/include/asm/cpumask.h:5,
  2052. from /usr/src/linux-5.1.5/arch/x86/include/asm/msr.h:11,
  2053. from /usr/src/linux-5.1.5/arch/x86/include/asm/processor.h:21,
  2054. from /usr/src/linux-5.1.5/arch/x86/include/asm/cpufeature.h:5,
  2055. from /usr/src/linux-5.1.5/arch/x86/include/asm/thread_info.h:53,
  2056. from /usr/src/linux-5.1.5/include/linux/thread_info.h:38,
  2057. from /usr/src/linux-5.1.5/arch/x86/include/asm/preempt.h:7,
  2058. from /usr/src/linux-5.1.5/include/linux/preempt.h:78,
  2059. from /usr/src/linux-5.1.5/include/linux/rcupdate.h:27,
  2060. from /usr/src/linux-5.1.5/include/linux/rculist.h:11,
  2061. from /usr/src/linux-5.1.5/include/linux/pid.h:5,
  2062. from /usr/src/linux-5.1.5/include/linux/sched.h:14,
  2063. from /usr/src/linux-5.1.5/include/linux/utsname.h:6,
  2064. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44,
  2065. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c:15:
  2066. /usr/src/linux-5.1.5/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
  2067. /usr/src/linux-5.1.5/include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  2068. 243 | (cpu) < nr_cpu_ids;)
  2069. | ^
  2070. /usr/src/linux-5.1.5/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’
  2071. 778 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  2072. | ^~~~~~~~~~~~
  2073. /usr/src/linux-5.1.5/include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’
  2074. 156 | for_each_online_cpu(cpu)
  2075. | ^~~~~~~~~~~~~~~~~~~
  2076. /usr/src/linux-5.1.5/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
  2077. /usr/src/linux-5.1.5/include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  2078. 243 | (cpu) < nr_cpu_ids;)
  2079. | ^
  2080. /usr/src/linux-5.1.5/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’
  2081. 778 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  2082. | ^~~~~~~~~~~~
  2083. /usr/src/linux-5.1.5/include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’
  2084. 221 | for_each_online_cpu(cpu)
  2085. | ^~~~~~~~~~~~~~~~~~~
  2086. In file included from /usr/src/linux-5.1.5/include/linux/efi.h:20,
  2087. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:173,
  2088. from /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c:15:
  2089. /usr/src/linux-5.1.5/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
  2090. /usr/src/linux-5.1.5/include/linux/rtc.h:238:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  2091. 238 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
  2092. | ^
  2093. /usr/src/linux-5.1.5/include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  2094. 243 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
  2095. | ^
  2096. /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c: In function ‘nv_alloc_os_descriptor_handle’:
  2097. /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c:255:5: error: implicit declaration of function ‘drm_gem_object_unreference_unlocked’; did you mean ‘drm_gem_object_put_unlocked’? [-Werror=implicit-function-declaration]
  2098. 255 | drm_gem_object_unreference_unlocked(&nv_obj->base);
  2099. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2100. | drm_gem_object_put_unlocked
  2101. cc1: some warnings being treated as errors
  2102. make[3]: *** [/usr/src/linux-5.1.5/scripts/Makefile.build:276: /tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.o] Error 1
  2103. make[2]: *** [/usr/src/linux-5.1.5/Makefile:1571: _module_/tmp/selfgz2389/NVIDIA-Linux-x86_64-340.107/kernel] Error 2
  2104. make[2]: Leaving directory '/usr/src/linux-5.1.5'
  2105. make[1]: *** [Makefile:169: sub-make] Error 2
  2106. make[1]: Leaving directory '/usr/src/linux-5.1.5'
  2107. NVIDIA: left KBUILD.
  2108. nvidia.ko failed to build!
  2109. make: *** [Makefile:192: nvidia.ko] Error 1
  2110. -> Error.
  2111. ERROR: Unable to build the NVIDIA kernel module.
  2112. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement