Advertisement
Guest User

Untitled

a guest
Jul 16th, 2022
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 86.19 KB | None | 0 0
  1. nvidia-installer log file '/var/log/nvidia-installer.log'
  2. creation time: Sat Jul 16 15:38:38 2022
  3. installer version: 1.0.7
  4.  
  5. PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  6.  
  7. option status:
  8. license pre-accepted : false
  9. update : false
  10. force update : false
  11. expert : false
  12. uninstall : false
  13. driver info : false
  14. precompiled interfaces : true
  15. no ncurses color : false
  16. query latest version : false
  17. OpenGL header files : true
  18. no questions : false
  19. silent : false
  20. no recursion : false
  21. no backup : false
  22. kernel module only : false
  23. sanity : false
  24. add this kernel : false
  25. no runlevel check : false
  26. no network : false
  27. no ABI note : false
  28. no RPMs : false
  29. no kernel module : false
  30. force SELinux : default
  31. no X server check : false
  32. no cc version check : false
  33. run distro scripts : true
  34. no nouveau check : false
  35. run nvidia-xconfig : false
  36. sigwinch work around : true
  37. force tls : (not specified)
  38. X install prefix : (not specified)
  39. X library install path : (not specified)
  40. X module install path : (not specified)
  41. OpenGL install prefix : (not specified)
  42. OpenGL install libdir : (not specified)
  43. utility install prefix : (not specified)
  44. utility install libdir : (not specified)
  45. installer prefix : (not specified)
  46. doc install prefix : (not specified)
  47. kernel name : (not specified)
  48. kernel include path : (not specified)
  49. kernel source path : (not specified)
  50. kernel output path : (not specified)
  51. kernel install path : (not specified)
  52. precompiled kernel interfaces path : (not specified)
  53. precompiled kernel interfaces url : (not specified)
  54. proc mount point : /proc
  55. ui : (not specified)
  56. tmpdir : /tmp
  57. ftp mirror : ftp://download.nvidia.com
  58. RPM file list : (not specified)
  59. selinux chcon type : (not specified)
  60.  
  61. Unable to load: nvidia-installer ncurses user interface
  62.  
  63. Using built-in stream user interface
  64. -> License accepted.
  65. -> Installing NVIDIA driver version 173.14.39.
  66. -> Performing CC sanity check with CC="cc".
  67. -> Performing CC version check with CC="cc".
  68. -> Kernel source path: '/lib/modules/4.19.0-21-686/source'
  69. -> Kernel output path: '/lib/modules/4.19.0-21-686/build'
  70. -> Performing rivafb check.
  71. -> Performing nvidiafb check.
  72. -> Performing Xen check.
  73. -> Cleaning kernel module build directory.
  74. executing: 'cd ./usr/src/nv; make clean'...
  75. -> Building kernel module:
  76. executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/4.19.0-21-686/s
  77. ource SYSOUT=/lib/modules/4.19.0-21-686/build'...
  78. NVIDIA: calling KBUILD...
  79. make -C /lib/modules/4.19.0-21-686/build KBUILD_SRC=/usr/src/linux-headers-4
  80. .19.0-21-common \
  81. -f /usr/src/linux-headers-4.19.0-21-common/Makefile modules
  82. test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
  83. echo >&2; \
  84. echo >&2 " ERROR: Kernel configuration is invalid."; \
  85. echo >&2 " include/generated/autoconf.h or include/config/auto.conf
  86. are missing.";\
  87. echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix
  88. it."; \
  89. echo >&2 ; \
  90. /bin/false)
  91. mkdir -p /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.tmp_ver
  92. sions ; rm -f /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.tm
  93. p_versions/*
  94. make -f /usr/src/linux-headers-4.19.0-21-common/scripts/Makefile.build obj=/
  95. tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv
  96. (cat /dev/null; echo kernel//tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg
  97. 1/usr/src/nv/nvidia.ko;) > /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/u
  98. sr/src/nv/modules.order
  99. cc -Wp,-MD,/tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.nv.
  100. o.d -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/8/include -I/usr/src/lin
  101. ux-headers-4.19.0-21-common/arch/x86/include -I./arch/x86/include/generated
  102. -I/usr/src/linux-headers-4.19.0-21-common/include -I./include -I/usr/src/lin
  103. ux-headers-4.19.0-21-common/arch/x86/include/uapi -I./arch/x86/include/gener
  104. ated/uapi -I/usr/src/linux-headers-4.19.0-21-common/include/uapi -I./include
  105. /generated/uapi -include /usr/src/linux-headers-4.19.0-21-common/include/lin
  106. ux/kconfig.h -include /usr/src/linux-headers-4.19.0-21-common/include/linux/
  107. compiler_types.h -I/tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/
  108. nv -I/tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv -D__KERNEL__
  109. -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-c
  110. ommon -fshort-wchar -Werror-implicit-function-declaration -Werror=return-typ
  111. e -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-
  112. 3dnow -mno-avx -fcf-protection=none -m32 -m
  113. soft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-bounda
  114. ry=2 -march=geode -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFI
  115. G_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFI
  116. G_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONF
  117. IG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign
  118. -compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -min
  119. direct-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno
  120. -frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-
  121. context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstac
  122. k-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -
  123. fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignm
  124. ents -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-s
  125. tatement -Wno-pointer-sign -Wno-stringop-truncation -Wno-array-bounds -Wno-s
  126. tringop-overflow -Wno-restrict -Wno-
  127. maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-co
  128. nstants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=stric
  129. t-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=de
  130. signated-init -fmacro-prefix-map=/usr/src/linux-headers-4.19.0-21-common/= -
  131. Wno-packed-not-aligned -I/tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/us
  132. r/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
  133. -Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno
  134. -cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"173
  135. .14.39\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME='"nv"' -DKBU
  136. ILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1
  137. /usr/src/nv/.tmp_nv.o /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  138. c/nv/nv.c
  139. In file included from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  140. c/nv/nv-linux.h:16,
  141. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  142. c/nv/nv.c:13:
  143. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/conftest.h:39:2:
  144. error: #error acpi_walk_namespace() conftest failed!
  145. #error acpi_walk_namespace() conftest failed!
  146. ^~~~~
  147. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/conftest.h:40:2:
  148. error: #error acpi_os_wait_events_complete() conftest failed!
  149. #error acpi_os_wait_events_complete() conftest failed!
  150. ^~~~~
  151. In file included from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  152. bitops.h:19,
  153. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  154. kernel.h:11,
  155. from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  156. de/asm/percpu.h:45,
  157. from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  158. de/asm/current.h:6,
  159. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  160. sched.h:12,
  161. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  162. utsname.h:6,
  163. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  164. c/nv/nv-linux.h:25,
  165. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  166. c/nv/nv.c:13:
  167. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/bitops.h: In fu
  168. nction ‘set_bit’:
  169. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/bitops.h:49:61:
  170. warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  171. #define CONST_MASK_ADDR(nr, addr) WBYTE_ADDR((void *)(addr) + ((nr)>>3))
  172. ^
  173. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/bitops.h:40:51:
  174. note: in definition of macro ‘WBYTE_ADDR’
  175. #define WBYTE_ADDR(x) "+m" (*(volatile char *) (x))
  176. ^
  177. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/bitops.h:72:6:
  178. note: in expansion of macro ‘CONST_MASK_ADDR’
  179. : CONST_MASK_ADDR(nr, addr)
  180. ^~~~~~~~~~~~~~~
  181. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/bitops.h: In fu
  182. nction ‘clear_bit’:
  183. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/bitops.h:49:61:
  184. warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  185. #define CONST_MASK_ADDR(nr, addr) WBYTE_ADDR((void *)(addr) + ((nr)>>3))
  186. ^
  187. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/bitops.h:40:51:
  188. note: in definition of macro ‘WBYTE_ADDR’
  189. #define WBYTE_ADDR(x) "+m" (*(volatile char *) (x))
  190. ^
  191. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/bitops.h:110:6:
  192. note: in expansion of macro ‘CONST_MASK_ADDR’
  193. : CONST_MASK_ADDR(nr, addr)
  194. ^~~~~~~~~~~~~~~
  195. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/bitops.h: In fu
  196. nction ‘change_bit’:
  197. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/bitops.h:49:61:
  198. warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  199. #define CONST_MASK_ADDR(nr, addr) WBYTE_ADDR((void *)(addr) + ((nr)>>3))
  200. ^
  201. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/bitops.h:40:51:
  202. note: in definition of macro ‘WBYTE_ADDR’
  203. #define WBYTE_ADDR(x) "+m" (*(volatile char *) (x))
  204. ^
  205. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/bitops.h:191:6:
  206. note: in expansion of macro ‘CONST_MASK_ADDR’
  207. : CONST_MASK_ADDR(nr, addr)
  208. ^~~~~~~~~~~~~~~
  209. In file included from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  210. byteorder/little_endian.h:11,
  211. from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  212. de/uapi/asm/byteorder.h:5,
  213. from /usr/src/linux-headers-4.19.0-21-common/include/asm-ge
  214. neric/bitops/le.h:6,
  215. from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  216. de/asm/bitops.h:510,
  217. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  218. bitops.h:19,
  219. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  220. kernel.h:11,
  221. from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  222. de/asm/percpu.h:45,
  223. from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  224. de/asm/current.h:6,
  225. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  226. sched.h:12,
  227. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  228. utsname.h:6,
  229. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  230. c/nv/nv-linux.h:25,
  231. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  232. c/nv/nv.c:13:
  233. /usr/src/linux-headers-4.19.0-21-common/include/linux/byteorder/generic.h: I
  234. n function ‘cpu_to_be32_array’:
  235. /usr/src/linux-headers-4.19.0-21-common/include/linux/byteorder/generic.h:19
  236. 5:16: warning: comparison of integer expressions of different signedness: \E2\80
  237. \98int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare]
  238. for (i = 0; i < len; i++)
  239. ^
  240. /usr/src/linux-headers-4.19.0-21-common/include/linux/byteorder/generic.h: I
  241. n function ‘be32_to_cpu_array’:
  242. /usr/src/linux-headers-4.19.0-21-common/include/linux/byteorder/generic.h:20
  243. 3:16: warning: comparison of integer expressions of different signedness: \E2\80
  244. \98int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare]
  245. for (i = 0; i < len; i++)
  246. ^
  247. In file included from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  248. list.h:7,
  249. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  250. rculist.h:10,
  251. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  252. pid.h:5,
  253. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  254. sched.h:14,
  255. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  256. utsname.h:6,
  257. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  258. c/nv/nv-linux.h:25,
  259. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  260. c/nv/nv.c:13:
  261. /usr/src/linux-headers-4.19.0-21-common/include/linux/list.h: In function \E2\80
  262. \98list_del’:
  263. /usr/src/linux-headers-4.19.0-21-common/include/linux/poison.h:23:39: warnin
  264. g: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  265. #define LIST_POISON1 ((void *) 0x100 + POISON_POINTER_DELTA)
  266. ^
  267. /usr/src/linux-headers-4.19.0-21-common/include/linux/list.h:126:16: note: i
  268. n expansion of macro ‘LIST_POISON1’
  269. entry->next = LIST_POISON1;
  270. ^~~~~~~~~~~~
  271. /usr/src/linux-headers-4.19.0-21-common/include/linux/poison.h:24:39: warnin
  272. g: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  273. #define LIST_POISON2 ((void *) 0x200 + POISON_POINTER_DELTA)
  274. ^
  275. /usr/src/linux-headers-4.19.0-21-common/include/linux/list.h:127:16: note: i
  276. n expansion of macro ‘LIST_POISON2’
  277. entry->prev = LIST_POISON2;
  278. ^~~~~~~~~~~~
  279. /usr/src/linux-headers-4.19.0-21-common/include/linux/list.h: In function \E2\80
  280. \98hlist_del’:
  281. /usr/src/linux-headers-4.19.0-21-common/include/linux/poison.h:23:39: warnin
  282. g: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  283. #define LIST_POISON1 ((void *) 0x100 + POISON_POINTER_DELTA)
  284. ^
  285. /usr/src/linux-headers-4.19.0-21-common/include/linux/list.h:696:12: note: i
  286. n expansion of macro ‘LIST_POISON1’
  287. n->next = LIST_POISON1;
  288. ^~~~~~~~~~~~
  289. /usr/src/linux-headers-4.19.0-21-common/include/linux/poison.h:24:39: warnin
  290. g: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  291. #define LIST_POISON2 ((void *) 0x200 + POISON_POINTER_DELTA)
  292. ^
  293. /usr/src/linux-headers-4.19.0-21-common/include/linux/list.h:697:13: note: i
  294. n expansion of macro ‘LIST_POISON2’
  295. n->pprev = LIST_POISON2;
  296. ^~~~~~~~~~~~
  297. In file included from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  298. bitmap.h:9,
  299. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  300. cpumask.h:12,
  301. from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  302. de/asm/paravirt.h:17,
  303. from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  304. de/asm/irqflags.h:72,
  305. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  306. irqflags.h:16,
  307. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  308. rcupdate.h:39,
  309. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  310. rculist.h:11,
  311. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  312. pid.h:5,
  313. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  314. sched.h:14,
  315. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  316. utsname.h:6,
  317. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  318. c/nv/nv-linux.h:25,
  319. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  320. c/nv/nv.c:13:
  321. /usr/src/linux-headers-4.19.0-21-common/include/linux/string.h: In function
  322. ‘memcpy_and_pad’:
  323. /usr/src/linux-headers-4.19.0-21-common/include/linux/string.h:490:15: warni
  324. ng: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  325. memset(dest + count, pad, dest_len - count);
  326. ^
  327. In file included from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  328. thread_info.h:39,
  329. from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  330. de/asm/preempt.h:7,
  331. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  332. preempt.h:81,
  333. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  334. rcupdate.h:40,
  335. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  336. rculist.h:11,
  337. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  338. pid.h:5,
  339. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  340. sched.h:14,
  341. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  342. utsname.h:6,
  343. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  344. c/nv/nv-linux.h:25,
  345. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  346. c/nv/nv.c:13:
  347. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/thread_info.h:
  348. In function ‘arch_within_stack_frames’:
  349. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/thread_info.h:2
  350. 10:11: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-a
  351. rith]
  352. if (obj + len <= frame)
  353. ^
  354. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/thread_info.h:2
  355. 11:27: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-a
  356. rith]
  357. return obj >= oldframe + 2 * sizeof(void *) ?
  358. ^
  359. In file included from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  360. de/asm/current.h:5,
  361. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  362. sched.h:12,
  363. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  364. utsname.h:6,
  365. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  366. c/nv/nv-linux.h:25,
  367. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  368. c/nv/nv.c:13:
  369. /usr/src/linux-headers-4.19.0-21-common/include/linux/thread_info.h: In func
  370. tion ‘check_copy_size’:
  371. /usr/src/linux-headers-4.19.0-21-common/include/linux/thread_info.h:154:29:
  372. warning: comparison of integer expressions of different signedness: ‘int\E2\80
  373. \99 and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare]
  374. if (unlikely(sz >= 0 && sz < bytes)) {
  375. ^
  376. /usr/src/linux-headers-4.19.0-21-common/include/linux/compiler.h:77:42: note
  377. : in definition of macro ‘unlikely’
  378. # define unlikely(x) __builtin_expect(!!(x), 0)
  379. ^
  380. In file included from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  381. list.h:7,
  382. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  383. rculist.h:10,
  384. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  385. pid.h:5,
  386. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  387. sched.h:14,
  388. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  389. utsname.h:6,
  390. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  391. c/nv/nv-linux.h:25,
  392. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  393. c/nv/nv.c:13:
  394. /usr/src/linux-headers-4.19.0-21-common/include/linux/rculist.h: In function
  395. ‘list_del_rcu’:
  396. /usr/src/linux-headers-4.19.0-21-common/include/linux/poison.h:24:39: warnin
  397. g: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  398. #define LIST_POISON2 ((void *) 0x200 + POISON_POINTER_DELTA)
  399. ^
  400. /usr/src/linux-headers-4.19.0-21-common/include/linux/rculist.h:131:16: note
  401. : in expansion of macro ‘LIST_POISON2’
  402. entry->prev = LIST_POISON2;
  403. ^~~~~~~~~~~~
  404. /usr/src/linux-headers-4.19.0-21-common/include/linux/rculist.h: In function
  405. ‘list_replace_rcu’:
  406. /usr/src/linux-headers-4.19.0-21-common/include/linux/poison.h:24:39: warnin
  407. g: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  408. #define LIST_POISON2 ((void *) 0x200 + POISON_POINTER_DELTA)
  409. ^
  410. /usr/src/linux-headers-4.19.0-21-common/include/linux/rculist.h:177:14: note
  411. : in expansion of macro ‘LIST_POISON2’
  412. old->prev = LIST_POISON2;
  413. ^~~~~~~~~~~~
  414. /usr/src/linux-headers-4.19.0-21-common/include/linux/rculist.h: In function
  415. ‘hlist_del_rcu’:
  416. /usr/src/linux-headers-4.19.0-21-common/include/linux/poison.h:24:39: warnin
  417. g: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  418. #define LIST_POISON2 ((void *) 0x200 + POISON_POINTER_DELTA)
  419. ^
  420. /usr/src/linux-headers-4.19.0-21-common/include/linux/rculist.h:458:13: note
  421. : in expansion of macro ‘LIST_POISON2’
  422. n->pprev = LIST_POISON2;
  423. ^~~~~~~~~~~~
  424. /usr/src/linux-headers-4.19.0-21-common/include/linux/rculist.h: In function
  425. ‘hlist_replace_rcu’:
  426. /usr/src/linux-headers-4.19.0-21-common/include/linux/poison.h:24:39: warnin
  427. g: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  428. #define LIST_POISON2 ((void *) 0x200 + POISON_POINTER_DELTA)
  429. ^
  430. /usr/src/linux-headers-4.19.0-21-common/include/linux/rculist.h:478:15: note
  431. : in expansion of macro ‘LIST_POISON2’
  432. old->pprev = LIST_POISON2;
  433. ^~~~~~~~~~~~
  434. In file included from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  435. de/asm/current.h:5,
  436. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  437. sched.h:12,
  438. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  439. utsname.h:6,
  440. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  441. c/nv/nv-linux.h:25,
  442. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  443. c/nv/nv.c:13:
  444. /usr/src/linux-headers-4.19.0-21-common/include/asm-generic/qrwlock.h: In fu
  445. nction ‘queued_write_trylock’:
  446. /usr/src/linux-headers-4.19.0-21-common/include/asm-generic/qrwlock.h:75:36:
  447. warning: comparison of integer expressions of different signedness: ‘int\E2\80
  448. \99 and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
  449. cnts, cnts | _QW_LOCKED) == cnts);
  450. ^~
  451. /usr/src/linux-headers-4.19.0-21-common/include/linux/compiler.h:76:40: note
  452. : in definition of macro ‘likely’
  453. # define likely(x) __builtin_expect(!!(x), 1)
  454. ^
  455. In file included from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  456. de/asm/percpu.h:45,
  457. from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  458. de/asm/current.h:6,
  459. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  460. sched.h:12,
  461. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  462. utsname.h:6,
  463. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  464. c/nv/nv-linux.h:25,
  465. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  466. c/nv/nv.c:13:
  467. /usr/src/linux-headers-4.19.0-21-common/include/linux/jiffies.h: In function
  468. ‘jiffies_delta_to_clock_t’:
  469. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:871:24: warni
  470. ng: invalid application of ‘sizeof’ to a void type [-Wpointer-arith]
  471. (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
  472. ^
  473. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:874:25: note:
  474. in expansion of macro ‘__is_constexpr’
  475. (__is_constexpr(x) && __is_constexpr(y))
  476. ^~~~~~~~~~~~~~
  477. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:877:25: note:
  478. in expansion of macro ‘__no_side_effects’
  479. (__typecheck(x, y) && __no_side_effects(x, y))
  480. ^~~~~~~~~~~~~~~~~
  481. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:887:24: note:
  482. in expansion of macro ‘__safe_cmp’
  483. __builtin_choose_expr(__safe_cmp(x, y), \
  484. ^~~~~~~~~~
  485. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:903:19: note:
  486. in expansion of macro ‘__careful_cmp’
  487. #define max(x, y) __careful_cmp(x, y, >)
  488. ^~~~~~~~~~~~~
  489. /usr/src/linux-headers-4.19.0-21-common/include/linux/jiffies.h:447:28: note
  490. : in expansion of macro ‘max’
  491. return jiffies_to_clock_t(max(0L, delta));
  492. ^~~
  493. /usr/src/linux-headers-4.19.0-21-common/include/linux/jiffies.h: In function
  494. ‘jiffies_delta_to_msecs’:
  495. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:871:24: warni
  496. ng: invalid application of ‘sizeof’ to a void type [-Wpointer-arith]
  497. (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
  498. ^
  499. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:874:25: note:
  500. in expansion of macro ‘__is_constexpr’
  501. (__is_constexpr(x) && __is_constexpr(y))
  502. ^~~~~~~~~~~~~~
  503. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:877:25: note:
  504. in expansion of macro ‘__no_side_effects’
  505. (__typecheck(x, y) && __no_side_effects(x, y))
  506. ^~~~~~~~~~~~~~~~~
  507. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:887:24: note:
  508. in expansion of macro ‘__safe_cmp’
  509. __builtin_choose_expr(__safe_cmp(x, y), \
  510. ^~~~~~~~~~
  511. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:903:19: note:
  512. in expansion of macro ‘__careful_cmp’
  513. #define max(x, y) __careful_cmp(x, y, >)
  514. ^~~~~~~~~~~~~
  515. /usr/src/linux-headers-4.19.0-21-common/include/linux/jiffies.h:452:26: note
  516. : in expansion of macro ‘max’
  517. return jiffies_to_msecs(max(0L, delta));
  518. ^~~
  519. /usr/src/linux-headers-4.19.0-21-common/include/linux/workqueue.h: In functi
  520. on ‘to_delayed_work’:
  521. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:1018:19: warn
  522. ing: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  523. ((type *)(__mptr - offsetof(type, member))); })
  524. ^
  525. /usr/src/linux-headers-4.19.0-21-common/include/linux/workqueue.h:160:9: not
  526. e: in expansion of macro ‘container_of’
  527. return container_of(work, struct delayed_work, work);
  528. ^~~~~~~~~~~~
  529. /usr/src/linux-headers-4.19.0-21-common/include/linux/workqueue.h: In functi
  530. on ‘to_rcu_work’:
  531. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:1018:19: warn
  532. ing: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  533. ((type *)(__mptr - offsetof(type, member))); })
  534. ^
  535. /usr/src/linux-headers-4.19.0-21-common/include/linux/workqueue.h:165:9: not
  536. e: in expansion of macro ‘container_of’
  537. return container_of(work, struct rcu_work, work);
  538. ^~~~~~~~~~~~
  539. /usr/src/linux-headers-4.19.0-21-common/include/linux/plist.h: In function \E2
  540. \80\98plist_first’:
  541. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:1018:19: warn
  542. ing: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  543. ((type *)(__mptr - offsetof(type, member))); })
  544. ^
  545. /usr/src/linux-headers-4.19.0-21-common/include/linux/list.h:396:2: note: in
  546. expansion of macro ‘container_of’
  547. container_of(ptr, type, member)
  548. ^~~~~~~~~~~~
  549. /usr/src/linux-headers-4.19.0-21-common/include/linux/plist.h:284:9: note: i
  550. n expansion of macro ‘list_entry’
  551. return list_entry(head->node_list.next,
  552. ^~~~~~~~~~
  553. /usr/src/linux-headers-4.19.0-21-common/include/linux/plist.h: In function \E2
  554. \80\98plist_last’:
  555. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:1018:19: warn
  556. ing: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  557. ((type *)(__mptr - offsetof(type, member))); })
  558. ^
  559. /usr/src/linux-headers-4.19.0-21-common/include/linux/list.h:396:2: note: in
  560. expansion of macro ‘container_of’
  561. container_of(ptr, type, member)
  562. ^~~~~~~~~~~~
  563. /usr/src/linux-headers-4.19.0-21-common/include/linux/plist.h:296:9: note: i
  564. n expansion of macro ‘list_entry’
  565. return list_entry(head->node_list.prev,
  566. ^~~~~~~~~~
  567. /usr/src/linux-headers-4.19.0-21-common/include/linux/nodemask.h: In functio
  568. n ‘__first_node’:
  569. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:871:24: warni
  570. ng: invalid application of ‘sizeof’ to a void type [-Wpointer-arith]
  571. (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
  572. ^
  573. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:874:25: note:
  574. in expansion of macro ‘__is_constexpr’
  575. (__is_constexpr(x) && __is_constexpr(y))
  576. ^~~~~~~~~~~~~~
  577. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:877:25: note:
  578. in expansion of macro ‘__no_side_effects’
  579. (__typecheck(x, y) && __no_side_effects(x, y))
  580. ^~~~~~~~~~~~~~~~~
  581. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:887:24: note:
  582. in expansion of macro ‘__safe_cmp’
  583. __builtin_choose_expr(__safe_cmp(x, y), \
  584. ^~~~~~~~~~
  585. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:955:27: note:
  586. in expansion of macro ‘__careful_cmp’
  587. #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <)
  588. ^~~~~~~~~~~~~
  589. /usr/src/linux-headers-4.19.0-21-common/include/linux/nodemask.h:265:9: note
  590. : in expansion of macro ‘min_t’
  591. return min_t(unsigned int, MAX_NUMNODES, find_first_bit(srcp->bits, MAX_NU
  592. MNODES));
  593. ^~~~~
  594. /usr/src/linux-headers-4.19.0-21-common/include/linux/nodemask.h: In functio
  595. n ‘__next_node’:
  596. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:871:24: warni
  597. ng: invalid application of ‘sizeof’ to a void type [-Wpointer-arith]
  598. (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
  599. ^
  600. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:874:25: note:
  601. in expansion of macro ‘__is_constexpr’
  602. (__is_constexpr(x) && __is_constexpr(y))
  603. ^~~~~~~~~~~~~~
  604. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:877:25: note:
  605. in expansion of macro ‘__no_side_effects’
  606. (__typecheck(x, y) && __no_side_effects(x, y))
  607. ^~~~~~~~~~~~~~~~~
  608. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:887:24: note:
  609. in expansion of macro ‘__safe_cmp’
  610. __builtin_choose_expr(__safe_cmp(x, y), \
  611. ^~~~~~~~~~
  612. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:955:27: note:
  613. in expansion of macro ‘__careful_cmp’
  614. #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <)
  615. ^~~~~~~~~~~~~
  616. /usr/src/linux-headers-4.19.0-21-common/include/linux/nodemask.h:271:9: note
  617. : in expansion of macro ‘min_t’
  618. return min_t(unsigned int, MAX_NUMNODES, find_next_bit(srcp->bits, MAX_NUM
  619. NODES, n+1));
  620. ^~~~~
  621. /usr/src/linux-headers-4.19.0-21-common/include/linux/nodemask.h: In functio
  622. n ‘__first_unset_node’:
  623. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:871:24: warni
  624. ng: invalid application of ‘sizeof’ to a void type [-Wpointer-arith]
  625. (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
  626. ^
  627. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:874:25: note:
  628. in expansion of macro ‘__is_constexpr’
  629. (__is_constexpr(x) && __is_constexpr(y))
  630. ^~~~~~~~~~~~~~
  631. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:877:25: note:
  632. in expansion of macro ‘__no_side_effects’
  633. (__typecheck(x, y) && __no_side_effects(x, y))
  634. ^~~~~~~~~~~~~~~~~
  635. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:887:24: note:
  636. in expansion of macro ‘__safe_cmp’
  637. __builtin_choose_expr(__safe_cmp(x, y), \
  638. ^~~~~~~~~~
  639. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:955:27: note:
  640. in expansion of macro ‘__careful_cmp’
  641. #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <)
  642. ^~~~~~~~~~~~~
  643. /usr/src/linux-headers-4.19.0-21-common/include/linux/nodemask.h:301:9: note
  644. : in expansion of macro ‘min_t’
  645. return min_t(unsigned int, MAX_NUMNODES,
  646. ^~~~~
  647. /usr/src/linux-headers-4.19.0-21-common/include/linux/timerqueue.h: In funct
  648. ion ‘timerqueue_getnext’:
  649. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:1018:19: warn
  650. ing: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  651. ((type *)(__mptr - offsetof(type, member))); })
  652. ^
  653. /usr/src/linux-headers-4.19.0-21-common/include/linux/rbtree.h:66:37: note:
  654. in expansion of macro ‘container_of’
  655. #define rb_entry(ptr, type, member) container_of(ptr, type, member)
  656. ^~~~~~~~~~~~
  657. /usr/src/linux-headers-4.19.0-21-common/include/linux/timerqueue.h:38:9: not
  658. e: in expansion of macro ‘rb_entry’
  659. return rb_entry(leftmost, struct timerqueue_node, node);
  660. ^~~~~~~~
  661. In file included from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  662. de/asm/current.h:5,
  663. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  664. sched.h:12,
  665. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  666. utsname.h:6,
  667. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  668. c/nv/nv-linux.h:25,
  669. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  670. c/nv/nv.c:13:
  671. /usr/src/linux-headers-4.19.0-21-common/include/linux/mmzone.h: In function
  672. ‘next_zones_zonelist’:
  673. /usr/src/linux-headers-4.19.0-21-common/include/linux/mmzone.h:990:44: warni
  674. ng: comparison of integer expressions of different signedness: ‘int’ and
  675. ‘enum zone_type’ [-Wsign-compare]
  676. if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
  677. ^~
  678. /usr/src/linux-headers-4.19.0-21-common/include/linux/compiler.h:76:40: note
  679. : in definition of macro ‘likely’
  680. # define likely(x) __builtin_expect(!!(x), 1)
  681. ^
  682. In file included from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  683. de/asm/percpu.h:45,
  684. from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  685. de/asm/current.h:6,
  686. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  687. sched.h:12,
  688. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  689. utsname.h:6,
  690. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  691. c/nv/nv-linux.h:25,
  692. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  693. c/nv/nv.c:13:
  694. /usr/src/linux-headers-4.19.0-21-common/include/linux/kobject.h: In function
  695. ‘to_kset’:
  696. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:1018:19: warn
  697. ing: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  698. ((type *)(__mptr - offsetof(type, member))); })
  699. ^
  700. /usr/src/linux-headers-4.19.0-21-common/include/linux/kobject.h:208:16: note
  701. : in expansion of macro ‘container_of’
  702. return kobj ? container_of(kobj, struct kset, kobj) : NULL;
  703. ^~~~~~~~~~~~
  704. /usr/src/linux-headers-4.19.0-21-common/include/linux/rbtree_latch.h: In fun
  705. ction ‘__lt_from_rb’:
  706. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:1018:19: warn
  707. ing: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  708. ((type *)(__mptr - offsetof(type, member))); })
  709. ^
  710. /usr/src/linux-headers-4.19.0-21-common/include/linux/rbtree_latch.h:72:9: n
  711. ote: in expansion of macro ‘container_of’
  712. return container_of(node, struct latch_tree_node, node[idx]);
  713. ^~~~~~~~~~~~
  714. In file included from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  715. de/asm/current.h:6,
  716. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  717. sched.h:12,
  718. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  719. utsname.h:6,
  720. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  721. c/nv/nv-linux.h:25,
  722. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  723. c/nv/nv.c:13:
  724. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-refcount.h: In
  725. function ‘percpu_ref_get_many’:
  726. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/percpu.h:131:31
  727. : warning: comparison of integer expressions of different signedness: ‘lon
  728. g unsigned int’ and ‘int’ [-Wsign-compare]
  729. ((val) == 1 || (val) == -1)) ? \
  730. ^~
  731. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/percpu.h:420:34
  732. : note: in expansion of macro ‘percpu_add_op’
  733. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  734. ^~~~~~~~~~~~~
  735. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:378:11:
  736. note: in expansion of macro ‘this_cpu_add_1’
  737. case 1: stem##1(variable, __VA_ARGS__);break; \
  738. ^~~~
  739. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:510:33:
  740. note: in expansion of macro ‘__pcpu_size_call’
  741. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  742. ^~~~~~~~~~~~~~~~
  743. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-refcount.h:183:
  744. 3: note: in expansion of macro ‘this_cpu_add’
  745. this_cpu_add(*percpu_count, nr);
  746. ^~~~~~~~~~~~
  747. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/percpu.h:131:31
  748. : warning: comparison of integer expressions of different signedness: ‘lon
  749. g unsigned int’ and ‘int’ [-Wsign-compare]
  750. ((val) == 1 || (val) == -1)) ? \
  751. ^~
  752. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/percpu.h:421:34
  753. : note: in expansion of macro ‘percpu_add_op’
  754. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  755. ^~~~~~~~~~~~~
  756. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:379:11:
  757. note: in expansion of macro ‘this_cpu_add_2’
  758. case 2: stem##2(variable, __VA_ARGS__);break; \
  759. ^~~~
  760. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:510:33:
  761. note: in expansion of macro ‘__pcpu_size_call’
  762. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  763. ^~~~~~~~~~~~~~~~
  764. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-refcount.h:183:
  765. 3: note: in expansion of macro ‘this_cpu_add’
  766. this_cpu_add(*percpu_count, nr);
  767. ^~~~~~~~~~~~
  768. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/percpu.h:131:31
  769. : warning: comparison of integer expressions of different signedness: ‘lon
  770. g unsigned int’ and ‘int’ [-Wsign-compare]
  771. ((val) == 1 || (val) == -1)) ? \
  772. ^~
  773. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/percpu.h:422:34
  774. : note: in expansion of macro ‘percpu_add_op’
  775. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  776. ^~~~~~~~~~~~~
  777. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:380:11:
  778. note: in expansion of macro ‘this_cpu_add_4’
  779. case 4: stem##4(variable, __VA_ARGS__);break; \
  780. ^~~~
  781. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:510:33:
  782. note: in expansion of macro ‘__pcpu_size_call’
  783. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  784. ^~~~~~~~~~~~~~~~
  785. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-refcount.h:183:
  786. 3: note: in expansion of macro ‘this_cpu_add’
  787. this_cpu_add(*percpu_count, nr);
  788. ^~~~~~~~~~~~
  789. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-refcount.h: In
  790. function ‘percpu_ref_put_many’:
  791. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/percpu.h:131:31
  792. : warning: comparison of integer expressions of different signedness: ‘lon
  793. g unsigned int’ and ‘int’ [-Wsign-compare]
  794. ((val) == 1 || (val) == -1)) ? \
  795. ^~
  796. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/percpu.h:420:34
  797. : note: in expansion of macro ‘percpu_add_op’
  798. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  799. ^~~~~~~~~~~~~
  800. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:378:11:
  801. note: in expansion of macro ‘this_cpu_add_1’
  802. case 1: stem##1(variable, __VA_ARGS__);break; \
  803. ^~~~
  804. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:510:33:
  805. note: in expansion of macro ‘__pcpu_size_call’
  806. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  807. ^~~~~~~~~~~~~~~~
  808. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:520:33:
  809. note: in expansion of macro ‘this_cpu_add’
  810. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  811. ^~~~~~~~~~~~
  812. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-refcount.h:282:
  813. 3: note: in expansion of macro ‘this_cpu_sub’
  814. this_cpu_sub(*percpu_count, nr);
  815. ^~~~~~~~~~~~
  816. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/percpu.h:131:31
  817. : warning: comparison of integer expressions of different signedness: ‘lon
  818. g unsigned int’ and ‘int’ [-Wsign-compare]
  819. ((val) == 1 || (val) == -1)) ? \
  820. ^~
  821. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/percpu.h:421:34
  822. : note: in expansion of macro ‘percpu_add_op’
  823. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  824. ^~~~~~~~~~~~~
  825. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:379:11:
  826. note: in expansion of macro ‘this_cpu_add_2’
  827. case 2: stem##2(variable, __VA_ARGS__);break; \
  828. ^~~~
  829. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:510:33:
  830. note: in expansion of macro ‘__pcpu_size_call’
  831. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  832. ^~~~~~~~~~~~~~~~
  833. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:520:33:
  834. note: in expansion of macro ‘this_cpu_add’
  835. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  836. ^~~~~~~~~~~~
  837. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-refcount.h:282:
  838. 3: note: in expansion of macro ‘this_cpu_sub’
  839. this_cpu_sub(*percpu_count, nr);
  840. ^~~~~~~~~~~~
  841. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/percpu.h:131:31
  842. : warning: comparison of integer expressions of different signedness: ‘lon
  843. g unsigned int’ and ‘int’ [-Wsign-compare]
  844. ((val) == 1 || (val) == -1)) ? \
  845. ^~
  846. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/percpu.h:422:34
  847. : note: in expansion of macro ‘percpu_add_op’
  848. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  849. ^~~~~~~~~~~~~
  850. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:380:11:
  851. note: in expansion of macro ‘this_cpu_add_4’
  852. case 4: stem##4(variable, __VA_ARGS__);break; \
  853. ^~~~
  854. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:510:33:
  855. note: in expansion of macro ‘__pcpu_size_call’
  856. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  857. ^~~~~~~~~~~~~~~~
  858. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:520:33:
  859. note: in expansion of macro ‘this_cpu_add’
  860. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  861. ^~~~~~~~~~~~
  862. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-refcount.h:282:
  863. 3: note: in expansion of macro ‘this_cpu_sub’
  864. this_cpu_sub(*percpu_count, nr);
  865. ^~~~~~~~~~~~
  866. In file included from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  867. page_ref.h:7,
  868. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  869. mm.h:26,
  870. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  871. c/nv/nv-linux.h:67,
  872. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  873. c/nv/nv.c:13:
  874. /usr/src/linux-headers-4.19.0-21-common/include/linux/page-flags.h: In funct
  875. ion ‘PagePoisoned’:
  876. /usr/src/linux-headers-4.19.0-21-common/include/linux/page-flags.h:162:21: w
  877. arning: comparison of integer expressions of different signedness: ‘long u
  878. nsigned int’ and ‘long int’ [-Wsign-compare]
  879. return page->flags == PAGE_POISON_PATTERN;
  880. ^~
  881. In file included from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  882. list.h:7,
  883. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  884. rculist.h:10,
  885. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  886. pid.h:5,
  887. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  888. sched.h:14,
  889. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  890. utsname.h:6,
  891. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  892. c/nv/nv-linux.h:25,
  893. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  894. c/nv/nv.c:13:
  895. /usr/src/linux-headers-4.19.0-21-common/include/linux/list_bl.h: In function
  896. ‘hlist_bl_del’:
  897. /usr/src/linux-headers-4.19.0-21-common/include/linux/poison.h:23:39: warnin
  898. g: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  899. #define LIST_POISON1 ((void *) 0x100 + POISON_POINTER_DELTA)
  900. ^
  901. /usr/src/linux-headers-4.19.0-21-common/include/linux/list_bl.h:108:12: note
  902. : in expansion of macro ‘LIST_POISON1’
  903. n->next = LIST_POISON1;
  904. ^~~~~~~~~~~~
  905. /usr/src/linux-headers-4.19.0-21-common/include/linux/poison.h:24:39: warnin
  906. g: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  907. #define LIST_POISON2 ((void *) 0x200 + POISON_POINTER_DELTA)
  908. ^
  909. /usr/src/linux-headers-4.19.0-21-common/include/linux/list_bl.h:109:13: note
  910. : in expansion of macro ‘LIST_POISON2’
  911. n->pprev = LIST_POISON2;
  912. ^~~~~~~~~~~~
  913. /usr/src/linux-headers-4.19.0-21-common/include/linux/rculist_bl.h: In funct
  914. ion ‘hlist_bl_del_rcu’:
  915. /usr/src/linux-headers-4.19.0-21-common/include/linux/poison.h:24:39: warnin
  916. g: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  917. #define LIST_POISON2 ((void *) 0x200 + POISON_POINTER_DELTA)
  918. ^
  919. /usr/src/linux-headers-4.19.0-21-common/include/linux/rculist_bl.h:77:13: no
  920. te: in expansion of macro ‘LIST_POISON2’
  921. n->pprev = LIST_POISON2;
  922. ^~~~~~~~~~~~
  923. In file included from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  924. de/asm/current.h:6,
  925. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  926. sched.h:12,
  927. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  928. utsname.h:6,
  929. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  930. c/nv/nv-linux.h:25,
  931. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  932. c/nv/nv.c:13:
  933. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-rwsem.h: In fun
  934. ction ‘percpu_up_read_preempt_enable’:
  935. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/percpu.h:131:31
  936. : warning: comparison of integer expressions of different signedness: ‘uns
  937. igned int’ and ‘int’ [-Wsign-compare]
  938. ((val) == 1 || (val) == -1)) ? \
  939. ^~
  940. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/percpu.h:401:34
  941. : note: in expansion of macro ‘percpu_add_op’
  942. #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  943. ^~~~~~~~~~~~~
  944. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:378:11:
  945. note: in expansion of macro ‘raw_cpu_add_1’
  946. case 1: stem##1(variable, __VA_ARGS__);break; \
  947. ^~~~
  948. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:423:32:
  949. note: in expansion of macro ‘__pcpu_size_call’
  950. #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  951. ^~~~~~~~~~~~~~~~
  952. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:459:2: n
  953. ote: in expansion of macro ‘raw_cpu_add’
  954. raw_cpu_add(pcp, val); \
  955. ^~~~~~~~~~~
  956. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:497:34:
  957. note: in expansion of macro ‘__this_cpu_add’
  958. #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  959. ^~~~~~~~~~~~~~
  960. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:499:30:
  961. note: in expansion of macro ‘__this_cpu_sub’
  962. #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  963. ^~~~~~~~~~~~~~
  964. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-rwsem.h:97:3: n
  965. ote: in expansion of macro ‘__this_cpu_dec’
  966. __this_cpu_dec(*sem->read_count);
  967. ^~~~~~~~~~~~~~
  968. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/percpu.h:131:31
  969. : warning: comparison of integer expressions of different signedness: ‘uns
  970. igned int’ and ‘int’ [-Wsign-compare]
  971. ((val) == 1 || (val) == -1)) ? \
  972. ^~
  973. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/percpu.h:402:34
  974. : note: in expansion of macro ‘percpu_add_op’
  975. #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  976. ^~~~~~~~~~~~~
  977. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:379:11:
  978. note: in expansion of macro ‘raw_cpu_add_2’
  979. case 2: stem##2(variable, __VA_ARGS__);break; \
  980. ^~~~
  981. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:423:32:
  982. note: in expansion of macro ‘__pcpu_size_call’
  983. #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  984. ^~~~~~~~~~~~~~~~
  985. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:459:2: n
  986. ote: in expansion of macro ‘raw_cpu_add’
  987. raw_cpu_add(pcp, val); \
  988. ^~~~~~~~~~~
  989. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:497:34:
  990. note: in expansion of macro ‘__this_cpu_add’
  991. #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  992. ^~~~~~~~~~~~~~
  993. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:499:30:
  994. note: in expansion of macro ‘__this_cpu_sub’
  995. #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  996. ^~~~~~~~~~~~~~
  997. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-rwsem.h:97:3: n
  998. ote: in expansion of macro ‘__this_cpu_dec’
  999. __this_cpu_dec(*sem->read_count);
  1000. ^~~~~~~~~~~~~~
  1001. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/percpu.h:131:31
  1002. : warning: comparison of integer expressions of different signedness: ‘uns
  1003. igned int’ and ‘int’ [-Wsign-compare]
  1004. ((val) == 1 || (val) == -1)) ? \
  1005. ^~
  1006. /usr/src/linux-headers-4.19.0-21-common/arch/x86/include/asm/percpu.h:403:34
  1007. : note: in expansion of macro ‘percpu_add_op’
  1008. #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  1009. ^~~~~~~~~~~~~
  1010. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:380:11:
  1011. note: in expansion of macro ‘raw_cpu_add_4’
  1012. case 4: stem##4(variable, __VA_ARGS__);break; \
  1013. ^~~~
  1014. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:423:32:
  1015. note: in expansion of macro ‘__pcpu_size_call’
  1016. #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1017. ^~~~~~~~~~~~~~~~
  1018. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:459:2: n
  1019. ote: in expansion of macro ‘raw_cpu_add’
  1020. raw_cpu_add(pcp, val); \
  1021. ^~~~~~~~~~~
  1022. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:497:34:
  1023. note: in expansion of macro ‘__this_cpu_add’
  1024. #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1025. ^~~~~~~~~~~~~~
  1026. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-defs.h:499:30:
  1027. note: in expansion of macro ‘__this_cpu_sub’
  1028. #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1029. ^~~~~~~~~~~~~~
  1030. /usr/src/linux-headers-4.19.0-21-common/include/linux/percpu-rwsem.h:97:3: n
  1031. ote: in expansion of macro ‘__this_cpu_dec’
  1032. __this_cpu_dec(*sem->read_count);
  1033. ^~~~~~~~~~~~~~
  1034. In file included from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1035. huge_mm.h:8,
  1036. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1037. mm.h:499,
  1038. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1039. c/nv/nv-linux.h:67,
  1040. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1041. c/nv/nv.c:13:
  1042. /usr/src/linux-headers-4.19.0-21-common/include/linux/fs.h: In function ‘u
  1043. ncached_acl_sentinel’:
  1044. /usr/src/linux-headers-4.19.0-21-common/include/linux/fs.h:571:22: warning:
  1045. pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1046. return (void *)task + 1;
  1047. ^
  1048. In file included from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  1049. de/asm/paravirt.h:17,
  1050. from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  1051. de/asm/irqflags.h:72,
  1052. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1053. irqflags.h:16,
  1054. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1055. rcupdate.h:39,
  1056. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1057. rculist.h:11,
  1058. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1059. pid.h:5,
  1060. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1061. sched.h:14,
  1062. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1063. utsname.h:6,
  1064. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1065. c/nv/nv-linux.h:25,
  1066. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1067. c/nv/nv.c:13:
  1068. /usr/src/linux-headers-4.19.0-21-common/include/linux/vmstat.h: In function
  1069. ‘zone_page_state_snapshot’:
  1070. /usr/src/linux-headers-4.19.0-21-common/include/linux/cpumask.h:243:9: warni
  1071. ng: comparison of integer expressions of different signedness: ‘int’ and
  1072. ‘unsigned int’ [-Wsign-compare]
  1073. (cpu) < nr_cpu_ids;)
  1074. ^
  1075. /usr/src/linux-headers-4.19.0-21-common/include/linux/cpumask.h:778:36: note
  1076. : in expansion of macro ‘for_each_cpu’
  1077. #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  1078. ^~~~~~~~~~~~
  1079. /usr/src/linux-headers-4.19.0-21-common/include/linux/vmstat.h:221:2: note:
  1080. in expansion of macro ‘for_each_online_cpu’
  1081. for_each_online_cpu(cpu)
  1082. ^~~~~~~~~~~~~~~~~~~
  1083. In file included from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  1084. de/asm/percpu.h:45,
  1085. from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  1086. de/asm/current.h:6,
  1087. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1088. sched.h:12,
  1089. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1090. utsname.h:6,
  1091. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1092. c/nv/nv-linux.h:25,
  1093. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1094. c/nv/nv.c:13:
  1095. /usr/src/linux-headers-4.19.0-21-common/include/linux/mm.h: In function ‘g
  1096. et_mm_hiwater_rss’:
  1097. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:871:24: warni
  1098. ng: invalid application of ‘sizeof’ to a void type [-Wpointer-arith]
  1099. (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
  1100. ^
  1101. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:874:4: note:
  1102. in expansion of macro ‘__is_constexpr’
  1103. (__is_constexpr(x) && __is_constexpr(y))
  1104. ^~~~~~~~~~~~~~
  1105. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:877:25: note:
  1106. in expansion of macro ‘__no_side_effects’
  1107. (__typecheck(x, y) && __no_side_effects(x, y))
  1108. ^~~~~~~~~~~~~~~~~
  1109. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:887:24: note:
  1110. in expansion of macro ‘__safe_cmp’
  1111. __builtin_choose_expr(__safe_cmp(x, y), \
  1112. ^~~~~~~~~~
  1113. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:903:19: note:
  1114. in expansion of macro ‘__careful_cmp’
  1115. #define max(x, y) __careful_cmp(x, y, >)
  1116. ^~~~~~~~~~~~~
  1117. /usr/src/linux-headers-4.19.0-21-common/include/linux/mm.h:1685:9: note: in
  1118. expansion of macro ‘max’
  1119. return max(mm->hiwater_rss, get_mm_rss(mm));
  1120. ^~~
  1121. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:871:24: warni
  1122. ng: invalid application of ‘sizeof’ to a void type [-Wpointer-arith]
  1123. (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
  1124. ^
  1125. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:874:25: note:
  1126. in expansion of macro ‘__is_constexpr’
  1127. (__is_constexpr(x) && __is_constexpr(y))
  1128. ^~~~~~~~~~~~~~
  1129. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:877:25: note:
  1130. in expansion of macro ‘__no_side_effects’
  1131. (__typecheck(x, y) && __no_side_effects(x, y))
  1132. ^~~~~~~~~~~~~~~~~
  1133. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:887:24: note:
  1134. in expansion of macro ‘__safe_cmp’
  1135. __builtin_choose_expr(__safe_cmp(x, y), \
  1136. ^~~~~~~~~~
  1137. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:903:19: note:
  1138. in expansion of macro ‘__careful_cmp’
  1139. #define max(x, y) __careful_cmp(x, y, >)
  1140. ^~~~~~~~~~~~~
  1141. /usr/src/linux-headers-4.19.0-21-common/include/linux/mm.h:1685:9: note: in
  1142. expansion of macro ‘max’
  1143. return max(mm->hiwater_rss, get_mm_rss(mm));
  1144. ^~~
  1145. /usr/src/linux-headers-4.19.0-21-common/include/linux/mm.h: In function ‘g
  1146. et_mm_hiwater_vm’:
  1147. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:871:24: warni
  1148. ng: invalid application of ‘sizeof’ to a void type [-Wpointer-arith]
  1149. (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
  1150. ^
  1151. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:874:4: note:
  1152. in expansion of macro ‘__is_constexpr’
  1153. (__is_constexpr(x) && __is_constexpr(y))
  1154. ^~~~~~~~~~~~~~
  1155. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:877:25: note:
  1156. in expansion of macro ‘__no_side_effects’
  1157. (__typecheck(x, y) && __no_side_effects(x, y))
  1158. ^~~~~~~~~~~~~~~~~
  1159. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:887:24: note:
  1160. in expansion of macro ‘__safe_cmp’
  1161. __builtin_choose_expr(__safe_cmp(x, y), \
  1162. ^~~~~~~~~~
  1163. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:903:19: note:
  1164. in expansion of macro ‘__careful_cmp’
  1165. #define max(x, y) __careful_cmp(x, y, >)
  1166. ^~~~~~~~~~~~~
  1167. /usr/src/linux-headers-4.19.0-21-common/include/linux/mm.h:1690:9: note: in
  1168. expansion of macro ‘max’
  1169. return max(mm->hiwater_vm, mm->total_vm);
  1170. ^~~
  1171. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:871:24: warni
  1172. ng: invalid application of ‘sizeof’ to a void type [-Wpointer-arith]
  1173. (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
  1174. ^
  1175. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:874:25: note:
  1176. in expansion of macro ‘__is_constexpr’
  1177. (__is_constexpr(x) && __is_constexpr(y))
  1178. ^~~~~~~~~~~~~~
  1179. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:877:25: note:
  1180. in expansion of macro ‘__no_side_effects’
  1181. (__typecheck(x, y) && __no_side_effects(x, y))
  1182. ^~~~~~~~~~~~~~~~~
  1183. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:887:24: note:
  1184. in expansion of macro ‘__safe_cmp’
  1185. __builtin_choose_expr(__safe_cmp(x, y), \
  1186. ^~~~~~~~~~
  1187. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:903:19: note:
  1188. in expansion of macro ‘__careful_cmp’
  1189. #define max(x, y) __careful_cmp(x, y, >)
  1190. ^~~~~~~~~~~~~
  1191. /usr/src/linux-headers-4.19.0-21-common/include/linux/mm.h:1690:9: note: in
  1192. expansion of macro ‘max’
  1193. return max(mm->hiwater_vm, mm->total_vm);
  1194. ^~~
  1195. /usr/src/linux-headers-4.19.0-21-common/include/linux/device.h: In function
  1196. ‘kobj_to_dev’:
  1197. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:1018:19: warn
  1198. ing: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1199. ((type *)(__mptr - offsetof(type, member))); })
  1200. ^
  1201. /usr/src/linux-headers-4.19.0-21-common/include/linux/device.h:1055:9: note:
  1202. in expansion of macro ‘container_of’
  1203. return container_of(kobj, struct device, kobj);
  1204. ^~~~~~~~~~~~
  1205. In file included from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  1206. de/asm/sections.h:5,
  1207. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1208. interrupt.h:20,
  1209. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1210. pci.h:32,
  1211. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1212. c/nv/nv-linux.h:102,
  1213. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1214. c/nv/nv.c:13:
  1215. /usr/src/linux-headers-4.19.0-21-common/include/asm-generic/sections.h: In f
  1216. unction ‘memory_contains’:
  1217. /usr/src/linux-headers-4.19.0-21-common/include/asm-generic/sections.h:97:31
  1218. : warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1219. return virt >= begin && virt + size <= end;
  1220. ^
  1221. /usr/src/linux-headers-4.19.0-21-common/include/asm-generic/sections.h: In f
  1222. unction ‘memory_intersects’:
  1223. /usr/src/linux-headers-4.19.0-21-common/include/asm-generic/sections.h:114:2
  1224. 0: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith
  1225. ]
  1226. void *vend = virt + size;
  1227. ^
  1228. In file included from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  1229. de/asm/percpu.h:45,
  1230. from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  1231. de/asm/current.h:6,
  1232. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1233. sched.h:12,
  1234. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1235. utsname.h:6,
  1236. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1237. c/nv/nv-linux.h:25,
  1238. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1239. c/nv/nv.c:13:
  1240. /usr/src/linux-headers-4.19.0-21-common/include/linux/pci.h: In function ‘
  1241. pci_host_bridge_from_priv’:
  1242. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:1018:19: warn
  1243. ing: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1244. ((type *)(__mptr - offsetof(type, member))); })
  1245. ^
  1246. /usr/src/linux-headers-4.19.0-21-common/include/linux/pci.h:514:9: note: in
  1247. expansion of macro ‘container_of’
  1248. return container_of(priv, struct pci_host_bridge, private);
  1249. ^~~~~~~~~~~~
  1250. In file included from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1251. dmapool.h:14,
  1252. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1253. pci.h:1355,
  1254. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1255. c/nv/nv-linux.h:102,
  1256. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1257. c/nv/nv.c:13:
  1258. /usr/src/linux-headers-4.19.0-21-common/include/linux/scatterlist.h: In func
  1259. tion ‘sg_virt’:
  1260. /usr/src/linux-headers-4.19.0-21-common/include/linux/scatterlist.h:239:35:
  1261. warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1262. return page_address(sg_page(sg)) + sg->offset;
  1263. ^
  1264. In file included from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1265. c/nv/nv.c:13:
  1266. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-linux.h: At to
  1267. p level:
  1268. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-linux.h:126:2:
  1269. error: #error "struct file_operations compile test likely failed!"
  1270. #error "struct file_operations compile test likely failed!"
  1271. ^~~~~
  1272. In file included from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1273. vgaarb.h:34,
  1274. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1275. c/nv/nv-linux.h:130,
  1276. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1277. c/nv/nv.c:13:
  1278. /usr/src/linux-headers-4.19.0-21-common/include/video/vga.h: In function ‘
  1279. vga_mm_r’:
  1280. /usr/src/linux-headers-4.19.0-21-common/include/video/vga.h:220:24: warning:
  1281. pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1282. return readb (regbase + port);
  1283. ^
  1284. /usr/src/linux-headers-4.19.0-21-common/include/video/vga.h: In function ‘
  1285. vga_mm_w’:
  1286. /usr/src/linux-headers-4.19.0-21-common/include/video/vga.h:225:23: warning:
  1287. pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1288. writeb (val, regbase + port);
  1289. ^
  1290. /usr/src/linux-headers-4.19.0-21-common/include/video/vga.h: In function ‘
  1291. vga_mm_w_fast’:
  1292. /usr/src/linux-headers-4.19.0-21-common/include/video/vga.h:231:43: warning:
  1293. pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1294. writew (VGA_OUT16VAL (val, reg), regbase + port);
  1295. ^
  1296. In file included from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1297. c/nv/nv-linux.h:140,
  1298. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1299. c/nv/nv.c:13:
  1300. /usr/src/linux-headers-4.19.0-21-common/include/linux/highmem.h: In function
  1301. ‘zero_user_segments’:
  1302. /usr/src/linux-headers-4.19.0-21-common/include/linux/highmem.h:203:16: warn
  1303. ing: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1304. memset(kaddr + start1, 0, end1 - start1);
  1305. ^
  1306. /usr/src/linux-headers-4.19.0-21-common/include/linux/highmem.h:206:16: warn
  1307. ing: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1308. memset(kaddr + start2, 0, end2 - start2);
  1309. ^
  1310. In file included from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  1311. de/asm/percpu.h:45,
  1312. from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  1313. de/asm/current.h:6,
  1314. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1315. sched.h:12,
  1316. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1317. utsname.h:6,
  1318. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1319. c/nv/nv-linux.h:25,
  1320. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1321. c/nv/nv.c:13:
  1322. /usr/src/linux-headers-4.19.0-21-common/include/linux/irqdomain.h: In functi
  1323. on ‘irq_domain_get_of_node’:
  1324. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:1018:19: warn
  1325. ing: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1326. ((type *)(__mptr - offsetof(type, member))); })
  1327. ^
  1328. /usr/src/linux-headers-4.19.0-21-common/include/linux/of.h:167:4: note: in e
  1329. xpansion of macro ‘container_of’
  1330. container_of(__to_of_node_fwnode, \
  1331. ^~~~~~~~~~~~
  1332. /usr/src/linux-headers-4.19.0-21-common/include/linux/irqdomain.h:222:9: not
  1333. e: in expansion of macro ‘to_of_node’
  1334. return to_of_node(d->fwnode);
  1335. ^~~~~~~~~~
  1336. /usr/src/linux-headers-4.19.0-21-common/include/linux/i2c.h: In function ‘
  1337. kobj_to_i2c_client’:
  1338. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:1018:19: warn
  1339. ing: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1340. ((type *)(__mptr - offsetof(type, member))); })
  1341. ^
  1342. /usr/src/linux-headers-4.19.0-21-common/include/linux/i2c.h:352:30: note: in
  1343. expansion of macro ‘container_of’
  1344. struct device * const dev = container_of(kobj, struct device, kobj);
  1345. ^~~~~~~~~~~~
  1346. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:1018:19: warn
  1347. ing: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1348. ((type *)(__mptr - offsetof(type, member))); })
  1349. ^
  1350. /usr/src/linux-headers-4.19.0-21-common/include/linux/i2c.h:343:26: note: in
  1351. expansion of macro ‘container_of’
  1352. #define to_i2c_client(d) container_of(d, struct i2c_client, dev)
  1353. ^~~~~~~~~~~~
  1354. /usr/src/linux-headers-4.19.0-21-common/include/linux/i2c.h:353:9: note: in
  1355. expansion of macro ‘to_i2c_client’
  1356. return to_i2c_client(dev);
  1357. ^~~~~~~~~~~~~
  1358. /usr/src/linux-headers-4.19.0-21-common/include/linux/i2c.h: In function ‘
  1359. i2c_parent_is_i2c_adapter’:
  1360. /usr/src/linux-headers-4.19.0-21-common/include/linux/kernel.h:1018:19: warn
  1361. ing: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1362. ((type *)(__mptr - offsetof(type, member))); })
  1363. ^
  1364. /usr/src/linux-headers-4.19.0-21-common/include/linux/i2c.h:699:27: note: in
  1365. expansion of macro ‘container_of’
  1366. #define to_i2c_adapter(d) container_of(d, struct i2c_adapter, dev)
  1367. ^~~~~~~~~~~~
  1368. /usr/src/linux-headers-4.19.0-21-common/include/linux/i2c.h:718:10: note: in
  1369. expansion of macro ‘to_i2c_adapter’
  1370. return to_i2c_adapter(parent);
  1371. ^~~~~~~~~~~~~~
  1372. In file included from /usr/src/linux-headers-4.19.0-21-common/include/acpi/p
  1373. latform/acenv.h:152,
  1374. from /usr/src/linux-headers-4.19.0-21-common/include/acpi/a
  1375. cpi.h:22,
  1376. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1377. c/nv/nv-linux.h:209,
  1378. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1379. c/nv/nv.c:13:
  1380. /usr/src/linux-headers-4.19.0-21-common/include/acpi/platform/aclinux.h: At
  1381. top level:
  1382. /usr/src/linux-headers-4.19.0-21-common/include/acpi/platform/aclinux.h:18:2
  1383. : error: #error "Please don't include <acpi/acpi.h> directly, include <linux
  1384. /acpi.h> instead."
  1385. #error "Please don't include <acpi/acpi.h> directly, include <linux/acpi.h>
  1386. instead."
  1387. ^~~~~
  1388. In file included from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1389. c/nv/nv-linux.h:210,
  1390. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1391. c/nv/nv.c:13:
  1392. /usr/src/linux-headers-4.19.0-21-common/include/acpi/acpi_drivers.h:95:43: w
  1393. arning: ‘struct acpi_pci_root’ declared inside parameter list will not b
  1394. e visible outside of this definition or declaration
  1395. struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
  1396. ^~~~~~~~~~~~~
  1397. In file included from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1398. c/nv/nv.c:13:
  1399. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-linux.h:217:4:
  1400. warning: "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined, evaluates t
  1401. o 0 [-Wundef]
  1402. (NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT == 6)
  1403. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1404. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-linux.h:219:8:
  1405. warning: "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined, evaluates t
  1406. o 0 [-Wundef]
  1407. #elif (NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT == 7)
  1408. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1409. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-linux.h:225:2:
  1410. error: #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
  1411. #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
  1412. ^~~~~
  1413. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-linux.h:230:4:
  1414. warning: "NV_ACPI_OS_WAIT_EVENTS_COMPLETE_ARGUMENT_COUNT" is not defined, ev
  1415. aluates to 0 [-Wundef]
  1416. (NV_ACPI_OS_WAIT_EVENTS_COMPLETE_ARGUMENT_COUNT == 1)
  1417. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1418. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-linux.h:233:8:
  1419. warning: "NV_ACPI_OS_WAIT_EVENTS_COMPLETE_ARGUMENT_COUNT" is not defined, ev
  1420. aluates to 0 [-Wundef]
  1421. #elif (NV_ACPI_OS_WAIT_EVENTS_COMPLETE_ARGUMENT_COUNT == 0)
  1422. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1423. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c: In function
  1424. ‘nv_kern_read_text_file’:
  1425. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:692:12: erro
  1426. r: void value not ignored as it ought to be
  1427. return seq_puts(s, s->private);
  1428. ^~~~~~~~~~~~~~~~~~~~~~~
  1429. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c: In function
  1430. ‘nv_kern_cpu_callback’:
  1431. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:1265:14: err
  1432. or: ‘CPU_DOWN_FAILED’ undeclared (first use in this function); did you m
  1433. ean ‘ACPI_RASF_FAILED’?
  1434. case CPU_DOWN_FAILED:
  1435. ^~~~~~~~~~~~~~~
  1436. ACPI_RASF_FAILED
  1437. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:1265:14: not
  1438. e: each undeclared identifier is reported only once for each function it app
  1439. ears in
  1440. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:1272:14: err
  1441. or: ‘CPU_DOWN_PREPARE’ undeclared (first use in this function); did you
  1442. mean ‘CPU_UP_PREPARE’?
  1443. case CPU_DOWN_PREPARE:
  1444. ^~~~~~~~~~~~~~~~
  1445. CPU_UP_PREPARE
  1446. In file included from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1447. c/nv/nv.c:13:
  1448. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c: In function
  1449. ‘nvidia_init_module’:
  1450. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-linux.h:295:34
  1451. : error: implicit declaration of function ‘register_cpu_notifier’; did y
  1452. ou mean ‘register_hotcpu_notifier’? [-Werror=implicit-function-declarati
  1453. on]
  1454. #define register_hotcpu_notifier register_cpu_notifier
  1455. ^~~~~~~~~~~~~~~~~~~~~
  1456. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:1539:17: not
  1457. e: in expansion of macro ‘register_hotcpu_notifier’
  1458. if (register_hotcpu_notifier(&nv_hotcpu_nfb) != 0)
  1459. ^~~~~~~~~~~~~~~~~~~~~~~~
  1460. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c: In function
  1461. ‘nvidia_exit_module’:
  1462. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-linux.h:292:36
  1463. : error: implicit declaration of function ‘unregister_cpu_notifier’; did
  1464. you mean ‘unregister_hotcpu_notifier’? [-Werror=implicit-function-declar
  1465. ation]
  1466. #define unregister_hotcpu_notifier unregister_cpu_notifier
  1467. ^~~~~~~~~~~~~~~~~~~~~~~
  1468. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:1694:9: note
  1469. : in expansion of macro ‘unregister_hotcpu_notifier’
  1470. unregister_hotcpu_notifier(&nv_hotcpu_nfb);
  1471. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  1472. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c: In function
  1473. ‘nv_kern_ioctl’:
  1474. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:2646:26: war
  1475. ning: comparison of integer expressions of different signedness: ‘int’ a
  1476. nd ‘unsigned int’ [-Wsign-compare]
  1477. if (arg_size < (sizeof(*ci) * num_nv_devices))
  1478. ^
  1479. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c: In function
  1480. ‘nv_kern_unlocked_ioctl’:
  1481. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:2749:32: err
  1482. or: ‘struct file’ has no member named ‘f_dentry’; did you mean ‘f_
  1483. owner’?
  1484. return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg);
  1485. ^~~~~~~~
  1486. f_owner
  1487. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c: In function
  1488. ‘nv_kern_compat_ioctl’:
  1489. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:2758:32: err
  1490. or: ‘struct file’ has no member named ‘f_dentry’; did you mean ‘f_
  1491. owner’?
  1492. return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg);
  1493. ^~~~~~~~
  1494. f_owner
  1495. In file included from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1496. c/nv/nv.c:13:
  1497. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c: In function
  1498. ‘nv_get_phys_address’:
  1499. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:3537:34: err
  1500. or: passing argument 1 of ‘pud_offset’ from incompatible pointer type [-
  1501. Werror=incompatible-pointer-types]
  1502. pmd = NV_PMD_OFFSET(address, pgd);
  1503. ^~~
  1504. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-linux.h:1085:2
  1505. 8: note: in definition of macro ‘NV_PMD_OFFSET’
  1506. __pud = pud_offset(pgd, address); \
  1507. ^~~
  1508. In file included from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  1509. de/asm/pgtable_types.h:348,
  1510. from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  1511. de/asm/paravirt.h:8,
  1512. from /usr/src/linux-headers-4.19.0-21-common/arch/x86/inclu
  1513. de/asm/irqflags.h:72,
  1514. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1515. irqflags.h:16,
  1516. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1517. rcupdate.h:39,
  1518. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1519. rculist.h:11,
  1520. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1521. pid.h:5,
  1522. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1523. sched.h:14,
  1524. from /usr/src/linux-headers-4.19.0-21-common/include/linux/
  1525. utsname.h:6,
  1526. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1527. c/nv/nv-linux.h:25,
  1528. from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1529. c/nv/nv.c:13:
  1530. /usr/src/linux-headers-4.19.0-21-common/include/asm-generic/pgtable-nopud.h:
  1531. 44:40: note: expected ‘p4d_t *’ {aka ‘struct <anonymous> *’} but arg
  1532. ument is of type ‘pgd_t *’ {aka ‘struct <anonymous> *’}
  1533. static inline pud_t *pud_offset(p4d_t *p4d, unsigned long address)
  1534. ~~~~~~~^~~
  1535. In file included from /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  1536. c/nv/nv.c:13:
  1537. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c: In function
  1538. ‘nv_lock_rm’:
  1539. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-linux.h:261:35
  1540. : error: implicit declaration of function ‘spin_unlock_wait’; did you me
  1541. an ‘spin_unlock_irq’? [-Werror=implicit-function-declaration]
  1542. #define NV_SPIN_UNLOCK_WAIT(lock) spin_unlock_wait(lock)
  1543. ^~~~~~~~~~~~~~~~
  1544. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:3827:5: note
  1545. : in expansion of macro ‘NV_SPIN_UNLOCK_WAIT’
  1546. NV_SPIN_UNLOCK_WAIT(&nvl->rm_lock);
  1547. ^~~~~~~~~~~~~~~~~~~
  1548. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c: In function
  1549. ‘nv_start_rc_timer’:
  1550. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:4135:5: erro
  1551. r: implicit declaration of function ‘init_timer’; did you mean ‘init_t
  1552. imers’? [-Werror=implicit-function-declaration]
  1553. init_timer(&nvl->rc_timer);
  1554. ^~~~~~~~~~
  1555. init_timers
  1556. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:4136:28: err
  1557. or: assignment to ‘void (*)(struct timer_list *)’ from incompatible poin
  1558. ter type ‘void (*)(long unsigned int)’ [-Werror=incompatible-pointer-typ
  1559. es]
  1560. nvl->rc_timer.function = nv_kern_rc_timer;
  1561. ^
  1562. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:4137:18: err
  1563. or: ‘struct timer_list’ has no member named ‘data’
  1564. nvl->rc_timer.data = (unsigned long) nv;
  1565. ^
  1566. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c: In function
  1567. ‘nv_kern_read_text_file’:
  1568. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:693:1: error
  1569. : control reaches end of non-void function [-Werror=return-type]
  1570. }
  1571. ^
  1572. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c: In function
  1573. ‘nv_kern_unlocked_ioctl’:
  1574. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:2750:1: erro
  1575. r: control reaches end of non-void function [-Werror=return-type]
  1576. }
  1577. ^
  1578. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c: In function
  1579. ‘nv_kern_compat_ioctl’:
  1580. /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:2759:1: erro
  1581. r: control reaches end of non-void function [-Werror=return-type]
  1582. }
  1583. ^
  1584. cc1: some warnings being treated as errors
  1585. make[4]: *** [/usr/src/linux-headers-4.19.0-21-common/scripts/Makefile.build
  1586. :309: /tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.o] Error
  1587. 1
  1588. make[3]: *** [/usr/src/linux-headers-4.19.0-21-common/Makefile:1561: _module
  1589. _/tmp/selfgz1752/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv] Error 2
  1590. make[2]: *** [Makefile:146: sub-make] Error 2
  1591. NVIDIA: left KBUILD.
  1592. nvidia.ko failed to build!
  1593. make[1]: *** [Makefile:239: module] Error 1
  1594. make: *** [makefile:54: module] Error 2
  1595. -> Error.
  1596. ERROR: Unable to build the NVIDIA kernel module.
  1597. ERROR: Installation has failed. Please see the file
  1598. '/var/log/nvidia-installer.log' for details. You may find suggestions
  1599. on fixing installation problems in the README available on the Linux
  1600. driver download page at www.nvidia.com.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement