Advertisement
Guest User

Untitled

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