Guest User

macbookairnvidiasimo

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