Guest User

nvidia173.14.39_installer-log

a guest
Jun 10th, 2015
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 148.84 KB | None | 0 0
  1. nvidia-installer log file '/var/log/nvidia-installer.log'
  2. creation time: Wed Jun 10 01:11:02 2015
  3. installer version: 1.0.7
  4.  
  5. PATH:
  6. /home/tc/.local/bin:/usr/local/sbin:/usr/local/bin:/apps/bin:/usr/sbin:/usr/bin
  7. :/sbin:/bin:/etc/sysconfig/tcedir/ondemand
  8.  
  9. option status:
  10. license pre-accepted : false
  11. update : false
  12. force update : false
  13. expert : false
  14. uninstall : false
  15. driver info : false
  16. precompiled interfaces : true
  17. no ncurses color : false
  18. query latest version : false
  19. OpenGL header files : true
  20. no questions : false
  21. silent : false
  22. no recursion : false
  23. no backup : false
  24. kernel module only : false
  25. sanity : false
  26. add this kernel : false
  27. no runlevel check : false
  28. no network : false
  29. no ABI note : false
  30. no RPMs : false
  31. no kernel module : false
  32. force SELinux : default
  33. no X server check : false
  34. no cc version check : false
  35. run distro scripts : true
  36. no nouveau check : false
  37. run nvidia-xconfig : false
  38. sigwinch work around : true
  39. force tls : (not specified)
  40. X install prefix : (not specified)
  41. X library install path : (not specified)
  42. X module install path : (not specified)
  43. OpenGL install prefix : (not specified)
  44. OpenGL install libdir : (not specified)
  45. utility install prefix : (not specified)
  46. utility install libdir : (not specified)
  47. installer prefix : (not specified)
  48. doc install prefix : (not specified)
  49. kernel name : (not specified)
  50. kernel include path : (not specified)
  51. kernel source path : /usr/src/linux-3.16.6
  52. kernel output path : (not specified)
  53. kernel install path : (not specified)
  54. precompiled kernel interfaces path : (not specified)
  55. precompiled kernel interfaces url : (not specified)
  56. proc mount point : /proc
  57. ui : (not specified)
  58. tmpdir : /tmp
  59. ftp mirror : ftp://download.nvidia.com
  60. RPM file list : (not specified)
  61. selinux chcon type : (not specified)
  62.  
  63. Using: nvidia-installer ncurses user interface
  64. WARNING: Skipping the runlevel check (the utility `runlevel` was not found).
  65. -> License accepted.
  66. -> Installing NVIDIA driver version 173.14.39.
  67. -> Performing CC sanity check with CC="cc".
  68. -> Performing CC version check with CC="cc".
  69. -> Using the kernel source path '/usr/src/linux-3.16.6' as specified by the
  70. '--kernel-source-path' commandline option.
  71. -> Kernel source path: '/usr/src/linux-3.16.6'
  72. -> Kernel output path: '/usr/src/linux-3.16.6'
  73. -> Performing rivafb check.
  74. -> Performing nvidiafb check.
  75. -> Performing Xen check.
  76. -> Cleaning kernel module build directory.
  77. executing: 'cd ./usr/src/nv; make clean'...
  78. -> Building kernel module:
  79. executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux-3.16.6 SYSOUT
  80. =/usr/src/linux-3.16.6'...
  81. NVIDIA: calling KBUILD...
  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/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.tmp_ve
  92. rsions ; rm -f /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.
  93. tmp_versions/*
  94. make -f scripts/Makefile.build obj=/tmp/selfgz10250/NVIDIA-Linux-x86-173.14.
  95. 39-pkg1/usr/src/nv
  96. cc -Wp,-MD,/tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.nv
  97. .o.d -nostdinc -isystem /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc-li
  98. nux-gnu/4.9.1/include -I./arch/x86/include -Iarch/x86/include/generated -Ii
  99. nclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./inclu
  100. de/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__
  101. KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasi
  102. ng -fno-common -Werror-implicit-function-declaration -Wno-format-security -m
  103. 32 -msoft-float -mregparm=3 -freg-struct-return -mno-mmx -mno-sse -fno-pic -
  104. mpreferred-stack-boundary=2 -march=i486 -mtune=generic -maccumulate-outgoing
  105. -args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_
  106. SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AV
  107. X=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tabl
  108. es -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-
  109. checks -Os -Wno-maybe-uninitialized -Wframe-larger-than=1024 -fno-stack-prot
  110. ector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-as
  111. signments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overfl
  112. ow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=d
  113. ate-time -DCC_HAVE_ASM_GOTO -I/tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pk
  114. g1/usr/src/nv -Wall -Wimplicit -Wret
  115. urn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -
  116. Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNE
  117. L__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14.39\" -UDEBUG -U_DEBUG -DNDE
  118. BUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"K
  119. BUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz10250/NVIDIA-Linux-x86-17
  120. 3.14.39-pkg1/usr/src/nv/nv.o /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg
  121. 1/usr/src/nv/nv.c
  122. In file included from include/linux/bitops.h:33:0,
  123. from include/linux/kernel.h:10,
  124. from include/linux/sched.h:17,
  125. from include/linux/utsname.h:5,
  126. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  127. rc/nv/nv-linux.h:25,
  128. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  129. rc/nv/nv.c:13:
  130. ./arch/x86/include/asm/bitops.h: In function 'set_bit':
  131. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  132. d in arithmetic [-Wpointer-arith]
  133. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  134. ^
  135. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  136. DDR'
  137. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  138. ^
  139. ./arch/x86/include/asm/bitops.h:76:6: note: in expansion of macro 'CONST_MAS
  140. K_ADDR'
  141. : CONST_MASK_ADDR(nr, addr)
  142. ^
  143. ./arch/x86/include/asm/bitops.h: In function 'clear_bit':
  144. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  145. d in arithmetic [-Wpointer-arith]
  146. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  147. ^
  148. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  149. DDR'
  150. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  151. ^
  152. ./arch/x86/include/asm/bitops.h:114:6: note: in expansion of macro 'CONST_MA
  153. SK_ADDR'
  154. : CONST_MASK_ADDR(nr, addr)
  155. ^
  156. ./arch/x86/include/asm/bitops.h: In function 'change_bit':
  157. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  158. d in arithmetic [-Wpointer-arith]
  159. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  160. ^
  161. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  162. DDR'
  163. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  164. ^
  165. ./arch/x86/include/asm/bitops.h:187:6: note: in expansion of macro 'CONST_MA
  166. SK_ADDR'
  167. : CONST_MASK_ADDR(nr, addr)
  168. ^
  169. In file included from include/linux/list.h:6:0,
  170. from include/linux/preempt.h:10,
  171. from include/linux/spinlock.h:50,
  172. from include/linux/seqlock.h:35,
  173. from include/linux/time.h:5,
  174. from include/uapi/linux/timex.h:56,
  175. from include/linux/timex.h:56,
  176. from include/linux/sched.h:19,
  177. from include/linux/utsname.h:5,
  178. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  179. rc/nv/nv-linux.h:25,
  180. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  181. rc/nv/nv.c:13:
  182. include/linux/list.h: In function 'list_del':
  183. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  184. hmetic [-Wpointer-arith]
  185. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  186. ^
  187. include/linux/list.h:107:16: note: in expansion of macro 'LIST_POISON1'
  188. entry->next = LIST_POISON1;
  189. ^
  190. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  191. hmetic [-Wpointer-arith]
  192. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  193. ^
  194. include/linux/list.h:108:16: note: in expansion of macro 'LIST_POISON2'
  195. entry->prev = LIST_POISON2;
  196. ^
  197. include/linux/list.h: In function 'hlist_del':
  198. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  199. hmetic [-Wpointer-arith]
  200. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  201. ^
  202. include/linux/list.h:625:12: note: in expansion of macro 'LIST_POISON1'
  203. n->next = LIST_POISON1;
  204. ^
  205. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  206. hmetic [-Wpointer-arith]
  207. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  208. ^
  209. include/linux/list.h:626:13: note: in expansion of macro 'LIST_POISON2'
  210. n->pprev = LIST_POISON2;
  211. ^
  212. In file included from include/uapi/linux/stddef.h:1:0,
  213. from include/linux/stddef.h:4,
  214. from ./include/uapi/linux/posix_types.h:4,
  215. from include/uapi/linux/types.h:13,
  216. from include/linux/types.h:5,
  217. from include/uapi/linux/capability.h:16,
  218. from include/linux/capability.h:15,
  219. from include/linux/sched.h:15,
  220. from include/linux/utsname.h:5,
  221. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  222. rc/nv/nv-linux.h:25,
  223. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  224. rc/nv/nv.c:13:
  225. include/asm-generic/qrwlock.h: In function 'queue_write_trylock':
  226. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and
  227. unsigned integer expressions [-Wsign-compare]
  228. cnts, cnts | _QW_LOCKED) == cnts);
  229. ^
  230. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  231. # define likely(x) __builtin_expect(!!(x), 1)
  232. ^
  233. In file included from include/linux/list.h:6:0,
  234. from include/linux/preempt.h:10,
  235. from include/linux/spinlock.h:50,
  236. from include/linux/seqlock.h:35,
  237. from include/linux/time.h:5,
  238. from include/uapi/linux/timex.h:56,
  239. from include/linux/timex.h:56,
  240. from include/linux/sched.h:19,
  241. from include/linux/utsname.h:5,
  242. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  243. rc/nv/nv-linux.h:25,
  244. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  245. rc/nv/nv.c:13:
  246. include/linux/rculist.h: In function 'list_del_rcu':
  247. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  248. hmetic [-Wpointer-arith]
  249. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  250. ^
  251. include/linux/rculist.h:132:16: note: in expansion of macro 'LIST_POISON2'
  252. entry->prev = LIST_POISON2;
  253. ^
  254. include/linux/rculist.h: In function 'list_replace_rcu':
  255. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  256. hmetic [-Wpointer-arith]
  257. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  258. ^
  259. include/linux/rculist.h:178:14: note: in expansion of macro 'LIST_POISON2'
  260. old->prev = LIST_POISON2;
  261. ^
  262. include/linux/rculist.h: In function 'hlist_del_rcu':
  263. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  264. hmetic [-Wpointer-arith]
  265. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  266. ^
  267. include/linux/rculist.h:346:13: note: in expansion of macro 'LIST_POISON2'
  268. n->pprev = LIST_POISON2;
  269. ^
  270. include/linux/rculist.h: In function 'hlist_replace_rcu':
  271. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  272. hmetic [-Wpointer-arith]
  273. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  274. ^
  275. include/linux/rculist.h:366:15: note: in expansion of macro 'LIST_POISON2'
  276. old->pprev = LIST_POISON2;
  277. ^
  278. In file included from include/linux/utsname.h:5:0,
  279. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  280. rc/nv/nv-linux.h:25,
  281. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  282. rc/nv/nv.c:13:
  283. include/linux/sched.h: In function 'object_is_on_stack':
  284. include/linux/sched.h:2621:41: warning: pointer of type 'void *' used in ari
  285. thmetic [-Wpointer-arith]
  286. return (obj >= stack) && (obj < (stack + THREAD_SIZE));
  287. ^
  288. In file included from include/linux/list.h:6:0,
  289. from include/linux/preempt.h:10,
  290. from include/linux/spinlock.h:50,
  291. from include/linux/seqlock.h:35,
  292. from include/linux/time.h:5,
  293. from include/uapi/linux/timex.h:56,
  294. from include/linux/timex.h:56,
  295. from include/linux/sched.h:19,
  296. from include/linux/utsname.h:5,
  297. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  298. rc/nv/nv-linux.h:25,
  299. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  300. rc/nv/nv.c:13:
  301. include/linux/list_bl.h: In function 'hlist_bl_del':
  302. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  303. hmetic [-Wpointer-arith]
  304. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  305. ^
  306. include/linux/list_bl.h:106:12: note: in expansion of macro 'LIST_POISON1'
  307. n->next = LIST_POISON1;
  308. ^
  309. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  310. hmetic [-Wpointer-arith]
  311. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  312. ^
  313. include/linux/list_bl.h:107:13: note: in expansion of macro 'LIST_POISON2'
  314. n->pprev = LIST_POISON2;
  315. ^
  316. include/linux/rculist_bl.h: In function 'hlist_bl_del_rcu':
  317. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  318. hmetic [-Wpointer-arith]
  319. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  320. ^
  321. include/linux/rculist_bl.h:76:13: note: in expansion of macro 'LIST_POISON2'
  322. n->pprev = LIST_POISON2;
  323. ^
  324. In file included from include/uapi/linux/stddef.h:1:0,
  325. from include/linux/stddef.h:4,
  326. from ./include/uapi/linux/posix_types.h:4,
  327. from include/uapi/linux/types.h:13,
  328. from include/linux/types.h:5,
  329. from include/uapi/linux/capability.h:16,
  330. from include/linux/capability.h:15,
  331. from include/linux/sched.h:15,
  332. from include/linux/utsname.h:5,
  333. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  334. rc/nv/nv-linux.h:25,
  335. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  336. rc/nv/nv.c:13:
  337. ./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
  338. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed
  339. and unsigned integer expressions [-Wsign-compare]
  340. if (likely(sz < 0 || sz >= n))
  341. ^
  342. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  343. # define likely(x) __builtin_expect(!!(x), 1)
  344. ^
  345. ./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
  346. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed
  347. and unsigned integer expressions [-Wsign-compare]
  348. if (likely(sz < 0 || sz >= n))
  349. ^
  350. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  351. # define likely(x) __builtin_expect(!!(x), 1)
  352. ^
  353. In file included from include/linux/dma-mapping.h:9:0,
  354. from include/asm-generic/pci-dma-compat.h:7,
  355. from ./arch/x86/include/asm/pci.h:118,
  356. from include/linux/pci.h:1413,
  357. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  358. rc/nv/nv-linux.h:102,
  359. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  360. rc/nv/nv.c:13:
  361. include/linux/scatterlist.h: In function 'sg_virt':
  362. include/linux/scatterlist.h:220:35: warning: pointer of type 'void *' used i
  363. n arithmetic [-Wpointer-arith]
  364. return page_address(sg_page(sg)) + sg->offset;
  365. ^
  366. In file included from ./arch/x86/include/asm/dma-mapping.h:44:0,
  367. from include/linux/dma-mapping.h:82,
  368. from include/asm-generic/pci-dma-compat.h:7,
  369. from ./arch/x86/include/asm/pci.h:118,
  370. from include/linux/pci.h:1413,
  371. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  372. rc/nv/nv-linux.h:102,
  373. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  374. rc/nv/nv.c:13:
  375. include/asm-generic/dma-mapping-common.h: In function 'dma_map_page':
  376. include/asm-generic/dma-mapping-common.h:78:48: warning: pointer of type 'vo
  377. id *' used in arithmetic [-Wpointer-arith]
  378. kmemcheck_mark_initialized(page_address(page) + offset, size);
  379. ^
  380. In file included from include/linux/vgaarb.h:34:0,
  381. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  382. rc/nv/nv-linux.h:130,
  383. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  384. rc/nv/nv.c:13:
  385. include/video/vga.h: In function 'vga_mm_r':
  386. include/video/vga.h:220:24: warning: pointer of type 'void *' used in arithm
  387. etic [-Wpointer-arith]
  388. return readb (regbase + port);
  389. ^
  390. include/video/vga.h: In function 'vga_mm_w':
  391. include/video/vga.h:225:23: warning: pointer of type 'void *' used in arithm
  392. etic [-Wpointer-arith]
  393. writeb (val, regbase + port);
  394. ^
  395. include/video/vga.h: In function 'vga_mm_w_fast':
  396. include/video/vga.h:231:43: warning: pointer of type 'void *' used in arithm
  397. etic [-Wpointer-arith]
  398. writew (VGA_OUT16VAL (val, reg), regbase + port);
  399. ^
  400. In file included from ./arch/x86/include/asm/string.h:2:0,
  401. from include/linux/string.h:17,
  402. from include/linux/dynamic_debug.h:111,
  403. from include/linux/printk.h:257,
  404. from include/linux/kernel.h:13,
  405. from include/linux/sched.h:17,
  406. from include/linux/utsname.h:5,
  407. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  408. rc/nv/nv-linux.h:25,
  409. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  410. rc/nv/nv.c:13:
  411. include/linux/highmem.h: In function 'zero_user_segments':
  412. include/linux/highmem.h:201:16: warning: pointer of type 'void *' used in ar
  413. ithmetic [-Wpointer-arith]
  414. memset(kaddr + start1, 0, end1 - start1);
  415. ^
  416. ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro 'mem
  417. set'
  418. #define memset(s, c, count) __builtin_memset(s, c, count)
  419. ^
  420. include/linux/highmem.h:204:16: warning: pointer of type 'void *' used in ar
  421. ithmetic [-Wpointer-arith]
  422. memset(kaddr + start2, 0, end2 - start2);
  423. ^
  424. ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro 'mem
  425. set'
  426. #define memset(s, c, count) __builtin_memset(s, c, count)
  427. ^
  428. In file included from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  429. rc/nv/nv-linux.h:210:0,
  430. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  431. rc/nv/nv.c:13:
  432. include/acpi/acpi_drivers.h: At top level:
  433. include/acpi/acpi_drivers.h:98:43: warning: 'struct acpi_pci_root' declared
  434. inside parameter list
  435. struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
  436. ^
  437. include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definitio
  438. n or declaration, which is probably not what you want
  439. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c: In functio
  440. n 'nv_kern_ioctl':
  441. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:2646:26: wa
  442. rning: comparison between signed and unsigned integer expressions [-Wsign-co
  443. mpare]
  444. if (arg_size < (sizeof(*ci) * num_nv_devices))
  445. ^
  446. cc -Wp,-MD,/tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.nv
  447. -vm.o.d -nostdinc -isystem /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-pc
  448. -linux-gnu/4.9.1/include -I./arch/x86/include -Iarch/x86/include/generated
  449. -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./in
  450. clude/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__K
  451. ERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasin
  452. g -fno-common -Werror-implicit-function-declaration -Wno-format-security -m3
  453. 2 -msoft-float -mregparm=3 -freg-struct-return -mno-mmx -mno-sse -fno-pic -m
  454. preferred-stack-boundary=2 -march=i486 -mtune=generic -maccumulate-outgoing-
  455. args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_S
  456. IGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX
  457. =1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-table
  458. s -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-c
  459. hecks -Os -Wno-maybe-uninitialized -Wframe-larger-than=1024 -fno-stack-prote
  460. ctor -Wno-unused-but-set-variable -fomi
  461. t-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement
  462. -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int
  463. -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -I/tmp/selfgz
  464. 10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-t
  465. ype -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-m
  466. ultichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -
  467. DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14.39\" -UDEBUG -U_DEBUG -DNDEBUG
  468. -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBU
  469. ILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz10250/NVIDIA-Linux-x86-173.
  470. 14.39-pkg1/usr/src/nv/nv-vm.o /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pk
  471. g1/usr/src/nv/nv-vm.c
  472. In file included from include/linux/bitops.h:33:0,
  473. from include/linux/kernel.h:10,
  474. from include/linux/sched.h:17,
  475. from include/linux/utsname.h:5,
  476. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  477. rc/nv/nv-linux.h:25,
  478. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  479. rc/nv/nv-vm.c:14:
  480. ./arch/x86/include/asm/bitops.h: In function 'set_bit':
  481. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  482. d in arithmetic [-Wpointer-arith]
  483. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  484. ^
  485. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  486. DDR'
  487. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  488. ^
  489. ./arch/x86/include/asm/bitops.h:76:6: note: in expansion of macro 'CONST_MAS
  490. K_ADDR'
  491. : CONST_MASK_ADDR(nr, addr)
  492. ^
  493. ./arch/x86/include/asm/bitops.h: In function 'clear_bit':
  494. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  495. d in arithmetic [-Wpointer-arith]
  496. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  497. ^
  498. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  499. DDR'
  500. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  501. ^
  502. ./arch/x86/include/asm/bitops.h:114:6: note: in expansion of macro 'CONST_MA
  503. SK_ADDR'
  504. : CONST_MASK_ADDR(nr, addr)
  505. ^
  506. ./arch/x86/include/asm/bitops.h: In function 'change_bit':
  507. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  508. d in arithmetic [-Wpointer-arith]
  509. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  510. ^
  511. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  512. DDR'
  513. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  514. ^
  515. ./arch/x86/include/asm/bitops.h:187:6: note: in expansion of macro 'CONST_MA
  516. SK_ADDR'
  517. : CONST_MASK_ADDR(nr, addr)
  518. ^
  519. In file included from include/linux/list.h:6:0,
  520. from include/linux/preempt.h:10,
  521. from include/linux/spinlock.h:50,
  522. from include/linux/seqlock.h:35,
  523. from include/linux/time.h:5,
  524. from include/uapi/linux/timex.h:56,
  525. from include/linux/timex.h:56,
  526. from include/linux/sched.h:19,
  527. from include/linux/utsname.h:5,
  528. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  529. rc/nv/nv-linux.h:25,
  530. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  531. rc/nv/nv-vm.c:14:
  532. include/linux/list.h: In function 'list_del':
  533. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  534. hmetic [-Wpointer-arith]
  535. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  536. ^
  537. include/linux/list.h:107:16: note: in expansion of macro 'LIST_POISON1'
  538. entry->next = LIST_POISON1;
  539. ^
  540. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  541. hmetic [-Wpointer-arith]
  542. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  543. ^
  544. include/linux/list.h:108:16: note: in expansion of macro 'LIST_POISON2'
  545. entry->prev = LIST_POISON2;
  546. ^
  547. include/linux/list.h: In function 'hlist_del':
  548. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  549. hmetic [-Wpointer-arith]
  550. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  551. ^
  552. include/linux/list.h:625:12: note: in expansion of macro 'LIST_POISON1'
  553. n->next = LIST_POISON1;
  554. ^
  555. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  556. hmetic [-Wpointer-arith]
  557. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  558. ^
  559. include/linux/list.h:626:13: note: in expansion of macro 'LIST_POISON2'
  560. n->pprev = LIST_POISON2;
  561. ^
  562. In file included from include/uapi/linux/stddef.h:1:0,
  563. from include/linux/stddef.h:4,
  564. from ./include/uapi/linux/posix_types.h:4,
  565. from include/uapi/linux/types.h:13,
  566. from include/linux/types.h:5,
  567. from include/uapi/linux/capability.h:16,
  568. from include/linux/capability.h:15,
  569. from include/linux/sched.h:15,
  570. from include/linux/utsname.h:5,
  571. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  572. rc/nv/nv-linux.h:25,
  573. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  574. rc/nv/nv-vm.c:14:
  575. include/asm-generic/qrwlock.h: In function 'queue_write_trylock':
  576. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and
  577. unsigned integer expressions [-Wsign-compare]
  578. cnts, cnts | _QW_LOCKED) == cnts);
  579. ^
  580. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  581. # define likely(x) __builtin_expect(!!(x), 1)
  582. ^
  583. In file included from include/linux/list.h:6:0,
  584. from include/linux/preempt.h:10,
  585. from include/linux/spinlock.h:50,
  586. from include/linux/seqlock.h:35,
  587. from include/linux/time.h:5,
  588. from include/uapi/linux/timex.h:56,
  589. from include/linux/timex.h:56,
  590. from include/linux/sched.h:19,
  591. from include/linux/utsname.h:5,
  592. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  593. rc/nv/nv-linux.h:25,
  594. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  595. rc/nv/nv-vm.c:14:
  596. include/linux/rculist.h: In function 'list_del_rcu':
  597. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  598. hmetic [-Wpointer-arith]
  599. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  600. ^
  601. include/linux/rculist.h:132:16: note: in expansion of macro 'LIST_POISON2'
  602. entry->prev = LIST_POISON2;
  603. ^
  604. include/linux/rculist.h: In function 'list_replace_rcu':
  605. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  606. hmetic [-Wpointer-arith]
  607. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  608. ^
  609. include/linux/rculist.h:178:14: note: in expansion of macro 'LIST_POISON2'
  610. old->prev = LIST_POISON2;
  611. ^
  612. include/linux/rculist.h: In function 'hlist_del_rcu':
  613. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  614. hmetic [-Wpointer-arith]
  615. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  616. ^
  617. include/linux/rculist.h:346:13: note: in expansion of macro 'LIST_POISON2'
  618. n->pprev = LIST_POISON2;
  619. ^
  620. include/linux/rculist.h: In function 'hlist_replace_rcu':
  621. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  622. hmetic [-Wpointer-arith]
  623. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  624. ^
  625. include/linux/rculist.h:366:15: note: in expansion of macro 'LIST_POISON2'
  626. old->pprev = LIST_POISON2;
  627. ^
  628. In file included from include/linux/utsname.h:5:0,
  629. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  630. rc/nv/nv-linux.h:25,
  631. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  632. rc/nv/nv-vm.c:14:
  633. include/linux/sched.h: In function 'object_is_on_stack':
  634. include/linux/sched.h:2621:41: warning: pointer of type 'void *' used in ari
  635. thmetic [-Wpointer-arith]
  636. return (obj >= stack) && (obj < (stack + THREAD_SIZE));
  637. ^
  638. In file included from include/linux/list.h:6:0,
  639. from include/linux/preempt.h:10,
  640. from include/linux/spinlock.h:50,
  641. from include/linux/seqlock.h:35,
  642. from include/linux/time.h:5,
  643. from include/uapi/linux/timex.h:56,
  644. from include/linux/timex.h:56,
  645. from include/linux/sched.h:19,
  646. from include/linux/utsname.h:5,
  647. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  648. rc/nv/nv-linux.h:25,
  649. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  650. rc/nv/nv-vm.c:14:
  651. include/linux/list_bl.h: In function 'hlist_bl_del':
  652. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  653. hmetic [-Wpointer-arith]
  654. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  655. ^
  656. include/linux/list_bl.h:106:12: note: in expansion of macro 'LIST_POISON1'
  657. n->next = LIST_POISON1;
  658. ^
  659. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  660. hmetic [-Wpointer-arith]
  661. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  662. ^
  663. include/linux/list_bl.h:107:13: note: in expansion of macro 'LIST_POISON2'
  664. n->pprev = LIST_POISON2;
  665. ^
  666. include/linux/rculist_bl.h: In function 'hlist_bl_del_rcu':
  667. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  668. hmetic [-Wpointer-arith]
  669. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  670. ^
  671. include/linux/rculist_bl.h:76:13: note: in expansion of macro 'LIST_POISON2'
  672. n->pprev = LIST_POISON2;
  673. ^
  674. In file included from include/uapi/linux/stddef.h:1:0,
  675. from include/linux/stddef.h:4,
  676. from ./include/uapi/linux/posix_types.h:4,
  677. from include/uapi/linux/types.h:13,
  678. from include/linux/types.h:5,
  679. from include/uapi/linux/capability.h:16,
  680. from include/linux/capability.h:15,
  681. from include/linux/sched.h:15,
  682. from include/linux/utsname.h:5,
  683. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  684. rc/nv/nv-linux.h:25,
  685. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  686. rc/nv/nv-vm.c:14:
  687. ./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
  688. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed
  689. and unsigned integer expressions [-Wsign-compare]
  690. if (likely(sz < 0 || sz >= n))
  691. ^
  692. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  693. # define likely(x) __builtin_expect(!!(x), 1)
  694. ^
  695. ./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
  696. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed
  697. and unsigned integer expressions [-Wsign-compare]
  698. if (likely(sz < 0 || sz >= n))
  699. ^
  700. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  701. # define likely(x) __builtin_expect(!!(x), 1)
  702. ^
  703. In file included from include/linux/dma-mapping.h:9:0,
  704. from include/asm-generic/pci-dma-compat.h:7,
  705. from ./arch/x86/include/asm/pci.h:118,
  706. from include/linux/pci.h:1413,
  707. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  708. rc/nv/nv-linux.h:102,
  709. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  710. rc/nv/nv-vm.c:14:
  711. include/linux/scatterlist.h: In function 'sg_virt':
  712. include/linux/scatterlist.h:220:35: warning: pointer of type 'void *' used i
  713. n arithmetic [-Wpointer-arith]
  714. return page_address(sg_page(sg)) + sg->offset;
  715. ^
  716. In file included from ./arch/x86/include/asm/dma-mapping.h:44:0,
  717. from include/linux/dma-mapping.h:82,
  718. from include/asm-generic/pci-dma-compat.h:7,
  719. from ./arch/x86/include/asm/pci.h:118,
  720. from include/linux/pci.h:1413,
  721. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  722. rc/nv/nv-linux.h:102,
  723. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  724. rc/nv/nv-vm.c:14:
  725. include/asm-generic/dma-mapping-common.h: In function 'dma_map_page':
  726. include/asm-generic/dma-mapping-common.h:78:48: warning: pointer of type 'vo
  727. id *' used in arithmetic [-Wpointer-arith]
  728. kmemcheck_mark_initialized(page_address(page) + offset, size);
  729. ^
  730. In file included from include/linux/vgaarb.h:34:0,
  731. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  732. rc/nv/nv-linux.h:130,
  733. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  734. rc/nv/nv-vm.c:14:
  735. include/video/vga.h: In function 'vga_mm_r':
  736. include/video/vga.h:220:24: warning: pointer of type 'void *' used in arithm
  737. etic [-Wpointer-arith]
  738. return readb (regbase + port);
  739. ^
  740. include/video/vga.h: In function 'vga_mm_w':
  741. include/video/vga.h:225:23: warning: pointer of type 'void *' used in arithm
  742. etic [-Wpointer-arith]
  743. writeb (val, regbase + port);
  744. ^
  745. include/video/vga.h: In function 'vga_mm_w_fast':
  746. include/video/vga.h:231:43: warning: pointer of type 'void *' used in arithm
  747. etic [-Wpointer-arith]
  748. writew (VGA_OUT16VAL (val, reg), regbase + port);
  749. ^
  750. In file included from ./arch/x86/include/asm/string.h:2:0,
  751. from include/linux/string.h:17,
  752. from include/linux/dynamic_debug.h:111,
  753. from include/linux/printk.h:257,
  754. from include/linux/kernel.h:13,
  755. from include/linux/sched.h:17,
  756. from include/linux/utsname.h:5,
  757. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  758. rc/nv/nv-linux.h:25,
  759. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  760. rc/nv/nv-vm.c:14:
  761. include/linux/highmem.h: In function 'zero_user_segments':
  762. include/linux/highmem.h:201:16: warning: pointer of type 'void *' used in ar
  763. ithmetic [-Wpointer-arith]
  764. memset(kaddr + start1, 0, end1 - start1);
  765. ^
  766. ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro 'mem
  767. set'
  768. #define memset(s, c, count) __builtin_memset(s, c, count)
  769. ^
  770. include/linux/highmem.h:204:16: warning: pointer of type 'void *' used in ar
  771. ithmetic [-Wpointer-arith]
  772. memset(kaddr + start2, 0, end2 - start2);
  773. ^
  774. ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro 'mem
  775. set'
  776. #define memset(s, c, count) __builtin_memset(s, c, count)
  777. ^
  778. In file included from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  779. rc/nv/nv-linux.h:210:0,
  780. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  781. rc/nv/nv-vm.c:14:
  782. include/acpi/acpi_drivers.h: At top level:
  783. include/acpi/acpi_drivers.h:98:43: warning: 'struct acpi_pci_root' declared
  784. inside parameter list
  785. struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
  786. ^
  787. include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definitio
  788. n or declaration, which is probably not what you want
  789. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-vm.c: In func
  790. tion 'nv_sg_map_buffer':
  791. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-vm.c:146:23:
  792. warning: assignment makes integer from pointer without a cast
  793. sg_ptr->page_link = virt_to_page(base);
  794. ^
  795. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-vm.c:231:1: w
  796. arning: label 'done' defined but not used [-Wunused-label]
  797. done:
  798. ^
  799. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-vm.c:139:16:
  800. warning: unused variable 'count' [-Wunused-variable]
  801. static int count = 0;
  802. ^
  803. cc -Wp,-MD,/tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.os
  804. -agp.o.d -nostdinc -isystem /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-p
  805. c-linux-gnu/4.9.1/include -I./arch/x86/include -Iarch/x86/include/generated
  806. -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./in
  807. clude/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__K
  808. ERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasin
  809. g -fno-common -
  810. Werror-implicit-function-declaration -Wno-format-security -m32 -msoft-float
  811. -mregparm=3 -freg-struct-return -mno-mmx -mno-sse -fno-pic -mpreferred-stack
  812. -boundary=2 -march=i486 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune
  813. =generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -
  814. DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_
  815. AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno
  816. -mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -Os -Wno-
  817. maybe-uninitialized -Wframe-larger-than=1024 -fno-stack-protector -Wno-unuse
  818. d-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdecl
  819. aration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-st
  820. ack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HA
  821. VE_ASM_GOTO -I/tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv -W
  822. all -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenthes
  823. es -Wpointer-arith -Wno-multichar -W
  824. error -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DN
  825. VRM -DNV_VERSION_STRING=\"173.14.39\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -
  826. D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAM
  827. E=KBUILD_STR(nvidia)" -c -o /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1
  828. /usr/src/nv/os-agp.o /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
  829. c/nv/os-agp.c
  830. In file included from include/linux/bitops.h:33:0,
  831. from include/linux/kernel.h:10,
  832. from include/linux/sched.h:17,
  833. from include/linux/utsname.h:5,
  834. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  835. rc/nv/nv-linux.h:25,
  836. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  837. rc/nv/os-agp.c:24:
  838. ./arch/x86/include/asm/bitops.h: In function 'set_bit':
  839. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  840. d in arithmetic [-Wpointer-arith]
  841. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  842. ^
  843. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  844. DDR'
  845. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  846. ^
  847. ./arch/x86/include/asm/bitops.h:76:6: note: in expansion of macro 'CONST_MAS
  848. K_ADDR'
  849. : CONST_MASK_ADDR(nr, addr)
  850. ^
  851. ./arch/x86/include/asm/bitops.h: In function 'clear_bit':
  852. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  853. d in arithmetic [-Wpointer-arith]
  854. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  855. ^
  856. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  857. DDR'
  858. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  859. ^
  860. ./arch/x86/include/asm/bitops.h:114:6: note: in expansion of macro 'CONST_MA
  861. SK_ADDR'
  862. : CONST_MASK_ADDR(nr, addr)
  863. ^
  864. ./arch/x86/include/asm/bitops.h: In function 'change_bit':
  865. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  866. d in arithmetic [-Wpointer-arith]
  867. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  868. ^
  869. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  870. DDR'
  871. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  872. ^
  873. ./arch/x86/include/asm/bitops.h:187:6: note: in expansion of macro 'CONST_MA
  874. SK_ADDR'
  875. : CONST_MASK_ADDR(nr, addr)
  876. ^
  877. In file included from include/linux/list.h:6:0,
  878. from include/linux/preempt.h:10,
  879. from include/linux/spinlock.h:50,
  880. from include/linux/seqlock.h:35,
  881. from include/linux/time.h:5,
  882. from include/uapi/linux/timex.h:56,
  883. from include/linux/timex.h:56,
  884. from include/linux/sched.h:19,
  885. from include/linux/utsname.h:5,
  886. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  887. rc/nv/nv-linux.h:25,
  888. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  889. rc/nv/os-agp.c:24:
  890. include/linux/list.h: In function 'list_del':
  891. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  892. hmetic [-Wpointer-arith]
  893. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  894. ^
  895. include/linux/list.h:107:16: note: in expansion of macro 'LIST_POISON1'
  896. entry->next = LIST_POISON1;
  897. ^
  898. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  899. hmetic [-Wpointer-arith]
  900. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  901. ^
  902. include/linux/list.h:108:16: note: in expansion of macro 'LIST_POISON2'
  903. entry->prev = LIST_POISON2;
  904. ^
  905. include/linux/list.h: In function 'hlist_del':
  906. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  907. hmetic [-Wpointer-arith]
  908. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  909. ^
  910. include/linux/list.h:625:12: note: in expansion of macro 'LIST_POISON1'
  911. n->next = LIST_POISON1;
  912. ^
  913. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  914. hmetic [-Wpointer-arith]
  915. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  916. ^
  917. include/linux/list.h:626:13: note: in expansion of macro 'LIST_POISON2'
  918. n->pprev = LIST_POISON2;
  919. ^
  920. In file included from include/uapi/linux/stddef.h:1:0,
  921. from include/linux/stddef.h:4,
  922. from ./include/uapi/linux/posix_types.h:4,
  923. from include/uapi/linux/types.h:13,
  924. from include/linux/types.h:5,
  925. from include/uapi/linux/capability.h:16,
  926. from include/linux/capability.h:15,
  927. from include/linux/sched.h:15,
  928. from include/linux/utsname.h:5,
  929. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  930. rc/nv/nv-linux.h:25,
  931. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  932. rc/nv/os-agp.c:24:
  933. include/asm-generic/qrwlock.h: In function 'queue_write_trylock':
  934. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and
  935. unsigned integer expressions [-Wsign-compare]
  936. cnts, cnts | _QW_LOCKED) == cnts);
  937. ^
  938. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  939. # define likely(x) __builtin_expect(!!(x), 1)
  940. ^
  941. In file included from include/linux/list.h:6:0,
  942. from include/linux/preempt.h:10,
  943. from include/linux/spinlock.h:50,
  944. from include/linux/seqlock.h:35,
  945. from include/linux/time.h:5,
  946. from include/uapi/linux/timex.h:56,
  947. from include/linux/timex.h:56,
  948. from include/linux/sched.h:19,
  949. from include/linux/utsname.h:5,
  950. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  951. rc/nv/nv-linux.h:25,
  952. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  953. rc/nv/os-agp.c:24:
  954. include/linux/rculist.h: In function 'list_del_rcu':
  955. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  956. hmetic [-Wpointer-arith]
  957. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  958. ^
  959. include/linux/rculist.h:132:16: note: in expansion of macro 'LIST_POISON2'
  960. entry->prev = LIST_POISON2;
  961. ^
  962. include/linux/rculist.h: In function 'list_replace_rcu':
  963. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  964. hmetic [-Wpointer-arith]
  965. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  966. ^
  967. include/linux/rculist.h:178:14: note: in expansion of macro 'LIST_POISON2'
  968. old->prev = LIST_POISON2;
  969. ^
  970. include/linux/rculist.h: In function 'hlist_del_rcu':
  971. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  972. hmetic [-Wpointer-arith]
  973. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  974. ^
  975. include/linux/rculist.h:346:13: note: in expansion of macro 'LIST_POISON2'
  976. n->pprev = LIST_POISON2;
  977. ^
  978. include/linux/rculist.h: In function 'hlist_replace_rcu':
  979. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  980. hmetic [-Wpointer-arith]
  981. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  982. ^
  983. include/linux/rculist.h:366:15: note: in expansion of macro 'LIST_POISON2'
  984. old->pprev = LIST_POISON2;
  985. ^
  986. In file included from include/linux/utsname.h:5:0,
  987. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  988. rc/nv/nv-linux.h:25,
  989. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  990. rc/nv/os-agp.c:24:
  991. include/linux/sched.h: In function 'object_is_on_stack':
  992. include/linux/sched.h:2621:41: warning: pointer of type 'void *' used in ari
  993. thmetic [-Wpointer-arith]
  994. return (obj >= stack) && (obj < (stack + THREAD_SIZE));
  995. ^
  996. In file included from include/linux/list.h:6:0,
  997. from include/linux/preempt.h:10,
  998. from include/linux/spinlock.h:50,
  999. from include/linux/seqlock.h:35,
  1000. from include/linux/time.h:5,
  1001. from include/uapi/linux/timex.h:56,
  1002. from include/linux/timex.h:56,
  1003. from include/linux/sched.h:19,
  1004. from include/linux/utsname.h:5,
  1005. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1006. rc/nv/nv-linux.h:25,
  1007. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1008. rc/nv/os-agp.c:24:
  1009. include/linux/list_bl.h: In function 'hlist_bl_del':
  1010. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  1011. hmetic [-Wpointer-arith]
  1012. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  1013. ^
  1014. include/linux/list_bl.h:106:12: note: in expansion of macro 'LIST_POISON1'
  1015. n->next = LIST_POISON1;
  1016. ^
  1017. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1018. hmetic [-Wpointer-arith]
  1019. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1020. ^
  1021. include/linux/list_bl.h:107:13: note: in expansion of macro 'LIST_POISON2'
  1022. n->pprev = LIST_POISON2;
  1023. ^
  1024. include/linux/rculist_bl.h: In function 'hlist_bl_del_rcu':
  1025. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1026. hmetic [-Wpointer-arith]
  1027. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1028. ^
  1029. include/linux/rculist_bl.h:76:13: note: in expansion of macro 'LIST_POISON2'
  1030. n->pprev = LIST_POISON2;
  1031. ^
  1032. In file included from include/uapi/linux/stddef.h:1:0,
  1033. from include/linux/stddef.h:4,
  1034. from ./include/uapi/linux/posix_types.h:4,
  1035. from include/uapi/linux/types.h:13,
  1036. from include/linux/types.h:5,
  1037. from include/uapi/linux/capability.h:16,
  1038. from include/linux/capability.h:15,
  1039. from include/linux/sched.h:15,
  1040. from include/linux/utsname.h:5,
  1041. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1042. rc/nv/nv-linux.h:25,
  1043. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1044. rc/nv/os-agp.c:24:
  1045. ./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
  1046. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed
  1047. and unsigned integer expressions [-Wsign-compare]
  1048. if (likely(sz < 0 || sz >= n))
  1049. ^
  1050. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  1051. # define likely(x) __builtin_expect(!!(x), 1)
  1052. ^
  1053. ./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
  1054. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed
  1055. and unsigned integer expressions [-Wsign-compare]
  1056. if (likely(sz < 0 || sz >= n))
  1057. ^
  1058. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  1059. # define likely(x) __builtin_expect(!!(x), 1)
  1060. ^
  1061. In file included from include/linux/dma-mapping.h:9:0,
  1062. from include/asm-generic/pci-dma-compat.h:7,
  1063. from ./arch/x86/include/asm/pci.h:118,
  1064. from include/linux/pci.h:1413,
  1065. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1066. rc/nv/nv-linux.h:102,
  1067. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1068. rc/nv/os-agp.c:24:
  1069. include/linux/scatterlist.h: In function 'sg_virt':
  1070. include/linux/scatterlist.h:220:35: warning: pointer of type 'void *' used i
  1071. n arithmetic [-Wpointer-arith]
  1072. return page_address(sg_page(sg)) + sg->offset;
  1073. ^
  1074. In file included from ./arch/x86/include/asm/dma-mapping.h:44:0,
  1075. from include/linux/dma-mapping.h:82,
  1076. from include/asm-generic/pci-dma-compat.h:7,
  1077. from ./arch/x86/include/asm/pci.h:118,
  1078. from include/linux/pci.h:1413,
  1079. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1080. rc/nv/nv-linux.h:102,
  1081. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1082. rc/nv/os-agp.c:24:
  1083. include/asm-generic/dma-mapping-common.h: In function 'dma_map_page':
  1084. include/asm-generic/dma-mapping-common.h:78:48: warning: pointer of type 'vo
  1085. id *' used in arithmetic [-Wpointer-arith]
  1086. kmemcheck_mark_initialized(page_address(page) + offset, size);
  1087. ^
  1088. In file included from include/linux/vgaarb.h:34:0,
  1089. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1090. rc/nv/nv-linux.h:130,
  1091. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1092. rc/nv/os-agp.c:24:
  1093. include/video/vga.h: In function 'vga_mm_r':
  1094. include/video/vga.h:220:24: warning: pointer of type 'void *' used in arithm
  1095. etic [-Wpointer-arith]
  1096. return readb (regbase + port);
  1097. ^
  1098. include/video/vga.h: In function 'vga_mm_w':
  1099. include/video/vga.h:225:23: warning: pointer of type 'void *' used in arithm
  1100. etic [-Wpointer-arith]
  1101. writeb (val, regbase + port);
  1102. ^
  1103. include/video/vga.h: In function 'vga_mm_w_fast':
  1104. include/video/vga.h:231:43: warning: pointer of type 'void *' used in arithm
  1105. etic [-Wpointer-arith]
  1106. writew (VGA_OUT16VAL (val, reg), regbase + port);
  1107. ^
  1108. In file included from ./arch/x86/include/asm/string.h:2:0,
  1109. from include/linux/string.h:17,
  1110. from include/linux/dynamic_debug.h:111,
  1111. from include/linux/printk.h:257,
  1112. from include/linux/kernel.h:13,
  1113. from include/linux/sched.h:17,
  1114. from include/linux/utsname.h:5,
  1115. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1116. rc/nv/nv-linux.h:25,
  1117. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1118. rc/nv/os-agp.c:24:
  1119. include/linux/highmem.h: In function 'zero_user_segments':
  1120. include/linux/highmem.h:201:16: warning: pointer of type 'void *' used in ar
  1121. ithmetic [-Wpointer-arith]
  1122. memset(kaddr + start1, 0, end1 - start1);
  1123. ^
  1124. ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro 'mem
  1125. set'
  1126. #define memset(s, c, count) __builtin_memset(s, c, count)
  1127. ^
  1128. include/linux/highmem.h:204:16: warning: pointer of type 'void *' used in ar
  1129. ithmetic [-Wpointer-arith]
  1130. memset(kaddr + start2, 0, end2 - start2);
  1131. ^
  1132. ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro 'mem
  1133. set'
  1134. #define memset(s, c, count) __builtin_memset(s, c, count)
  1135. ^
  1136. In file included from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1137. rc/nv/nv-linux.h:210:0,
  1138. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1139. rc/nv/os-agp.c:24:
  1140. include/acpi/acpi_drivers.h: At top level:
  1141. include/acpi/acpi_drivers.h:98:43: warning: 'struct acpi_pci_root' declared
  1142. inside parameter list
  1143. struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
  1144. ^
  1145. include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definitio
  1146. n or declaration, which is probably not what you want
  1147. cc -Wp,-MD,/tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.os
  1148. -interface.o.d -nostdinc -isystem /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/
  1149. i486-pc-linux-gnu/4.9.1/include -I./arch/x86/include -Iarch/x86/include/gene
  1150. rated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi
  1151. -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h
  1152. -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stri
  1153. ct-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-se
  1154. curity -m32 -msoft-float -mregparm=3 -freg-struct-return -mno-mmx -mno-sse -
  1155. fno-pic -mpreferred-stack-boundary=2 -march=i486 -mtune=generic -maccumulate
  1156. -outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFI
  1157. G_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCON
  1158. FIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-un
  1159. wind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null
  1160. -pointer-checks -Os -Wno-maybe-uninitialized -Wframe-larger-than=1024 -fno-s
  1161. tack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tr
  1162. acking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-stri
  1163. ct-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes
  1164. -Werror=date-time -DCC_HAVE_ASM_GOTO -I/tmp/selfgz10250/NVIDIA-Linux-x86-173
  1165. .14.39-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wch
  1166. ar-subscripts -Wparentheses -Wpointe
  1167. r-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error
  1168. -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14.39\" -UDEBUG -U_DE
  1169. BUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(o
  1170. s_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz10250/
  1171. NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/os-interface.o /tmp/selfgz10250/N
  1172. VIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/os-interface.c
  1173. In file included from include/linux/bitops.h:33:0,
  1174. from include/linux/kernel.h:10,
  1175. from include/linux/sched.h:17,
  1176. from include/linux/utsname.h:5,
  1177. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1178. rc/nv/nv-linux.h:25,
  1179. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1180. rc/nv/os-interface.c:26:
  1181. ./arch/x86/include/asm/bitops.h: In function 'set_bit':
  1182. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  1183. d in arithmetic [-Wpointer-arith]
  1184. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  1185. ^
  1186. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  1187. DDR'
  1188. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  1189. ^
  1190. ./arch/x86/include/asm/bitops.h:76:6: note: in expansion of macro 'CONST_MAS
  1191. K_ADDR'
  1192. : CONST_MASK_ADDR(nr, addr)
  1193. ^
  1194. ./arch/x86/include/asm/bitops.h: In function 'clear_bit':
  1195. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  1196. d in arithmetic [-Wpointer-arith]
  1197. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  1198. ^
  1199. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  1200. DDR'
  1201. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  1202. ^
  1203. ./arch/x86/include/asm/bitops.h:114:6: note: in expansion of macro 'CONST_MA
  1204. SK_ADDR'
  1205. : CONST_MASK_ADDR(nr, addr)
  1206. ^
  1207. ./arch/x86/include/asm/bitops.h: In function 'change_bit':
  1208. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  1209. d in arithmetic [-Wpointer-arith]
  1210. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  1211. ^
  1212. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  1213. DDR'
  1214. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  1215. ^
  1216. ./arch/x86/include/asm/bitops.h:187:6: note: in expansion of macro 'CONST_MA
  1217. SK_ADDR'
  1218. : CONST_MASK_ADDR(nr, addr)
  1219. ^
  1220. In file included from include/linux/list.h:6:0,
  1221. from include/linux/preempt.h:10,
  1222. from include/linux/spinlock.h:50,
  1223. from include/linux/seqlock.h:35,
  1224. from include/linux/time.h:5,
  1225. from include/uapi/linux/timex.h:56,
  1226. from include/linux/timex.h:56,
  1227. from include/linux/sched.h:19,
  1228. from include/linux/utsname.h:5,
  1229. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1230. rc/nv/nv-linux.h:25,
  1231. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1232. rc/nv/os-interface.c:26:
  1233. include/linux/list.h: In function 'list_del':
  1234. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  1235. hmetic [-Wpointer-arith]
  1236. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  1237. ^
  1238. include/linux/list.h:107:16: note: in expansion of macro 'LIST_POISON1'
  1239. entry->next = LIST_POISON1;
  1240. ^
  1241. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1242. hmetic [-Wpointer-arith]
  1243. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1244. ^
  1245. include/linux/list.h:108:16: note: in expansion of macro 'LIST_POISON2'
  1246. entry->prev = LIST_POISON2;
  1247. ^
  1248. include/linux/list.h: In function 'hlist_del':
  1249. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  1250. hmetic [-Wpointer-arith]
  1251. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  1252. ^
  1253. include/linux/list.h:625:12: note: in expansion of macro 'LIST_POISON1'
  1254. n->next = LIST_POISON1;
  1255. ^
  1256. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1257. hmetic [-Wpointer-arith]
  1258. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1259. ^
  1260. include/linux/list.h:626:13: note: in expansion of macro 'LIST_POISON2'
  1261. n->pprev = LIST_POISON2;
  1262. ^
  1263. In file included from include/uapi/linux/stddef.h:1:0,
  1264. from include/linux/stddef.h:4,
  1265. from ./include/uapi/linux/posix_types.h:4,
  1266. from include/uapi/linux/types.h:13,
  1267. from include/linux/types.h:5,
  1268. from include/uapi/linux/capability.h:16,
  1269. from include/linux/capability.h:15,
  1270. from include/linux/sched.h:15,
  1271. from include/linux/utsname.h:5,
  1272. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1273. rc/nv/nv-linux.h:25,
  1274. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1275. rc/nv/os-interface.c:26:
  1276. include/asm-generic/qrwlock.h: In function 'queue_write_trylock':
  1277. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and
  1278. unsigned integer expressions [-Wsign-compare]
  1279. cnts, cnts | _QW_LOCKED) == cnts);
  1280. ^
  1281. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  1282. # define likely(x) __builtin_expect(!!(x), 1)
  1283. ^
  1284. In file included from include/linux/list.h:6:0,
  1285. from include/linux/preempt.h:10,
  1286. from include/linux/spinlock.h:50,
  1287. from include/linux/seqlock.h:35,
  1288. from include/linux/time.h:5,
  1289. from include/uapi/linux/timex.h:56,
  1290. from include/linux/timex.h:56,
  1291. from include/linux/sched.h:19,
  1292. from include/linux/utsname.h:5,
  1293. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1294. rc/nv/nv-linux.h:25,
  1295. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1296. rc/nv/os-interface.c:26:
  1297. include/linux/rculist.h: In function 'list_del_rcu':
  1298. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1299. hmetic [-Wpointer-arith]
  1300. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1301. ^
  1302. include/linux/rculist.h:132:16: note: in expansion of macro 'LIST_POISON2'
  1303. entry->prev = LIST_POISON2;
  1304. ^
  1305. include/linux/rculist.h: In function 'list_replace_rcu':
  1306. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1307. hmetic [-Wpointer-arith]
  1308. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1309. ^
  1310. include/linux/rculist.h:178:14: note: in expansion of macro 'LIST_POISON2'
  1311. old->prev = LIST_POISON2;
  1312. ^
  1313. include/linux/rculist.h: In function 'hlist_del_rcu':
  1314. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1315. hmetic [-Wpointer-arith]
  1316. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1317. ^
  1318. include/linux/rculist.h:346:13: note: in expansion of macro 'LIST_POISON2'
  1319. n->pprev = LIST_POISON2;
  1320. ^
  1321. include/linux/rculist.h: In function 'hlist_replace_rcu':
  1322. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1323. hmetic [-Wpointer-arith]
  1324. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1325. ^
  1326. include/linux/rculist.h:366:15: note: in expansion of macro 'LIST_POISON2'
  1327. old->pprev = LIST_POISON2;
  1328. ^
  1329. In file included from include/linux/utsname.h:5:0,
  1330. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1331. rc/nv/nv-linux.h:25,
  1332. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1333. rc/nv/os-interface.c:26:
  1334. include/linux/sched.h: In function 'object_is_on_stack':
  1335. include/linux/sched.h:2621:41: warning: pointer of type 'void *' used in ari
  1336. thmetic [-Wpointer-arith]
  1337. return (obj >= stack) && (obj < (stack + THREAD_SIZE));
  1338. ^
  1339. In file included from include/linux/list.h:6:0,
  1340. from include/linux/preempt.h:10,
  1341. from include/linux/spinlock.h:50,
  1342. from include/linux/seqlock.h:35,
  1343. from include/linux/time.h:5,
  1344. from include/uapi/linux/timex.h:56,
  1345. from include/linux/timex.h:56,
  1346. from include/linux/sched.h:19,
  1347. from include/linux/utsname.h:5,
  1348. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1349. rc/nv/nv-linux.h:25,
  1350. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1351. rc/nv/os-interface.c:26:
  1352. include/linux/list_bl.h: In function 'hlist_bl_del':
  1353. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  1354. hmetic [-Wpointer-arith]
  1355. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  1356. ^
  1357. include/linux/list_bl.h:106:12: note: in expansion of macro 'LIST_POISON1'
  1358. n->next = LIST_POISON1;
  1359. ^
  1360. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1361. hmetic [-Wpointer-arith]
  1362. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1363. ^
  1364. include/linux/list_bl.h:107:13: note: in expansion of macro 'LIST_POISON2'
  1365. n->pprev = LIST_POISON2;
  1366. ^
  1367. include/linux/rculist_bl.h: In function 'hlist_bl_del_rcu':
  1368. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1369. hmetic [-Wpointer-arith]
  1370. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1371. ^
  1372. include/linux/rculist_bl.h:76:13: note: in expansion of macro 'LIST_POISON2'
  1373. n->pprev = LIST_POISON2;
  1374. ^
  1375. In file included from include/uapi/linux/stddef.h:1:0,
  1376. from include/linux/stddef.h:4,
  1377. from ./include/uapi/linux/posix_types.h:4,
  1378. from include/uapi/linux/types.h:13,
  1379. from include/linux/types.h:5,
  1380. from include/uapi/linux/capability.h:16,
  1381. from include/linux/capability.h:15,
  1382. from include/linux/sched.h:15,
  1383. from include/linux/utsname.h:5,
  1384. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1385. rc/nv/nv-linux.h:25,
  1386. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1387. rc/nv/os-interface.c:26:
  1388. ./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
  1389. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed
  1390. and unsigned integer expressions [-Wsign-compare]
  1391. if (likely(sz < 0 || sz >= n))
  1392. ^
  1393. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  1394. # define likely(x) __builtin_expect(!!(x), 1)
  1395. ^
  1396. ./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
  1397. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed
  1398. and unsigned integer expressions [-Wsign-compare]
  1399. if (likely(sz < 0 || sz >= n))
  1400. ^
  1401. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  1402. # define likely(x) __builtin_expect(!!(x), 1)
  1403. ^
  1404. In file included from include/linux/dma-mapping.h:9:0,
  1405. from include/asm-generic/pci-dma-compat.h:7,
  1406. from ./arch/x86/include/asm/pci.h:118,
  1407. from include/linux/pci.h:1413,
  1408. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1409. rc/nv/nv-linux.h:102,
  1410. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1411. rc/nv/os-interface.c:26:
  1412. include/linux/scatterlist.h: In function 'sg_virt':
  1413. include/linux/scatterlist.h:220:35: warning: pointer of type 'void *' used i
  1414. n arithmetic [-Wpointer-arith]
  1415. return page_address(sg_page(sg)) + sg->offset;
  1416. ^
  1417. In file included from ./arch/x86/include/asm/dma-mapping.h:44:0,
  1418. from include/linux/dma-mapping.h:82,
  1419. from include/asm-generic/pci-dma-compat.h:7,
  1420. from ./arch/x86/include/asm/pci.h:118,
  1421. from include/linux/pci.h:1413,
  1422. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1423. rc/nv/nv-linux.h:102,
  1424. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1425. rc/nv/os-interface.c:26:
  1426. include/asm-generic/dma-mapping-common.h: In function 'dma_map_page':
  1427. include/asm-generic/dma-mapping-common.h:78:48: warning: pointer of type 'vo
  1428. id *' used in arithmetic [-Wpointer-arith]
  1429. kmemcheck_mark_initialized(page_address(page) + offset, size);
  1430. ^
  1431. In file included from include/linux/vgaarb.h:34:0,
  1432. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1433. rc/nv/nv-linux.h:130,
  1434. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1435. rc/nv/os-interface.c:26:
  1436. include/video/vga.h: In function 'vga_mm_r':
  1437. include/video/vga.h:220:24: warning: pointer of type 'void *' used in arithm
  1438. etic [-Wpointer-arith]
  1439. return readb (regbase + port);
  1440. ^
  1441. include/video/vga.h: In function 'vga_mm_w':
  1442. include/video/vga.h:225:23: warning: pointer of type 'void *' used in arithm
  1443. etic [-Wpointer-arith]
  1444. writeb (val, regbase + port);
  1445. ^
  1446. include/video/vga.h: In function 'vga_mm_w_fast':
  1447. include/video/vga.h:231:43: warning: pointer of type 'void *' used in arithm
  1448. etic [-Wpointer-arith]
  1449. writew (VGA_OUT16VAL (val, reg), regbase + port);
  1450. ^
  1451. In file included from ./arch/x86/include/asm/string.h:2:0,
  1452. from include/linux/string.h:17,
  1453. from include/linux/dynamic_debug.h:111,
  1454. from include/linux/printk.h:257,
  1455. from include/linux/kernel.h:13,
  1456. from include/linux/sched.h:17,
  1457. from include/linux/utsname.h:5,
  1458. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1459. rc/nv/nv-linux.h:25,
  1460. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1461. rc/nv/os-interface.c:26:
  1462. include/linux/highmem.h: In function 'zero_user_segments':
  1463. include/linux/highmem.h:201:16: warning: pointer of type 'void *' used in ar
  1464. ithmetic [-Wpointer-arith]
  1465. memset(kaddr + start1, 0, end1 - start1);
  1466. ^
  1467. ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro 'mem
  1468. set'
  1469. #define memset(s, c, count) __builtin_memset(s, c, count)
  1470. ^
  1471. include/linux/highmem.h:204:16: warning: pointer of type 'void *' used in ar
  1472. ithmetic [-Wpointer-arith]
  1473. memset(kaddr + start2, 0, end2 - start2);
  1474. ^
  1475. ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro 'mem
  1476. set'
  1477. #define memset(s, c, count) __builtin_memset(s, c, count)
  1478. ^
  1479. In file included from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1480. rc/nv/nv-linux.h:210:0,
  1481. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1482. rc/nv/os-interface.c:26:
  1483. include/acpi/acpi_drivers.h: At top level:
  1484. include/acpi/acpi_drivers.h:98:43: warning: 'struct acpi_pci_root' declared
  1485. inside parameter list
  1486. struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
  1487. ^
  1488. include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definitio
  1489. n or declaration, which is probably not what you want
  1490. cc -Wp,-MD,/tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.os
  1491. -registry.o.d -nostdinc -isystem /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i
  1492. 486-pc-linux-gnu/4.9.1/include -I./arch/x86/include -Iarch/x86/include/gener
  1493. ated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi
  1494. -I./include/uapi -Iinclude/generat
  1495. ed/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstri
  1496. ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implic
  1497. it-function-declaration -Wno-format-security -m32 -msoft-float -mregparm=3 -
  1498. freg-struct-return -mno-mmx -mno-sse -fno-pic -mpreferred-stack-boundary=2 -
  1499. march=i486 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -f
  1500. freestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CF
  1501. I_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe
  1502. -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse
  1503. 2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -Os -Wno-maybe-uniniti
  1504. alized -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-var
  1505. iable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after
  1506. -statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=i
  1507. mplicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -
  1508. I/tmp/selfgz10250/NVIDIA-Linux-x86-1
  1509. 73.14.39-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -W
  1510. char-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD -Ws
  1511. ign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERS
  1512. ION_STRING=\"173.14.39\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(
  1513. s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_registry)" -D"KBUILD_MODNAME=KBUILD
  1514. _STR(nvidia)" -c -o /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src
  1515. /nv/os-registry.o /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/n
  1516. v/os-registry.c
  1517. In file included from include/linux/bitops.h:33:0,
  1518. from include/linux/kernel.h:10,
  1519. from include/linux/sched.h:17,
  1520. from include/linux/utsname.h:5,
  1521. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1522. rc/nv/nv-linux.h:25,
  1523. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1524. rc/nv/os-registry.c:15:
  1525. ./arch/x86/include/asm/bitops.h: In function 'set_bit':
  1526. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  1527. d in arithmetic [-Wpointer-arith]
  1528. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  1529. ^
  1530. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  1531. DDR'
  1532. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  1533. ^
  1534. ./arch/x86/include/asm/bitops.h:76:6: note: in expansion of macro 'CONST_MAS
  1535. K_ADDR'
  1536. : CONST_MASK_ADDR(nr, addr)
  1537. ^
  1538. ./arch/x86/include/asm/bitops.h: In function 'clear_bit':
  1539. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  1540. d in arithmetic [-Wpointer-arith]
  1541. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  1542. ^
  1543. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  1544. DDR'
  1545. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  1546. ^
  1547. ./arch/x86/include/asm/bitops.h:114:6: note: in expansion of macro 'CONST_MA
  1548. SK_ADDR'
  1549. : CONST_MASK_ADDR(nr, addr)
  1550. ^
  1551. ./arch/x86/include/asm/bitops.h: In function 'change_bit':
  1552. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  1553. d in arithmetic [-Wpointer-arith]
  1554. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  1555. ^
  1556. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  1557. DDR'
  1558. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  1559. ^
  1560. ./arch/x86/include/asm/bitops.h:187:6: note: in expansion of macro 'CONST_MA
  1561. SK_ADDR'
  1562. : CONST_MASK_ADDR(nr, addr)
  1563. ^
  1564. In file included from include/linux/list.h:6:0,
  1565. from include/linux/preempt.h:10,
  1566. from include/linux/spinlock.h:50,
  1567. from include/linux/seqlock.h:35,
  1568. from include/linux/time.h:5,
  1569. from include/uapi/linux/timex.h:56,
  1570. from include/linux/timex.h:56,
  1571. from include/linux/sched.h:19,
  1572. from include/linux/utsname.h:5,
  1573. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1574. rc/nv/nv-linux.h:25,
  1575. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1576. rc/nv/os-registry.c:15:
  1577. include/linux/list.h: In function 'list_del':
  1578. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  1579. hmetic [-Wpointer-arith]
  1580. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  1581. ^
  1582. include/linux/list.h:107:16: note: in expansion of macro 'LIST_POISON1'
  1583. entry->next = LIST_POISON1;
  1584. ^
  1585. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1586. hmetic [-Wpointer-arith]
  1587. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1588. ^
  1589. include/linux/list.h:108:16: note: in expansion of macro 'LIST_POISON2'
  1590. entry->prev = LIST_POISON2;
  1591. ^
  1592. include/linux/list.h: In function 'hlist_del':
  1593. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  1594. hmetic [-Wpointer-arith]
  1595. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  1596. ^
  1597. include/linux/list.h:625:12: note: in expansion of macro 'LIST_POISON1'
  1598. n->next = LIST_POISON1;
  1599. ^
  1600. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1601. hmetic [-Wpointer-arith]
  1602. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1603. ^
  1604. include/linux/list.h:626:13: note: in expansion of macro 'LIST_POISON2'
  1605. n->pprev = LIST_POISON2;
  1606. ^
  1607. In file included from include/uapi/linux/stddef.h:1:0,
  1608. from include/linux/stddef.h:4,
  1609. from ./include/uapi/linux/posix_types.h:4,
  1610. from include/uapi/linux/types.h:13,
  1611. from include/linux/types.h:5,
  1612. from include/uapi/linux/capability.h:16,
  1613. from include/linux/capability.h:15,
  1614. from include/linux/sched.h:15,
  1615. from include/linux/utsname.h:5,
  1616. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1617. rc/nv/nv-linux.h:25,
  1618. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1619. rc/nv/os-registry.c:15:
  1620. include/asm-generic/qrwlock.h: In function 'queue_write_trylock':
  1621. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and
  1622. unsigned integer expressions [-Wsign-compare]
  1623. cnts, cnts | _QW_LOCKED) == cnts);
  1624. ^
  1625. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  1626. # define likely(x) __builtin_expect(!!(x), 1)
  1627. ^
  1628. In file included from include/linux/list.h:6:0,
  1629. from include/linux/preempt.h:10,
  1630. from include/linux/spinlock.h:50,
  1631. from include/linux/seqlock.h:35,
  1632. from include/linux/time.h:5,
  1633. from include/uapi/linux/timex.h:56,
  1634. from include/linux/timex.h:56,
  1635. from include/linux/sched.h:19,
  1636. from include/linux/utsname.h:5,
  1637. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1638. rc/nv/nv-linux.h:25,
  1639. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1640. rc/nv/os-registry.c:15:
  1641. include/linux/rculist.h: In function 'list_del_rcu':
  1642. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1643. hmetic [-Wpointer-arith]
  1644. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1645. ^
  1646. include/linux/rculist.h:132:16: note: in expansion of macro 'LIST_POISON2'
  1647. entry->prev = LIST_POISON2;
  1648. ^
  1649. include/linux/rculist.h: In function 'list_replace_rcu':
  1650. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1651. hmetic [-Wpointer-arith]
  1652. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1653. ^
  1654. include/linux/rculist.h:178:14: note: in expansion of macro 'LIST_POISON2'
  1655. old->prev = LIST_POISON2;
  1656. ^
  1657. include/linux/rculist.h: In function 'hlist_del_rcu':
  1658. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1659. hmetic [-Wpointer-arith]
  1660. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1661. ^
  1662. include/linux/rculist.h:346:13: note: in expansion of macro 'LIST_POISON2'
  1663. n->pprev = LIST_POISON2;
  1664. ^
  1665. include/linux/rculist.h: In function 'hlist_replace_rcu':
  1666. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1667. hmetic [-Wpointer-arith]
  1668. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1669. ^
  1670. include/linux/rculist.h:366:15: note: in expansion of macro 'LIST_POISON2'
  1671. old->pprev = LIST_POISON2;
  1672. ^
  1673. In file included from include/linux/utsname.h:5:0,
  1674. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1675. rc/nv/nv-linux.h:25,
  1676. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1677. rc/nv/os-registry.c:15:
  1678. include/linux/sched.h: In function 'object_is_on_stack':
  1679. include/linux/sched.h:2621:41: warning: pointer of type 'void *' used in ari
  1680. thmetic [-Wpointer-arith]
  1681. return (obj >= stack) && (obj < (stack + THREAD_SIZE));
  1682. ^
  1683. In file included from include/linux/list.h:6:0,
  1684. from include/linux/preempt.h:10,
  1685. from include/linux/spinlock.h:50,
  1686. from include/linux/seqlock.h:35,
  1687. from include/linux/time.h:5,
  1688. from include/uapi/linux/timex.h:56,
  1689. from include/linux/timex.h:56,
  1690. from include/linux/sched.h:19,
  1691. from include/linux/utsname.h:5,
  1692. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1693. rc/nv/nv-linux.h:25,
  1694. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1695. rc/nv/os-registry.c:15:
  1696. include/linux/list_bl.h: In function 'hlist_bl_del':
  1697. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  1698. hmetic [-Wpointer-arith]
  1699. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  1700. ^
  1701. include/linux/list_bl.h:106:12: note: in expansion of macro 'LIST_POISON1'
  1702. n->next = LIST_POISON1;
  1703. ^
  1704. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1705. hmetic [-Wpointer-arith]
  1706. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1707. ^
  1708. include/linux/list_bl.h:107:13: note: in expansion of macro 'LIST_POISON2'
  1709. n->pprev = LIST_POISON2;
  1710. ^
  1711. include/linux/rculist_bl.h: In function 'hlist_bl_del_rcu':
  1712. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1713. hmetic [-Wpointer-arith]
  1714. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1715. ^
  1716. include/linux/rculist_bl.h:76:13: note: in expansion of macro 'LIST_POISON2'
  1717. n->pprev = LIST_POISON2;
  1718. ^
  1719. In file included from include/uapi/linux/stddef.h:1:0,
  1720. from include/linux/stddef.h:4,
  1721. from ./include/uapi/linux/posix_types.h:4,
  1722. from include/uapi/linux/types.h:13,
  1723. from include/linux/types.h:5,
  1724. from include/uapi/linux/capability.h:16,
  1725. from include/linux/capability.h:15,
  1726. from include/linux/sched.h:15,
  1727. from include/linux/utsname.h:5,
  1728. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1729. rc/nv/nv-linux.h:25,
  1730. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1731. rc/nv/os-registry.c:15:
  1732. ./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
  1733. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed
  1734. and unsigned integer expressions [-Wsign-compare]
  1735. if (likely(sz < 0 || sz >= n))
  1736. ^
  1737. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  1738. # define likely(x) __builtin_expect(!!(x), 1)
  1739. ^
  1740. ./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
  1741. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed
  1742. and unsigned integer expressions [-Wsign-compare]
  1743. if (likely(sz < 0 || sz >= n))
  1744. ^
  1745. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  1746. # define likely(x) __builtin_expect(!!(x), 1)
  1747. ^
  1748. In file included from include/linux/dma-mapping.h:9:0,
  1749. from include/asm-generic/pci-dma-compat.h:7,
  1750. from ./arch/x86/include/asm/pci.h:118,
  1751. from include/linux/pci.h:1413,
  1752. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1753. rc/nv/nv-linux.h:102,
  1754. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1755. rc/nv/os-registry.c:15:
  1756. include/linux/scatterlist.h: In function 'sg_virt':
  1757. include/linux/scatterlist.h:220:35: warning: pointer of type 'void *' used i
  1758. n arithmetic [-Wpointer-arith]
  1759. return page_address(sg_page(sg)) + sg->offset;
  1760. ^
  1761. In file included from ./arch/x86/include/asm/dma-mapping.h:44:0,
  1762. from include/linux/dma-mapping.h:82,
  1763. from include/asm-generic/pci-dma-compat.h:7,
  1764. from ./arch/x86/include/asm/pci.h:118,
  1765. from include/linux/pci.h:1413,
  1766. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1767. rc/nv/nv-linux.h:102,
  1768. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1769. rc/nv/os-registry.c:15:
  1770. include/asm-generic/dma-mapping-common.h: In function 'dma_map_page':
  1771. include/asm-generic/dma-mapping-common.h:78:48: warning: pointer of type 'vo
  1772. id *' used in arithmetic [-Wpointer-arith]
  1773. kmemcheck_mark_initialized(page_address(page) + offset, size);
  1774. ^
  1775. In file included from include/linux/vgaarb.h:34:0,
  1776. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1777. rc/nv/nv-linux.h:130,
  1778. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1779. rc/nv/os-registry.c:15:
  1780. include/video/vga.h: In function 'vga_mm_r':
  1781. include/video/vga.h:220:24: warning: pointer of type 'void *' used in arithm
  1782. etic [-Wpointer-arith]
  1783. return readb (regbase + port);
  1784. ^
  1785. include/video/vga.h: In function 'vga_mm_w':
  1786. include/video/vga.h:225:23: warning: pointer of type 'void *' used in arithm
  1787. etic [-Wpointer-arith]
  1788. writeb (val, regbase + port);
  1789. ^
  1790. include/video/vga.h: In function 'vga_mm_w_fast':
  1791. include/video/vga.h:231:43: warning: pointer of type 'void *' used in arithm
  1792. etic [-Wpointer-arith]
  1793. writew (VGA_OUT16VAL (val, reg), regbase + port);
  1794. ^
  1795. In file included from ./arch/x86/include/asm/string.h:2:0,
  1796. from include/linux/string.h:17,
  1797. from include/linux/dynamic_debug.h:111,
  1798. from include/linux/printk.h:257,
  1799. from include/linux/kernel.h:13,
  1800. from include/linux/sched.h:17,
  1801. from include/linux/utsname.h:5,
  1802. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1803. rc/nv/nv-linux.h:25,
  1804. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1805. rc/nv/os-registry.c:15:
  1806. include/linux/highmem.h: In function 'zero_user_segments':
  1807. include/linux/highmem.h:201:16: warning: pointer of type 'void *' used in ar
  1808. ithmetic [-Wpointer-arith]
  1809. memset(kaddr + start1, 0, end1 - start1);
  1810. ^
  1811. ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro 'mem
  1812. set'
  1813. #define memset(s, c, count) __builtin_memset(s, c, count)
  1814. ^
  1815. include/linux/highmem.h:204:16: warning: pointer of type 'void *' used in ar
  1816. ithmetic [-Wpointer-arith]
  1817. memset(kaddr + start2, 0, end2 - start2);
  1818. ^
  1819. ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro 'mem
  1820. set'
  1821. #define memset(s, c, count) __builtin_memset(s, c, count)
  1822. ^
  1823. In file included from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1824. rc/nv/nv-linux.h:210:0,
  1825. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1826. rc/nv/os-registry.c:15:
  1827. include/acpi/acpi_drivers.h: At top level:
  1828. include/acpi/acpi_drivers.h:98:43: warning: 'struct acpi_pci_root' declared
  1829. inside parameter list
  1830. struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
  1831. ^
  1832. include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definitio
  1833. n or declaration, which is probably not what you want
  1834. cc -Wp,-MD,/tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.nv
  1835. -i2c.o.d -nostdinc -isystem /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-p
  1836. c-linux-gnu/4.9.1/include -I./arch/x86/include -Iarch/x86/include/generated
  1837. -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./in
  1838. clude/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__K
  1839. ERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasin
  1840. g -fno-common -Werror-implicit-function-declaration -Wno-format-security -m3
  1841. 2 -msoft-float -mregparm=3 -freg-struct-return -mno-mmx -mno-sse -fno-pic -m
  1842. preferred-stack-boundary=2 -march=i486 -mtune=generic -maccumulate-outgoing-
  1843. args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_S
  1844. IGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX
  1845. =1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-table
  1846. s -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-c
  1847. hecks -Os -Wno-maybe-uninitialized -Wframe-larger-than=1024 -fno-stack-prote
  1848. ctor -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-ass
  1849. ignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflo
  1850. w -fconserve-stack -Werror=implicit-int -Werro
  1851. r=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -I/tmp/selfgz10250/
  1852. NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -W
  1853. switch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multich
  1854. ar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODUL
  1855. E -DNVRM -DNV_VERSION_STRING=\"173.14.39\" -UDEBUG -U_DEBUG -DNDEBUG -DMODU
  1856. LE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_M
  1857. ODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39
  1858. -pkg1/usr/src/nv/nv-i2c.o /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/u
  1859. sr/src/nv/nv-i2c.c
  1860. In file included from include/linux/bitops.h:33:0,
  1861. from include/linux/kernel.h:10,
  1862. from include/linux/sched.h:17,
  1863. from include/linux/utsname.h:5,
  1864. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1865. rc/nv/nv-linux.h:25,
  1866. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1867. rc/nv/nv-i2c.c:8:
  1868. ./arch/x86/include/asm/bitops.h: In function 'set_bit':
  1869. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  1870. d in arithmetic [-Wpointer-arith]
  1871. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  1872. ^
  1873. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  1874. DDR'
  1875. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  1876. ^
  1877. ./arch/x86/include/asm/bitops.h:76:6: note: in expansion of macro 'CONST_MAS
  1878. K_ADDR'
  1879. : CONST_MASK_ADDR(nr, addr)
  1880. ^
  1881. ./arch/x86/include/asm/bitops.h: In function 'clear_bit':
  1882. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  1883. d in arithmetic [-Wpointer-arith]
  1884. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  1885. ^
  1886. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  1887. DDR'
  1888. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  1889. ^
  1890. ./arch/x86/include/asm/bitops.h:114:6: note: in expansion of macro 'CONST_MA
  1891. SK_ADDR'
  1892. : CONST_MASK_ADDR(nr, addr)
  1893. ^
  1894. ./arch/x86/include/asm/bitops.h: In function 'change_bit':
  1895. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  1896. d in arithmetic [-Wpointer-arith]
  1897. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  1898. ^
  1899. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  1900. DDR'
  1901. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  1902. ^
  1903. ./arch/x86/include/asm/bitops.h:187:6: note: in expansion of macro 'CONST_MA
  1904. SK_ADDR'
  1905. : CONST_MASK_ADDR(nr, addr)
  1906. ^
  1907. In file included from include/linux/list.h:6:0,
  1908. from include/linux/preempt.h:10,
  1909. from include/linux/spinlock.h:50,
  1910. from include/linux/seqlock.h:35,
  1911. from include/linux/time.h:5,
  1912. from include/uapi/linux/timex.h:56,
  1913. from include/linux/timex.h:56,
  1914. from include/linux/sched.h:19,
  1915. from include/linux/utsname.h:5,
  1916. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1917. rc/nv/nv-linux.h:25,
  1918. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1919. rc/nv/nv-i2c.c:8:
  1920. include/linux/list.h: In function 'list_del':
  1921. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  1922. hmetic [-Wpointer-arith]
  1923. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  1924. ^
  1925. include/linux/list.h:107:16: note: in expansion of macro 'LIST_POISON1'
  1926. entry->next = LIST_POISON1;
  1927. ^
  1928. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1929. hmetic [-Wpointer-arith]
  1930. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1931. ^
  1932. include/linux/list.h:108:16: note: in expansion of macro 'LIST_POISON2'
  1933. entry->prev = LIST_POISON2;
  1934. ^
  1935. include/linux/list.h: In function 'hlist_del':
  1936. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  1937. hmetic [-Wpointer-arith]
  1938. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  1939. ^
  1940. include/linux/list.h:625:12: note: in expansion of macro 'LIST_POISON1'
  1941. n->next = LIST_POISON1;
  1942. ^
  1943. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1944. hmetic [-Wpointer-arith]
  1945. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1946. ^
  1947. include/linux/list.h:626:13: note: in expansion of macro 'LIST_POISON2'
  1948. n->pprev = LIST_POISON2;
  1949. ^
  1950. In file included from include/uapi/linux/stddef.h:1:0,
  1951. from include/linux/stddef.h:4,
  1952. from ./include/uapi/linux/posix_types.h:4,
  1953. from include/uapi/linux/types.h:13,
  1954. from include/linux/types.h:5,
  1955. from include/uapi/linux/capability.h:16,
  1956. from include/linux/capability.h:15,
  1957. from include/linux/sched.h:15,
  1958. from include/linux/utsname.h:5,
  1959. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1960. rc/nv/nv-linux.h:25,
  1961. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1962. rc/nv/nv-i2c.c:8:
  1963. include/asm-generic/qrwlock.h: In function 'queue_write_trylock':
  1964. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and
  1965. unsigned integer expressions [-Wsign-compare]
  1966. cnts, cnts | _QW_LOCKED) == cnts);
  1967. ^
  1968. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  1969. # define likely(x) __builtin_expect(!!(x), 1)
  1970. ^
  1971. In file included from include/linux/list.h:6:0,
  1972. from include/linux/preempt.h:10,
  1973. from include/linux/spinlock.h:50,
  1974. from include/linux/seqlock.h:35,
  1975. from include/linux/time.h:5,
  1976. from include/uapi/linux/timex.h:56,
  1977. from include/linux/timex.h:56,
  1978. from include/linux/sched.h:19,
  1979. from include/linux/utsname.h:5,
  1980. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1981. rc/nv/nv-linux.h:25,
  1982. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  1983. rc/nv/nv-i2c.c:8:
  1984. include/linux/rculist.h: In function 'list_del_rcu':
  1985. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1986. hmetic [-Wpointer-arith]
  1987. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1988. ^
  1989. include/linux/rculist.h:132:16: note: in expansion of macro 'LIST_POISON2'
  1990. entry->prev = LIST_POISON2;
  1991. ^
  1992. include/linux/rculist.h: In function 'list_replace_rcu':
  1993. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  1994. hmetic [-Wpointer-arith]
  1995. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  1996. ^
  1997. include/linux/rculist.h:178:14: note: in expansion of macro 'LIST_POISON2'
  1998. old->prev = LIST_POISON2;
  1999. ^
  2000. include/linux/rculist.h: In function 'hlist_del_rcu':
  2001. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  2002. hmetic [-Wpointer-arith]
  2003. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  2004. ^
  2005. include/linux/rculist.h:346:13: note: in expansion of macro 'LIST_POISON2'
  2006. n->pprev = LIST_POISON2;
  2007. ^
  2008. include/linux/rculist.h: In function 'hlist_replace_rcu':
  2009. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  2010. hmetic [-Wpointer-arith]
  2011. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  2012. ^
  2013. include/linux/rculist.h:366:15: note: in expansion of macro 'LIST_POISON2'
  2014. old->pprev = LIST_POISON2;
  2015. ^
  2016. In file included from include/linux/utsname.h:5:0,
  2017. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2018. rc/nv/nv-linux.h:25,
  2019. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2020. rc/nv/nv-i2c.c:8:
  2021. include/linux/sched.h: In function 'object_is_on_stack':
  2022. include/linux/sched.h:2621:41: warning: pointer of type 'void *' used in ari
  2023. thmetic [-Wpointer-arith]
  2024. return (obj >= stack) && (obj < (stack + THREAD_SIZE));
  2025. ^
  2026. In file included from include/linux/list.h:6:0,
  2027. from include/linux/preempt.h:10,
  2028. from include/linux/spinlock.h:50,
  2029. from include/linux/seqlock.h:35,
  2030. from include/linux/time.h:5,
  2031. from include/uapi/linux/timex.h:56,
  2032. from include/linux/timex.h:56,
  2033. from include/linux/sched.h:19,
  2034. from include/linux/utsname.h:5,
  2035. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2036. rc/nv/nv-linux.h:25,
  2037. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2038. rc/nv/nv-i2c.c:8:
  2039. include/linux/list_bl.h: In function 'hlist_bl_del':
  2040. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  2041. hmetic [-Wpointer-arith]
  2042. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  2043. ^
  2044. include/linux/list_bl.h:106:12: note: in expansion of macro 'LIST_POISON1'
  2045. n->next = LIST_POISON1;
  2046. ^
  2047. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  2048. hmetic [-Wpointer-arith]
  2049. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  2050. ^
  2051. include/linux/list_bl.h:107:13: note: in expansion of macro 'LIST_POISON2'
  2052. n->pprev = LIST_POISON2;
  2053. ^
  2054. include/linux/rculist_bl.h: In function 'hlist_bl_del_rcu':
  2055. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  2056. hmetic [-Wpointer-arith]
  2057. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  2058. ^
  2059. include/linux/rculist_bl.h:76:13: note: in expansion of macro 'LIST_POISON2'
  2060. n->pprev = LIST_POISON2;
  2061. ^
  2062. In file included from include/uapi/linux/stddef.h:1:0,
  2063. from include/linux/stddef.h:4,
  2064. from ./include/uapi/linux/posix_types.h:4,
  2065. from include/uapi/linux/types.h:13,
  2066. from include/linux/types.h:5,
  2067. from include/uapi/linux/capability.h:16,
  2068. from include/linux/capability.h:15,
  2069. from include/linux/sched.h:15,
  2070. from include/linux/utsname.h:5,
  2071. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2072. rc/nv/nv-linux.h:25,
  2073. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2074. rc/nv/nv-i2c.c:8:
  2075. ./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
  2076. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed
  2077. and unsigned integer expressions [-Wsign-compare]
  2078. if (likely(sz < 0 || sz >= n))
  2079. ^
  2080. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  2081. # define likely(x) __builtin_expect(!!(x), 1)
  2082. ^
  2083. ./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
  2084. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed
  2085. and unsigned integer expressions [-Wsign-compare]
  2086. if (likely(sz < 0 || sz >= n))
  2087. ^
  2088. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  2089. # define likely(x) __builtin_expect(!!(x), 1)
  2090. ^
  2091. In file included from include/linux/dma-mapping.h:9:0,
  2092. from include/asm-generic/pci-dma-compat.h:7,
  2093. from ./arch/x86/include/asm/pci.h:118,
  2094. from include/linux/pci.h:1413,
  2095. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2096. rc/nv/nv-linux.h:102,
  2097. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2098. rc/nv/nv-i2c.c:8:
  2099. include/linux/scatterlist.h: In function 'sg_virt':
  2100. include/linux/scatterlist.h:220:35: warning: pointer of type 'void *' used i
  2101. n arithmetic [-Wpointer-arith]
  2102. return page_address(sg_page(sg)) + sg->offset;
  2103. ^
  2104. In file included from ./arch/x86/include/asm/dma-mapping.h:44:0,
  2105. from include/linux/dma-mapping.h:82,
  2106. from include/asm-generic/pci-dma-compat.h:7,
  2107. from ./arch/x86/include/asm/pci.h:118,
  2108. from include/linux/pci.h:1413,
  2109. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2110. rc/nv/nv-linux.h:102,
  2111. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2112. rc/nv/nv-i2c.c:8:
  2113. include/asm-generic/dma-mapping-common.h: In function 'dma_map_page':
  2114. include/asm-generic/dma-mapping-common.h:78:48: warning: pointer of type 'vo
  2115. id *' used in arithmetic [-Wpointer-arith]
  2116. kmemcheck_mark_initialized(page_address(page) + offset, size);
  2117. ^
  2118. In file included from include/linux/vgaarb.h:34:0,
  2119. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2120. rc/nv/nv-linux.h:130,
  2121. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2122. rc/nv/nv-i2c.c:8:
  2123. include/video/vga.h: In function 'vga_mm_r':
  2124. include/video/vga.h:220:24: warning: pointer of type 'void *' used in arithm
  2125. etic [-Wpointer-arith]
  2126. return readb (regbase + port);
  2127. ^
  2128. include/video/vga.h: In function 'vga_mm_w':
  2129. include/video/vga.h:225:23: warning: pointer of type 'void *' used in arithm
  2130. etic [-Wpointer-arith]
  2131. writeb (val, regbase + port);
  2132. ^
  2133. include/video/vga.h: In function 'vga_mm_w_fast':
  2134. include/video/vga.h:231:43: warning: pointer of type 'void *' used in arithm
  2135. etic [-Wpointer-arith]
  2136. writew (VGA_OUT16VAL (val, reg), regbase + port);
  2137. ^
  2138. In file included from ./arch/x86/include/asm/string.h:2:0,
  2139. from include/linux/string.h:17,
  2140. from include/linux/dynamic_debug.h:111,
  2141. from include/linux/printk.h:257,
  2142. from include/linux/kernel.h:13,
  2143. from include/linux/sched.h:17,
  2144. from include/linux/utsname.h:5,
  2145. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2146. rc/nv/nv-linux.h:25,
  2147. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2148. rc/nv/nv-i2c.c:8:
  2149. include/linux/highmem.h: In function 'zero_user_segments':
  2150. include/linux/highmem.h:201:16: warning: pointer of type 'void *' used in ar
  2151. ithmetic [-Wpointer-arith]
  2152. memset(kaddr + start1, 0, end1 - start1);
  2153. ^
  2154. ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro 'mem
  2155. set'
  2156. #define memset(s, c, count) __builtin_memset(s, c, count)
  2157. ^
  2158. include/linux/highmem.h:204:16: warning: pointer of type 'void *' used in ar
  2159. ithmetic [-Wpointer-arith]
  2160. memset(kaddr + start2, 0, end2 - start2);
  2161. ^
  2162. ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro 'mem
  2163. set'
  2164. #define memset(s, c, count) __builtin_memset(s, c, count)
  2165. ^
  2166. In file included from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2167. rc/nv/nv-linux.h:210:0,
  2168. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2169. rc/nv/nv-i2c.c:8:
  2170. include/acpi/acpi_drivers.h: At top level:
  2171. include/acpi/acpi_drivers.h:98:43: warning: 'struct acpi_pci_root' declared
  2172. inside parameter list
  2173. struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
  2174. ^
  2175. include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definitio
  2176. n or declaration, which is probably not what you want
  2177. cc -Wp,-MD,/tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.nv
  2178. acpi.o.d -nostdinc -isystem /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i486-p
  2179. c-linux-gnu/4.9.1/include -I./arch/x86/include -Iarch/x86/include/generated
  2180. -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./in
  2181. clude/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__K
  2182. ERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasin
  2183. g -fno-common -Werror-implicit-function-declaration -Wno-format-security -m3
  2184. 2 -msoft-float -mregparm=3 -freg-struct-return -mno-mmx -mno-sse -fno-pic -m
  2185. preferred-stack-boundary=2 -march=i486 -mtune=generic -maccumulate-outgoing-
  2186. args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_S
  2187. IGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX
  2188. =1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-table
  2189. s -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-c
  2190. hecks -Os -Wno-maybe-uninitialized -Wframe-larger-than=1024 -fno-stack-prote
  2191. ctor -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-ass
  2192. ignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflo
  2193. w -fconserve-stack -Werror=implicit-int
  2194. -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -I/tmp/selfg
  2195. z10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-
  2196. type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-
  2197. multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__
  2198. -DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14.39\" -UDEBUG -U_DEBUG -DNDEBUG
  2199. -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvacpi)" -D"KB
  2200. UILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz10250/NVIDIA-Linux-x86-173
  2201. .14.39-pkg1/usr/src/nv/nvacpi.o /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-
  2202. pkg1/usr/src/nv/nvacpi.c
  2203. In file included from include/linux/bitops.h:33:0,
  2204. from include/linux/kernel.h:10,
  2205. from include/linux/sched.h:17,
  2206. from include/linux/utsname.h:5,
  2207. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2208. rc/nv/nv-linux.h:25,
  2209. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2210. rc/nv/nvacpi.c:15:
  2211. ./arch/x86/include/asm/bitops.h: In function 'set_bit':
  2212. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  2213. d in arithmetic [-Wpointer-arith]
  2214. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  2215. ^
  2216. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  2217. DDR'
  2218. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  2219. ^
  2220. ./arch/x86/include/asm/bitops.h:76:6: note: in expansion of macro 'CONST_MAS
  2221. K_ADDR'
  2222. : CONST_MASK_ADDR(nr, addr)
  2223. ^
  2224. ./arch/x86/include/asm/bitops.h: In function 'clear_bit':
  2225. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  2226. d in arithmetic [-Wpointer-arith]
  2227. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  2228. ^
  2229. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  2230. DDR'
  2231. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  2232. ^
  2233. ./arch/x86/include/asm/bitops.h:114:6: note: in expansion of macro 'CONST_MA
  2234. SK_ADDR'
  2235. : CONST_MASK_ADDR(nr, addr)
  2236. ^
  2237. ./arch/x86/include/asm/bitops.h: In function 'change_bit':
  2238. ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type 'void *' use
  2239. d in arithmetic [-Wpointer-arith]
  2240. #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
  2241. ^
  2242. ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro 'BITOP_A
  2243. DDR'
  2244. #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
  2245. ^
  2246. ./arch/x86/include/asm/bitops.h:187:6: note: in expansion of macro 'CONST_MA
  2247. SK_ADDR'
  2248. : CONST_MASK_ADDR(nr, addr)
  2249. ^
  2250. In file included from include/linux/list.h:6:0,
  2251. from include/linux/preempt.h:10,
  2252. from include/linux/spinlock.h:50,
  2253. from include/linux/seqlock.h:35,
  2254. from include/linux/time.h:5,
  2255. from include/uapi/linux/timex.h:56,
  2256. from include/linux/timex.h:56,
  2257. from include/linux/sched.h:19,
  2258. from include/linux/utsname.h:5,
  2259. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2260. rc/nv/nv-linux.h:25,
  2261. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2262. rc/nv/nvacpi.c:15:
  2263. include/linux/list.h: In function 'list_del':
  2264. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  2265. hmetic [-Wpointer-arith]
  2266. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  2267. ^
  2268. include/linux/list.h:107:16: note: in expansion of macro 'LIST_POISON1'
  2269. entry->next = LIST_POISON1;
  2270. ^
  2271. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  2272. hmetic [-Wpointer-arith]
  2273. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  2274. ^
  2275. include/linux/list.h:108:16: note: in expansion of macro 'LIST_POISON2'
  2276. entry->prev = LIST_POISON2;
  2277. ^
  2278. include/linux/list.h: In function 'hlist_del':
  2279. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  2280. hmetic [-Wpointer-arith]
  2281. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  2282. ^
  2283. include/linux/list.h:625:12: note: in expansion of macro 'LIST_POISON1'
  2284. n->next = LIST_POISON1;
  2285. ^
  2286. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  2287. hmetic [-Wpointer-arith]
  2288. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  2289. ^
  2290. include/linux/list.h:626:13: note: in expansion of macro 'LIST_POISON2'
  2291. n->pprev = LIST_POISON2;
  2292. ^
  2293. In file included from include/uapi/linux/stddef.h:1:0,
  2294. from include/linux/stddef.h:4,
  2295. from ./include/uapi/linux/posix_types.h:4,
  2296. from include/uapi/linux/types.h:13,
  2297. from include/linux/types.h:5,
  2298. from include/uapi/linux/capability.h:16,
  2299. from include/linux/capability.h:15,
  2300. from include/linux/sched.h:15,
  2301. from include/linux/utsname.h:5,
  2302. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2303. rc/nv/nv-linux.h:25,
  2304. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2305. rc/nv/nvacpi.c:15:
  2306. include/asm-generic/qrwlock.h: In function 'queue_write_trylock':
  2307. include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and
  2308. unsigned integer expressions [-Wsign-compare]
  2309. cnts, cnts | _QW_LOCKED) == cnts);
  2310. ^
  2311. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  2312. # define likely(x) __builtin_expect(!!(x), 1)
  2313. ^
  2314. In file included from include/linux/list.h:6:0,
  2315. from include/linux/preempt.h:10,
  2316. from include/linux/spinlock.h:50,
  2317. from include/linux/seqlock.h:35,
  2318. from include/linux/time.h:5,
  2319. from include/uapi/linux/timex.h:56,
  2320. from include/linux/timex.h:56,
  2321. from include/linux/sched.h:19,
  2322. from include/linux/utsname.h:5,
  2323. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2324. rc/nv/nv-linux.h:25,
  2325. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2326. rc/nv/nvacpi.c:15:
  2327. include/linux/rculist.h: In function 'list_del_rcu':
  2328. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  2329. hmetic [-Wpointer-arith]
  2330. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  2331. ^
  2332. include/linux/rculist.h:132:16: note: in expansion of macro 'LIST_POISON2'
  2333. entry->prev = LIST_POISON2;
  2334. ^
  2335. include/linux/rculist.h: In function 'list_replace_rcu':
  2336. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  2337. hmetic [-Wpointer-arith]
  2338. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  2339. ^
  2340. include/linux/rculist.h:178:14: note: in expansion of macro 'LIST_POISON2'
  2341. old->prev = LIST_POISON2;
  2342. ^
  2343. include/linux/rculist.h: In function 'hlist_del_rcu':
  2344. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  2345. hmetic [-Wpointer-arith]
  2346. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  2347. ^
  2348. include/linux/rculist.h:346:13: note: in expansion of macro 'LIST_POISON2'
  2349. n->pprev = LIST_POISON2;
  2350. ^
  2351. include/linux/rculist.h: In function 'hlist_replace_rcu':
  2352. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  2353. hmetic [-Wpointer-arith]
  2354. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  2355. ^
  2356. include/linux/rculist.h:366:15: note: in expansion of macro 'LIST_POISON2'
  2357. old->pprev = LIST_POISON2;
  2358. ^
  2359. In file included from include/linux/utsname.h:5:0,
  2360. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2361. rc/nv/nv-linux.h:25,
  2362. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2363. rc/nv/nvacpi.c:15:
  2364. include/linux/sched.h: In function 'object_is_on_stack':
  2365. include/linux/sched.h:2621:41: warning: pointer of type 'void *' used in ari
  2366. thmetic [-Wpointer-arith]
  2367. return (obj >= stack) && (obj < (stack + THREAD_SIZE));
  2368. ^
  2369. In file included from include/linux/list.h:6:0,
  2370. from include/linux/preempt.h:10,
  2371. from include/linux/spinlock.h:50,
  2372. from include/linux/seqlock.h:35,
  2373. from include/linux/time.h:5,
  2374. from include/uapi/linux/timex.h:56,
  2375. from include/linux/timex.h:56,
  2376. from include/linux/sched.h:19,
  2377. from include/linux/utsname.h:5,
  2378. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2379. rc/nv/nv-linux.h:25,
  2380. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2381. rc/nv/nvacpi.c:15:
  2382. include/linux/list_bl.h: In function 'hlist_bl_del':
  2383. include/linux/poison.h:22:44: warning: pointer of type 'void *' used in arit
  2384. hmetic [-Wpointer-arith]
  2385. #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
  2386. ^
  2387. include/linux/list_bl.h:106:12: note: in expansion of macro 'LIST_POISON1'
  2388. n->next = LIST_POISON1;
  2389. ^
  2390. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  2391. hmetic [-Wpointer-arith]
  2392. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  2393. ^
  2394. include/linux/list_bl.h:107:13: note: in expansion of macro 'LIST_POISON2'
  2395. n->pprev = LIST_POISON2;
  2396. ^
  2397. include/linux/rculist_bl.h: In function 'hlist_bl_del_rcu':
  2398. include/linux/poison.h:23:44: warning: pointer of type 'void *' used in arit
  2399. hmetic [-Wpointer-arith]
  2400. #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
  2401. ^
  2402. include/linux/rculist_bl.h:76:13: note: in expansion of macro 'LIST_POISON2'
  2403. n->pprev = LIST_POISON2;
  2404. ^
  2405. In file included from include/uapi/linux/stddef.h:1:0,
  2406. from include/linux/stddef.h:4,
  2407. from ./include/uapi/linux/posix_types.h:4,
  2408. from include/uapi/linux/types.h:13,
  2409. from include/linux/types.h:5,
  2410. from include/uapi/linux/capability.h:16,
  2411. from include/linux/capability.h:15,
  2412. from include/linux/sched.h:15,
  2413. from include/linux/utsname.h:5,
  2414. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2415. rc/nv/nv-linux.h:25,
  2416. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2417. rc/nv/nvacpi.c:15:
  2418. ./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
  2419. ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed
  2420. and unsigned integer expressions [-Wsign-compare]
  2421. if (likely(sz < 0 || sz >= n))
  2422. ^
  2423. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  2424. # define likely(x) __builtin_expect(!!(x), 1)
  2425. ^
  2426. ./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
  2427. ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed
  2428. and unsigned integer expressions [-Wsign-compare]
  2429. if (likely(sz < 0 || sz >= n))
  2430. ^
  2431. include/linux/compiler.h:159:40: note: in definition of macro 'likely'
  2432. # define likely(x) __builtin_expect(!!(x), 1)
  2433. ^
  2434. In file included from include/linux/dma-mapping.h:9:0,
  2435. from include/asm-generic/pci-dma-compat.h:7,
  2436. from ./arch/x86/include/asm/pci.h:118,
  2437. from include/linux/pci.h:1413,
  2438. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2439. rc/nv/nv-linux.h:102,
  2440. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2441. rc/nv/nvacpi.c:15:
  2442. include/linux/scatterlist.h: In function 'sg_virt':
  2443. include/linux/scatterlist.h:220:35: warning: pointer of type 'void *' used i
  2444. n arithmetic [-Wpointer-arith]
  2445. return page_address(sg_page(sg)) + sg->offset;
  2446. ^
  2447. In file included from ./arch/x86/include/asm/dma-mapping.h:44:0,
  2448. from include/linux/dma-mapping.h:82,
  2449. from include/asm-generic/pci-dma-compat.h:7,
  2450. from ./arch/x86/include/asm/pci.h:118,
  2451. from include/linux/pci.h:1413,
  2452. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2453. rc/nv/nv-linux.h:102,
  2454. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2455. rc/nv/nvacpi.c:15:
  2456. include/asm-generic/dma-mapping-common.h: In function 'dma_map_page':
  2457. include/asm-generic/dma-mapping-common.h:78:48: warning: pointer of type 'vo
  2458. id *' used in arithmetic [-Wpointer-arith]
  2459. kmemcheck_mark_initialized(page_address(page) + offset, size);
  2460. ^
  2461. In file included from include/linux/vgaarb.h:34:0,
  2462. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2463. rc/nv/nv-linux.h:130,
  2464. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2465. rc/nv/nvacpi.c:15:
  2466. include/video/vga.h: In function 'vga_mm_r':
  2467. include/video/vga.h:220:24: warning: pointer of type 'void *' used in arithm
  2468. etic [-Wpointer-arith]
  2469. return readb (regbase + port);
  2470. ^
  2471. include/video/vga.h: In function 'vga_mm_w':
  2472. include/video/vga.h:225:23: warning: pointer of type 'void *' used in arithm
  2473. etic [-Wpointer-arith]
  2474. writeb (val, regbase + port);
  2475. ^
  2476. include/video/vga.h: In function 'vga_mm_w_fast':
  2477. include/video/vga.h:231:43: warning: pointer of type 'void *' used in arithm
  2478. etic [-Wpointer-arith]
  2479. writew (VGA_OUT16VAL (val, reg), regbase + port);
  2480. ^
  2481. In file included from ./arch/x86/include/asm/string.h:2:0,
  2482. from include/linux/string.h:17,
  2483. from include/linux/dynamic_debug.h:111,
  2484. from include/linux/printk.h:257,
  2485. from include/linux/kernel.h:13,
  2486. from include/linux/sched.h:17,
  2487. from include/linux/utsname.h:5,
  2488. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2489. rc/nv/nv-linux.h:25,
  2490. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2491. rc/nv/nvacpi.c:15:
  2492. include/linux/highmem.h: In function 'zero_user_segments':
  2493. include/linux/highmem.h:201:16: warning: pointer of type 'void *' used in ar
  2494. ithmetic [-Wpointer-arith]
  2495. memset(kaddr + start1, 0, end1 - start1);
  2496. ^
  2497. ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro 'mem
  2498. set'
  2499. #define memset(s, c, count) __builtin_memset(s, c, count)
  2500. ^
  2501. include/linux/highmem.h:204:16: warning: pointer of type 'void *' used in ar
  2502. ithmetic [-Wpointer-arith]
  2503. memset(kaddr + start2, 0, end2 - start2);
  2504. ^
  2505. ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro 'mem
  2506. set'
  2507. #define memset(s, c, count) __builtin_memset(s, c, count)
  2508. ^
  2509. In file included from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2510. rc/nv/nv-linux.h:210:0,
  2511. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2512. rc/nv/nvacpi.c:15:
  2513. include/acpi/acpi_drivers.h: At top level:
  2514. include/acpi/acpi_drivers.h:98:43: warning: 'struct acpi_pci_root' declared
  2515. inside parameter list
  2516. struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
  2517. ^
  2518. include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definitio
  2519. n or declaration, which is probably not what you want
  2520. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:51:21:
  2521. error: variable 'nv_acpi_driver_template' has initializer but incomplete typ
  2522. e
  2523. static const struct acpi_driver nv_acpi_driver_template = {
  2524. ^
  2525. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:52:5: e
  2526. rror: unknown field 'name' specified in initializer
  2527. .name = "NVIDIA ACPI Video Driver",
  2528. ^
  2529. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:52:5: w
  2530. arning: excess elements in struct initializer
  2531. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:52:5: w
  2532. arning: (near initialization for 'nv_acpi_driver_template')
  2533. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:53:5: e
  2534. rror: unknown field 'class' specified in initializer
  2535. .class = "video",
  2536. ^
  2537. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:53:5: w
  2538. arning: excess elements in struct initializer
  2539. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:53:5: w
  2540. arning: (near initialization for 'nv_acpi_driver_template')
  2541. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:58:5: e
  2542. rror: unknown field 'ids' specified in initializer
  2543. .ids = ACPI_VIDEO_HID,
  2544. ^
  2545. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:58:5: w
  2546. arning: excess elements in struct initializer
  2547. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:58:5: w
  2548. arning: (near initialization for 'nv_acpi_driver_template')
  2549. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:61:5: e
  2550. rror: unknown field 'ops' specified in initializer
  2551. .ops = {
  2552. ^
  2553. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:61:5: e
  2554. rror: extra brace group at end of initializer
  2555. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:61:5: e
  2556. rror: (near initialization for 'nv_acpi_driver_template')
  2557. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:67:5: w
  2558. arning: excess elements in struct initializer
  2559. },
  2560. ^
  2561. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:67:5: w
  2562. arning: (near initialization for 'nv_acpi_driver_template')
  2563. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c: In fun
  2564. ction 'nv_acpi_init':
  2565. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:81:51:
  2566. error: invalid application of 'sizeof' to incomplete type 'struct acpi_drive
  2567. r'
  2568. os_alloc_mem((void **)&nv_acpi_driver, sizeof(struct acpi_driver));
  2569. ^
  2570. In file included from ./arch/x86/include/asm/string.h:2:0,
  2571. from include/linux/string.h:17,
  2572. from include/linux/dynamic_debug.h:111,
  2573. from include/linux/printk.h:257,
  2574. from include/linux/kernel.h:13,
  2575. from include/linux/sched.h:17,
  2576. from include/linux/utsname.h:5,
  2577. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2578. rc/nv/nv-linux.h:25,
  2579. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2580. rc/nv/nvacpi.c:15:
  2581. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:86:20:
  2582. error: invalid application of 'sizeof' to incomplete type 'struct acpi_drive
  2583. r'
  2584. sizeof(struct acpi_driver));
  2585. ^
  2586. ./arch/x86/include/asm/string_32.h:182:48: note: in definition of macro 'mem
  2587. cpy'
  2588. #define memcpy(t, f, n) __builtin_memcpy(t, f, n)
  2589. ^
  2590. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:88:5: e
  2591. rror: implicit declaration of function 'acpi_bus_register_driver' [-Werror=i
  2592. mplicit-function-declaration]
  2593. status = acpi_bus_register_driver(nv_acpi_driver);
  2594. ^
  2595. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c: In fun
  2596. ction 'nv_acpi_uninit':
  2597. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:105:5:
  2598. error: implicit declaration of function 'acpi_bus_unregister_driver' [-Werro
  2599. r=implicit-function-declaration]
  2600. acpi_bus_unregister_driver(nv_acpi_driver);
  2601. ^
  2602. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c: In fun
  2603. ction 'nv_acpi_add':
  2604. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:147:11:
  2605. error: dereferencing pointer to incomplete type
  2606. device->driver_data = pNvAcpiObject;
  2607. ^
  2608. In file included from include/linux/preempt.h:10:0,
  2609. from include/linux/spinlock.h:50,
  2610. from include/linux/seqlock.h:35,
  2611. from include/linux/time.h:5,
  2612. from include/uapi/linux/timex.h:56,
  2613. from include/linux/timex.h:56,
  2614. from include/linux/sched.h:19,
  2615. from include/linux/utsname.h:5,
  2616. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2617. rc/nv/nv-linux.h:25,
  2618. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2619. rc/nv/nvacpi.c:15:
  2620. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:154:43:
  2621. error: dereferencing pointer to incomplete type
  2622. list_for_each_safe(node, next, &device->children)
  2623. ^
  2624. include/linux/list.h:425:14: note: in definition of macro 'list_for_each_saf
  2625. e'
  2626. for (pos = (head)->next, n = pos->next; pos != (head); \
  2627. ^
  2628. include/linux/list.h:425:25: warning: left-hand operand of comma expression
  2629. has no effect [-Wunused-value]
  2630. for (pos = (head)->next, n = pos->next; pos != (head); \
  2631. ^
  2632. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:154:5:
  2633. note: in expansion of macro 'list_for_each_safe'
  2634. list_for_each_safe(node, next, &device->children)
  2635. ^
  2636. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:154:43:
  2637. error: dereferencing pointer to incomplete type
  2638. list_for_each_safe(node, next, &device->children)
  2639. ^
  2640. include/linux/list.h:425:50: note: in definition of macro 'list_for_each_saf
  2641. e'
  2642. for (pos = (head)->next, n = pos->next; pos != (head); \
  2643. ^
  2644. In file included from include/linux/sched.h:17:0,
  2645. from include/linux/utsname.h:5,
  2646. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2647. rc/nv/nv-linux.h:25,
  2648. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2649. rc/nv/nvacpi.c:15:
  2650. include/linux/kernel.h:834:27: error: dereferencing pointer to incomplete ty
  2651. pe
  2652. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  2653. ^
  2654. include/linux/list.h:351:2: note: in expansion of macro 'container_of'
  2655. container_of(ptr, type, member)
  2656. ^
  2657. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:157:13:
  2658. note: in expansion of macro 'list_entry'
  2659. list_entry(node, struct acpi_device, node);
  2660. ^
  2661. include/linux/kernel.h:834:48: warning: initialization from incompatible poi
  2662. nter type
  2663. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  2664. ^
  2665. include/linux/list.h:351:2: note: in expansion of macro 'container_of'
  2666. container_of(ptr, type, member)
  2667. ^
  2668. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:157:13:
  2669. note: in expansion of macro 'list_entry'
  2670. list_entry(node, struct acpi_device, node);
  2671. ^
  2672. include/linux/kernel.h:834:48: warning: (near initialization for 'dev')
  2673. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  2674. ^
  2675. include/linux/list.h:351:2: note: in expansion of macro 'container_of'
  2676. container_of(ptr, type, member)
  2677. ^
  2678. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:157:13:
  2679. note: in expansion of macro 'list_entry'
  2680. list_entry(node, struct acpi_device, node);
  2681. ^
  2682. In file included from include/linux/compiler-gcc.h:106:0,
  2683. from include/linux/compiler.h:54,
  2684. from include/uapi/linux/stddef.h:1,
  2685. from include/linux/stddef.h:4,
  2686. from ./include/uapi/linux/posix_types.h:4,
  2687. from include/uapi/linux/types.h:13,
  2688. from include/linux/types.h:5,
  2689. from include/uapi/linux/capability.h:16,
  2690. from include/linux/capability.h:15,
  2691. from include/linux/sched.h:15,
  2692. from include/linux/utsname.h:5,
  2693. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2694. rc/nv/nv-linux.h:25,
  2695. from /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2696. rc/nv/nvacpi.c:15:
  2697. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:157:37:
  2698. error: invalid use of undefined type 'struct acpi_device'
  2699. list_entry(node, struct acpi_device, node);
  2700. ^
  2701. include/linux/compiler-gcc4.h:14:53: note: in definition of macro '__compile
  2702. r_offsetof'
  2703. #define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
  2704. ^
  2705. include/linux/kernel.h:835:29: note: in expansion of macro 'offsetof'
  2706. (type *)( (char *)__mptr - offsetof(type,member) );})
  2707. ^
  2708. include/linux/list.h:351:2: note: in expansion of macro 'container_of'
  2709. container_of(ptr, type, member)
  2710. ^
  2711. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:157:13:
  2712. note: in expansion of macro 'list_entry'
  2713. list_entry(node, struct acpi_device, node);
  2714. ^
  2715. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:163:13:
  2716. error: implicit declaration of function 'acpi_evaluate_integer' [-Werror=imp
  2717. licit-function-declaration]
  2718. acpi_evaluate_integer(dev->handle, "_ADR", NULL, &device_id);
  2719. ^
  2720. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:163:38:
  2721. error: dereferencing pointer to incomplete type
  2722. acpi_evaluate_integer(dev->handle, "_ADR", NULL, &device_id);
  2723. ^
  2724. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:174:44:
  2725. error: dereferencing pointer to incomplete type
  2726. pNvAcpiObject->crt_handle = dev->handle;
  2727. ^
  2728. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:179:43:
  2729. error: dereferencing pointer to incomplete type
  2730. pNvAcpiObject->tv_handle = dev->handle;
  2731. ^
  2732. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:187:44:
  2733. error: dereferencing pointer to incomplete type
  2734. pNvAcpiObject->lcd_handle = dev->handle;
  2735. ^
  2736. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:195:44:
  2737. error: dereferencing pointer to incomplete type
  2738. pNvAcpiObject->dvi_handle = dev->handle;
  2739. ^
  2740. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:208:41:
  2741. error: dereferencing pointer to incomplete type
  2742. status = acpi_evaluate_object(device->handle, "_DOS", &control_argument
  2743. _list, NULL);
  2744. ^
  2745. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:216:48:
  2746. error: dereferencing pointer to incomplete type
  2747. status = acpi_install_notify_handler(device->handle, ACPI_DEVICE_NOTIFY
  2748. ,
  2749. ^
  2750. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c: In fun
  2751. ction 'nv_acpi_remove':
  2752. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:241:5:
  2753. error: implicit declaration of function 'acpi_driver_data' [-Werror=implicit
  2754. -function-declaration]
  2755. nv_acpi_t *pNvAcpiObject = acpi_driver_data(device);
  2756. ^
  2757. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:241:32:
  2758. warning: initialization makes pointer from integer without a cast
  2759. nv_acpi_t *pNvAcpiObject = acpi_driver_data(device);
  2760. ^
  2761. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:252:41:
  2762. error: dereferencing pointer to incomplete type
  2763. status = acpi_evaluate_object(device->handle, "_DOS", &control_argument
  2764. _list, NULL);
  2765. ^
  2766. /tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:265:51:
  2767. error: dereferencing pointer to incomplete type
  2768. status = acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOT
  2769. IFY, nv_acpi_event);
  2770. ^
  2771. cc1: some warnings being treated as errors
  2772. scripts/Makefile.build:257: recipe for target '/tmp/selfgz10250/NVIDIA-Linux
  2773. -x86-173.14.39-pkg1/usr/src/nv/nvacpi.o' failed
  2774. make[3]: *** [/tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv
  2775. acpi.o] Error 1
  2776. Makefile:1333: recipe for target '_module_/tmp/selfgz10250/NVIDIA-Linux-x86-
  2777. 173.14.39-pkg1/usr/src/nv' failed
  2778. make[2]: *** [_module_/tmp/selfgz10250/NVIDIA-Linux-x86-173.14.39-pkg1/usr/s
  2779. rc/nv] Error 2
  2780. NVIDIA: left KBUILD.
  2781. nvidia.ko failed to build!
  2782. Makefile:239: recipe for target 'module' failed
  2783. make[1]: *** [module] Error 1
  2784. makefile:54: recipe for target 'module' failed
  2785. make: *** [module] Error 2
  2786. -> Error.
  2787. ERROR: Unable to build the NVIDIA kernel module.
  2788. ERROR: Installation has failed. Please see the file
  2789. '/var/log/nvidia-installer.log' for details. You may find suggestions
  2790. on fixing installation problems in the README available on the Linux
  2791. driver download page at www.nvidia.com.
Advertisement
Add Comment
Please, Sign In to add comment