Guest User

Untitled

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