Advertisement
Guest User

Untitled

a guest
Oct 5th, 2019
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 103.57 KB | None | 0 0
  1. DKMS make.log for nvidia-340.107 for kernel 5.3.1-arch1-1-ARCH (x86_64)
  2. Sat 05 Oct 2019 09:20:02 PM EDT
  3. NVIDIA: calling KBUILD...
  4. make[1]: Entering directory '/usr/lib/modules/5.3.1-arch1-1-ARCH/build'
  5. Makefile:213: ================= WARNING ================
  6. Makefile:214: 'SUBDIRS' will be removed after Linux 5.3
  7. Makefile:215:
  8. Makefile:216: If you are building an individual subdirectory
  9. Makefile:217: in the kernel tree, you can do like this:
  10. Makefile:218: $ make path/to/dir/you/want/to/build/
  11. Makefile:219: (Do not forget the trailing slash)
  12. Makefile:220:
  13. Makefile:221: If you are building an external module,
  14. Makefile:222: Please use 'M=' or 'KBUILD_EXTMOD' instead
  15. Makefile:223: ==========================================
  16. test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
  17. echo >&2; \
  18. echo >&2 " ERROR: Kernel configuration is invalid."; \
  19. echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
  20. echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
  21. echo >&2 ; \
  22. /bin/false)
  23. make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia/340.107/build need-modorder=1
  24. { echo /var/lib/dkms/nvidia/340.107/build/nvidia.ko; :; } \
  25. | awk '!x[$0]++' - > /var/lib/dkms/nvidia/340.107/build/modules.order
  26. cc -Wp,-MD,/var/lib/dkms/nvidia/340.107/build/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wimplicit-fallthrough -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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.107/build/nv-acpi.o /var/lib/dkms/nvidia/340.107/build/nv-acpi.c
  27. cc -Wp,-MD,/var/lib/dkms/nvidia/340.107/build/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wimplicit-fallthrough -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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.107/build/nv-chrdev.o /var/lib/dkms/nvidia/340.107/build/nv-chrdev.c
  28. cc -Wp,-MD,/var/lib/dkms/nvidia/340.107/build/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wimplicit-fallthrough -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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.107/build/nv-cray.o /var/lib/dkms/nvidia/340.107/build/nv-cray.c
  29. cc -Wp,-MD,/var/lib/dkms/nvidia/340.107/build/.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wimplicit-fallthrough -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/340.107/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -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.107/build/nv-dma.o /var/lib/dkms/nvidia/340.107/build/nv-dma.c
  30. In file included from ./include/linux/byteorder/little_endian.h:11,
  31. from ./arch/x86/include/uapi/asm/byteorder.h:5,
  32. from ./include/asm-generic/bitops/le.h:6,
  33. from ./arch/x86/include/asm/bitops.h:394,
  34. from ./include/linux/bitops.h:19,
  35. from ./include/linux/kernel.h:12,
  36. from ./arch/x86/include/asm/percpu.h:45,
  37. from ./arch/x86/include/asm/current.h:6,
  38. from ./include/linux/sched.h:12,
  39. from ./include/linux/utsname.h:6,
  40. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  41. from /var/lib/dkms/nvidia/340.107/build/nv-acpi.c:15:
  42. ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
  43. ./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]
  44. 195 | for (i = 0; i < len; i++)
  45. | ^
  46. ./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
  47. ./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]
  48. 203 | for (i = 0; i < len; i++)
  49. | ^
  50. In file included from ./include/linux/byteorder/little_endian.h:11,
  51. from ./arch/x86/include/uapi/asm/byteorder.h:5,
  52. from ./include/asm-generic/bitops/le.h:6,
  53. from ./arch/x86/include/asm/bitops.h:394,
  54. from ./include/linux/bitops.h:19,
  55. from ./include/linux/kernel.h:12,
  56. from ./arch/x86/include/asm/percpu.h:45,
  57. from ./arch/x86/include/asm/current.h:6,
  58. from ./include/linux/sched.h:12,
  59. from ./include/linux/utsname.h:6,
  60. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  61. from /var/lib/dkms/nvidia/340.107/build/nv-cray.c:15:
  62. ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
  63. In file included from ./include/linux/byteorder/little_endian.h:11,
  64. from ./arch/x86/include/uapi/asm/byteorder.h:5,
  65. from ./include/asm-generic/bitops/le.h:6,
  66. from ./arch/x86/include/asm/bitops.h:394,
  67. from ./include/linux/bitops.h:19,
  68. from ./include/linux/kernel.h:12,
  69. from ./arch/x86/include/asm/percpu.h:45,
  70. from ./arch/x86/include/asm/current.h:6,
  71. from ./include/linux/sched.h:12,
  72. from ./include/linux/utsname.h:6,
  73. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  74. from /var/lib/dkms/nvidia/340.107/build/nv-chrdev.c:15:
  75. ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
  76. ./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]
  77. 195 | for (i = 0; i < len; i++)
  78. | ^
  79. ./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]
  80. 195 | for (i = 0; i < len; i++)
  81. | ^
  82. ./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
  83. ./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
  84. ./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]
  85. 203 | for (i = 0; i < len; i++)
  86. | ^
  87. ./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]
  88. 203 | for (i = 0; i < len; i++)
  89. | ^
  90. In file included from ./include/linux/byteorder/little_endian.h:11,
  91. from ./arch/x86/include/uapi/asm/byteorder.h:5,
  92. from ./include/asm-generic/bitops/le.h:6,
  93. from ./arch/x86/include/asm/bitops.h:394,
  94. from ./include/linux/bitops.h:19,
  95. from ./include/linux/kernel.h:12,
  96. from ./arch/x86/include/asm/percpu.h:45,
  97. from ./arch/x86/include/asm/current.h:6,
  98. from ./include/linux/sched.h:12,
  99. from ./include/linux/utsname.h:6,
  100. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  101. from /var/lib/dkms/nvidia/340.107/build/nv-dma.c:15:
  102. ./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
  103. ./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]
  104. 195 | for (i = 0; i < len; i++)
  105. | ^
  106. ./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
  107. ./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]
  108. 203 | for (i = 0; i < len; i++)
  109. | ^
  110. In file included from ./arch/x86/include/asm/current.h:5,
  111. from ./include/linux/sched.h:12,
  112. from ./include/linux/utsname.h:6,
  113. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  114. from /var/lib/dkms/nvidia/340.107/build/nv-chrdev.c:15:
  115. ./include/linux/thread_info.h: In function ‘check_copy_size’:
  116. In file included from ./arch/x86/include/asm/current.h:5,
  117. from ./include/linux/sched.h:12,
  118. from ./include/linux/utsname.h:6,
  119. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  120. from /var/lib/dkms/nvidia/340.107/build/nv-cray.c:15:
  121. ./include/linux/thread_info.h: In function ‘check_copy_size’:
  122. ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  123. 141 | if (unlikely(sz >= 0 && sz < bytes)) {
  124. | ^
  125. ./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
  126. 78 | # define unlikely(x) __builtin_expect(!!(x), 0)
  127. | ^
  128. ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  129. 141 | if (unlikely(sz >= 0 && sz < bytes)) {
  130. | ^
  131. ./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
  132. 78 | # define unlikely(x) __builtin_expect(!!(x), 0)
  133. | ^
  134. In file included from ./arch/x86/include/asm/current.h:5,
  135. from ./include/linux/sched.h:12,
  136. from ./include/linux/utsname.h:6,
  137. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  138. from /var/lib/dkms/nvidia/340.107/build/nv-acpi.c:15:
  139. ./include/linux/thread_info.h: In function ‘check_copy_size’:
  140. ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  141. 141 | if (unlikely(sz >= 0 && sz < bytes)) {
  142. | ^
  143. ./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
  144. 78 | # define unlikely(x) __builtin_expect(!!(x), 0)
  145. | ^
  146. In file included from ./arch/x86/include/asm/current.h:5,
  147. from ./include/linux/sched.h:12,
  148. from ./include/linux/utsname.h:6,
  149. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  150. from /var/lib/dkms/nvidia/340.107/build/nv-dma.c:15:
  151. ./include/linux/thread_info.h: In function ‘check_copy_size’:
  152. ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  153. 141 | if (unlikely(sz >= 0 && sz < bytes)) {
  154. | ^
  155. ./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
  156. 78 | # define unlikely(x) __builtin_expect(!!(x), 0)
  157. | ^
  158. In file included from ./include/linux/mmzone.h:22,
  159. from ./include/linux/gfp.h:6,
  160. from ./include/linux/umh.h:4,
  161. from ./include/linux/kmod.h:9,
  162. from ./include/linux/module.h:13,
  163. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:65,
  164. from /var/lib/dkms/nvidia/340.107/build/nv-chrdev.c:15:
  165. ./include/linux/page-flags.h: In function ‘PagePoisoned’:
  166. In file included from ./include/linux/mmzone.h:22,
  167. from ./include/linux/gfp.h:6,
  168. from ./include/linux/umh.h:4,
  169. from ./include/linux/kmod.h:9,
  170. from ./include/linux/module.h:13,
  171. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:65,
  172. from /var/lib/dkms/nvidia/340.107/build/nv-cray.c:15:
  173. ./include/linux/page-flags.h: In function ‘PagePoisoned’:
  174. ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
  175. 194 | return page->flags == PAGE_POISON_PATTERN;
  176. | ^~
  177. ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
  178. 194 | return page->flags == PAGE_POISON_PATTERN;
  179. | ^~
  180. In file included from ./include/linux/mmzone.h:22,
  181. from ./include/linux/gfp.h:6,
  182. from ./include/linux/umh.h:4,
  183. from ./include/linux/kmod.h:9,
  184. from ./include/linux/module.h:13,
  185. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:65,
  186. from /var/lib/dkms/nvidia/340.107/build/nv-acpi.c:15:
  187. ./include/linux/page-flags.h: In function ‘PagePoisoned’:
  188. ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
  189. 194 | return page->flags == PAGE_POISON_PATTERN;
  190. | ^~
  191. In file included from ./include/linux/mmzone.h:22,
  192. from ./include/linux/gfp.h:6,
  193. from ./include/linux/umh.h:4,
  194. from ./include/linux/kmod.h:9,
  195. from ./include/linux/module.h:13,
  196. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:65,
  197. from /var/lib/dkms/nvidia/340.107/build/nv-dma.c:15:
  198. ./include/linux/page-flags.h: In function ‘PagePoisoned’:
  199. ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
  200. 194 | return page->flags == PAGE_POISON_PATTERN;
  201. | ^~
  202. In file included from ./arch/x86/include/asm/current.h:5,
  203. from ./include/linux/sched.h:12,
  204. from ./include/linux/utsname.h:6,
  205. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  206. from /var/lib/dkms/nvidia/340.107/build/nv-cray.c:15:
  207. ./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
  208. In file included from ./arch/x86/include/asm/current.h:5,
  209. from ./include/linux/sched.h:12,
  210. from ./include/linux/utsname.h:6,
  211. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  212. from /var/lib/dkms/nvidia/340.107/build/nv-chrdev.c:15:
  213. ./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
  214. ./include/linux/mmzone.h:1035:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
  215. 1035 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
  216. | ^~
  217. ./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
  218. 77 | # define likely(x) __builtin_expect(!!(x), 1)
  219. | ^
  220. ./include/linux/mmzone.h:1035:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
  221. 1035 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
  222. | ^~
  223. ./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
  224. 77 | # define likely(x) __builtin_expect(!!(x), 1)
  225. | ^
  226. In file included from ./arch/x86/include/asm/current.h:5,
  227. from ./include/linux/sched.h:12,
  228. from ./include/linux/utsname.h:6,
  229. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  230. from /var/lib/dkms/nvidia/340.107/build/nv-acpi.c:15:
  231. ./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
  232. ./include/linux/mmzone.h:1035:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
  233. 1035 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
  234. | ^~
  235. ./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
  236. 77 | # define likely(x) __builtin_expect(!!(x), 1)
  237. | ^
  238. In file included from ./arch/x86/include/asm/current.h:5,
  239. from ./include/linux/sched.h:12,
  240. from ./include/linux/utsname.h:6,
  241. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  242. from /var/lib/dkms/nvidia/340.107/build/nv-dma.c:15:
  243. ./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
  244. ./include/linux/mmzone.h:1035:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
  245. 1035 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
  246. | ^~
  247. ./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
  248. 77 | # define likely(x) __builtin_expect(!!(x), 1)
  249. | ^
  250. In file included from ./arch/x86/include/asm/current.h:6,
  251. from ./include/linux/sched.h:12,
  252. from ./include/linux/utsname.h:6,
  253. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  254. from /var/lib/dkms/nvidia/340.107/build/nv-chrdev.c:15:
  255. ./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  256. In file included from ./arch/x86/include/asm/current.h:6,
  257. from ./include/linux/sched.h:12,
  258. from ./include/linux/utsname.h:6,
  259. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  260. from /var/lib/dkms/nvidia/340.107/build/nv-cray.c:15:
  261. ./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  262. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  263. 131 | ((val) == 1 || (val) == -1)) ? \
  264. | ^~
  265. ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
  266. 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
  267. | ^~~~~~~~~~~~~
  268. ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
  269. 378 | case 1: stem##1(variable, __VA_ARGS__);break; \
  270. | ^~~~
  271. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  272. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  273. | ^~~~~~~~~~~~~~~~
  274. ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
  275. 192 | this_cpu_add(*percpu_count, nr);
  276. | ^~~~~~~~~~~~
  277. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  278. 131 | ((val) == 1 || (val) == -1)) ? \
  279. | ^~
  280. ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
  281. 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
  282. | ^~~~~~~~~~~~~
  283. ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
  284. 378 | case 1: stem##1(variable, __VA_ARGS__);break; \
  285. | ^~~~
  286. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  287. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  288. | ^~~~~~~~~~~~~~~~
  289. ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
  290. 192 | this_cpu_add(*percpu_count, nr);
  291. | ^~~~~~~~~~~~
  292. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  293. 131 | ((val) == 1 || (val) == -1)) ? \
  294. | ^~
  295. ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
  296. 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
  297. | ^~~~~~~~~~~~~
  298. ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
  299. 379 | case 2: stem##2(variable, __VA_ARGS__);break; \
  300. | ^~~~
  301. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  302. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  303. | ^~~~~~~~~~~~~~~~
  304. ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
  305. 192 | this_cpu_add(*percpu_count, nr);
  306. | ^~~~~~~~~~~~
  307. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  308. 131 | ((val) == 1 || (val) == -1)) ? \
  309. | ^~
  310. ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
  311. 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
  312. | ^~~~~~~~~~~~~
  313. ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
  314. 379 | case 2: stem##2(variable, __VA_ARGS__);break; \
  315. | ^~~~
  316. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  317. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  318. | ^~~~~~~~~~~~~~~~
  319. ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
  320. 192 | this_cpu_add(*percpu_count, nr);
  321. | ^~~~~~~~~~~~
  322. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  323. 131 | ((val) == 1 || (val) == -1)) ? \
  324. | ^~
  325. ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
  326. 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
  327. | ^~~~~~~~~~~~~
  328. ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
  329. 380 | case 4: stem##4(variable, __VA_ARGS__);break; \
  330. | ^~~~
  331. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  332. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  333. | ^~~~~~~~~~~~~~~~
  334. ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
  335. 192 | this_cpu_add(*percpu_count, nr);
  336. | ^~~~~~~~~~~~
  337. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  338. 131 | ((val) == 1 || (val) == -1)) ? \
  339. | ^~
  340. ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
  341. 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
  342. | ^~~~~~~~~~~~~
  343. ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
  344. 380 | case 4: stem##4(variable, __VA_ARGS__);break; \
  345. | ^~~~
  346. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  347. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  348. | ^~~~~~~~~~~~~~~~
  349. ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
  350. 192 | this_cpu_add(*percpu_count, nr);
  351. | ^~~~~~~~~~~~
  352. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  353. 131 | ((val) == 1 || (val) == -1)) ? \
  354. | ^~
  355. ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
  356. 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
  357. | ^~~~~~~~~~~~~
  358. ./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
  359. 381 | case 8: stem##8(variable, __VA_ARGS__);break; \
  360. | ^~~~
  361. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  362. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  363. | ^~~~~~~~~~~~~~~~
  364. ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
  365. 192 | this_cpu_add(*percpu_count, nr);
  366. | ^~~~~~~~~~~~
  367. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  368. 131 | ((val) == 1 || (val) == -1)) ? \
  369. | ^~
  370. ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
  371. 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
  372. | ^~~~~~~~~~~~~
  373. ./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
  374. 381 | case 8: stem##8(variable, __VA_ARGS__);break; \
  375. | ^~~~
  376. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  377. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  378. | ^~~~~~~~~~~~~~~~
  379. ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
  380. 192 | this_cpu_add(*percpu_count, nr);
  381. | ^~~~~~~~~~~~
  382. ./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  383. ./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  384. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  385. 131 | ((val) == 1 || (val) == -1)) ? \
  386. | ^~
  387. ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
  388. 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
  389. | ^~~~~~~~~~~~~
  390. ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
  391. 378 | case 1: stem##1(variable, __VA_ARGS__);break; \
  392. | ^~~~
  393. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  394. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  395. | ^~~~~~~~~~~~~~~~
  396. ./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
  397. 520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  398. | ^~~~~~~~~~~~
  399. ./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
  400. 291 | this_cpu_sub(*percpu_count, nr);
  401. | ^~~~~~~~~~~~
  402. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  403. 131 | ((val) == 1 || (val) == -1)) ? \
  404. | ^~
  405. ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
  406. 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
  407. | ^~~~~~~~~~~~~
  408. ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
  409. 378 | case 1: stem##1(variable, __VA_ARGS__);break; \
  410. | ^~~~
  411. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  412. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  413. | ^~~~~~~~~~~~~~~~
  414. ./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
  415. 520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  416. | ^~~~~~~~~~~~
  417. ./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
  418. 291 | this_cpu_sub(*percpu_count, nr);
  419. | ^~~~~~~~~~~~
  420. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  421. 131 | ((val) == 1 || (val) == -1)) ? \
  422. | ^~
  423. ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
  424. 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
  425. | ^~~~~~~~~~~~~
  426. ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
  427. 379 | case 2: stem##2(variable, __VA_ARGS__);break; \
  428. | ^~~~
  429. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  430. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  431. | ^~~~~~~~~~~~~~~~
  432. ./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
  433. 520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  434. | ^~~~~~~~~~~~
  435. ./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
  436. 291 | this_cpu_sub(*percpu_count, nr);
  437. | ^~~~~~~~~~~~
  438. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  439. 131 | ((val) == 1 || (val) == -1)) ? \
  440. | ^~
  441. ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
  442. 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
  443. | ^~~~~~~~~~~~~
  444. ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
  445. 379 | case 2: stem##2(variable, __VA_ARGS__);break; \
  446. | ^~~~
  447. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  448. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  449. | ^~~~~~~~~~~~~~~~
  450. ./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
  451. 520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  452. | ^~~~~~~~~~~~
  453. ./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
  454. 291 | this_cpu_sub(*percpu_count, nr);
  455. | ^~~~~~~~~~~~
  456. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  457. 131 | ((val) == 1 || (val) == -1)) ? \
  458. | ^~
  459. ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
  460. 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
  461. | ^~~~~~~~~~~~~
  462. ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
  463. 380 | case 4: stem##4(variable, __VA_ARGS__);break; \
  464. | ^~~~
  465. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  466. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  467. | ^~~~~~~~~~~~~~~~
  468. ./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
  469. 520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  470. | ^~~~~~~~~~~~
  471. ./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
  472. 291 | this_cpu_sub(*percpu_count, nr);
  473. | ^~~~~~~~~~~~
  474. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  475. 131 | ((val) == 1 || (val) == -1)) ? \
  476. | ^~
  477. ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
  478. 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
  479. | ^~~~~~~~~~~~~
  480. ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
  481. 380 | case 4: stem##4(variable, __VA_ARGS__);break; \
  482. | ^~~~
  483. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  484. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  485. | ^~~~~~~~~~~~~~~~
  486. ./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
  487. 520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  488. | ^~~~~~~~~~~~
  489. ./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
  490. 291 | this_cpu_sub(*percpu_count, nr);
  491. | ^~~~~~~~~~~~
  492. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  493. 131 | ((val) == 1 || (val) == -1)) ? \
  494. | ^~
  495. ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
  496. 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
  497. | ^~~~~~~~~~~~~
  498. ./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
  499. 381 | case 8: stem##8(variable, __VA_ARGS__);break; \
  500. | ^~~~
  501. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  502. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  503. | ^~~~~~~~~~~~~~~~
  504. ./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
  505. 520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  506. | ^~~~~~~~~~~~
  507. ./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
  508. 291 | this_cpu_sub(*percpu_count, nr);
  509. | ^~~~~~~~~~~~
  510. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  511. 131 | ((val) == 1 || (val) == -1)) ? \
  512. | ^~
  513. ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
  514. 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
  515. | ^~~~~~~~~~~~~
  516. ./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
  517. 381 | case 8: stem##8(variable, __VA_ARGS__);break; \
  518. | ^~~~
  519. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  520. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  521. | ^~~~~~~~~~~~~~~~
  522. ./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
  523. 520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  524. | ^~~~~~~~~~~~
  525. ./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
  526. 291 | this_cpu_sub(*percpu_count, nr);
  527. | ^~~~~~~~~~~~
  528. In file included from ./arch/x86/include/asm/current.h:6,
  529. from ./include/linux/sched.h:12,
  530. from ./include/linux/utsname.h:6,
  531. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  532. from /var/lib/dkms/nvidia/340.107/build/nv-dma.c:15:
  533. ./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  534. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  535. 131 | ((val) == 1 || (val) == -1)) ? \
  536. | ^~
  537. ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
  538. 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
  539. | ^~~~~~~~~~~~~
  540. ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
  541. 378 | case 1: stem##1(variable, __VA_ARGS__);break; \
  542. | ^~~~
  543. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  544. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  545. | ^~~~~~~~~~~~~~~~
  546. ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
  547. 192 | this_cpu_add(*percpu_count, nr);
  548. | ^~~~~~~~~~~~
  549. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  550. 131 | ((val) == 1 || (val) == -1)) ? \
  551. | ^~
  552. ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
  553. 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
  554. | ^~~~~~~~~~~~~
  555. ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
  556. 379 | case 2: stem##2(variable, __VA_ARGS__);break; \
  557. | ^~~~
  558. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  559. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  560. | ^~~~~~~~~~~~~~~~
  561. ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
  562. 192 | this_cpu_add(*percpu_count, nr);
  563. | ^~~~~~~~~~~~
  564. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  565. 131 | ((val) == 1 || (val) == -1)) ? \
  566. | ^~
  567. ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
  568. 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
  569. | ^~~~~~~~~~~~~
  570. ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
  571. 380 | case 4: stem##4(variable, __VA_ARGS__);break; \
  572. | ^~~~
  573. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  574. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  575. | ^~~~~~~~~~~~~~~~
  576. ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
  577. 192 | this_cpu_add(*percpu_count, nr);
  578. | ^~~~~~~~~~~~
  579. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  580. 131 | ((val) == 1 || (val) == -1)) ? \
  581. | ^~
  582. ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
  583. 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
  584. | ^~~~~~~~~~~~~
  585. ./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
  586. 381 | case 8: stem##8(variable, __VA_ARGS__);break; \
  587. | ^~~~
  588. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  589. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  590. | ^~~~~~~~~~~~~~~~
  591. ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
  592. 192 | this_cpu_add(*percpu_count, nr);
  593. | ^~~~~~~~~~~~
  594. In file included from ./arch/x86/include/asm/current.h:6,
  595. from ./include/linux/sched.h:12,
  596. from ./include/linux/utsname.h:6,
  597. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  598. from /var/lib/dkms/nvidia/340.107/build/nv-acpi.c:15:
  599. ./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  600. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  601. 131 | ((val) == 1 || (val) == -1)) ? \
  602. | ^~
  603. ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
  604. 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
  605. | ^~~~~~~~~~~~~
  606. ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
  607. 378 | case 1: stem##1(variable, __VA_ARGS__);break; \
  608. | ^~~~
  609. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  610. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  611. | ^~~~~~~~~~~~~~~~
  612. ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
  613. 192 | this_cpu_add(*percpu_count, nr);
  614. | ^~~~~~~~~~~~
  615. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  616. 131 | ((val) == 1 || (val) == -1)) ? \
  617. | ^~
  618. ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
  619. 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
  620. | ^~~~~~~~~~~~~
  621. ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
  622. 379 | case 2: stem##2(variable, __VA_ARGS__);break; \
  623. | ^~~~
  624. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  625. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  626. | ^~~~~~~~~~~~~~~~
  627. ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
  628. 192 | this_cpu_add(*percpu_count, nr);
  629. | ^~~~~~~~~~~~
  630. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  631. 131 | ((val) == 1 || (val) == -1)) ? \
  632. | ^~
  633. ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
  634. 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
  635. | ^~~~~~~~~~~~~
  636. ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
  637. 380 | case 4: stem##4(variable, __VA_ARGS__);break; \
  638. | ^~~~
  639. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  640. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  641. | ^~~~~~~~~~~~~~~~
  642. ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
  643. 192 | this_cpu_add(*percpu_count, nr);
  644. | ^~~~~~~~~~~~
  645. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  646. 131 | ((val) == 1 || (val) == -1)) ? \
  647. | ^~
  648. ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
  649. 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
  650. | ^~~~~~~~~~~~~
  651. ./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
  652. 381 | case 8: stem##8(variable, __VA_ARGS__);break; \
  653. | ^~~~
  654. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  655. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  656. | ^~~~~~~~~~~~~~~~
  657. ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro ‘this_cpu_add’
  658. 192 | this_cpu_add(*percpu_count, nr);
  659. | ^~~~~~~~~~~~
  660. ./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  661. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  662. 131 | ((val) == 1 || (val) == -1)) ? \
  663. | ^~
  664. ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
  665. 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
  666. | ^~~~~~~~~~~~~
  667. ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
  668. 378 | case 1: stem##1(variable, __VA_ARGS__);break; \
  669. | ^~~~
  670. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  671. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  672. | ^~~~~~~~~~~~~~~~
  673. ./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
  674. 520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  675. | ^~~~~~~~~~~~
  676. ./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
  677. 291 | this_cpu_sub(*percpu_count, nr);
  678. | ^~~~~~~~~~~~
  679. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  680. 131 | ((val) == 1 || (val) == -1)) ? \
  681. | ^~
  682. ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
  683. 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
  684. | ^~~~~~~~~~~~~
  685. ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
  686. 379 | case 2: stem##2(variable, __VA_ARGS__);break; \
  687. | ^~~~
  688. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  689. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  690. | ^~~~~~~~~~~~~~~~
  691. ./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
  692. 520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  693. | ^~~~~~~~~~~~
  694. ./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
  695. 291 | this_cpu_sub(*percpu_count, nr);
  696. | ^~~~~~~~~~~~
  697. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  698. 131 | ((val) == 1 || (val) == -1)) ? \
  699. | ^~
  700. ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
  701. 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
  702. | ^~~~~~~~~~~~~
  703. ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
  704. 380 | case 4: stem##4(variable, __VA_ARGS__);break; \
  705. | ^~~~
  706. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  707. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  708. | ^~~~~~~~~~~~~~~~
  709. ./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
  710. 520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  711. | ^~~~~~~~~~~~
  712. ./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
  713. 291 | this_cpu_sub(*percpu_count, nr);
  714. | ^~~~~~~~~~~~
  715. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  716. 131 | ((val) == 1 || (val) == -1)) ? \
  717. | ^~
  718. ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
  719. 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
  720. | ^~~~~~~~~~~~~
  721. ./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
  722. 381 | case 8: stem##8(variable, __VA_ARGS__);break; \
  723. | ^~~~
  724. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  725. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  726. | ^~~~~~~~~~~~~~~~
  727. ./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
  728. 520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  729. | ^~~~~~~~~~~~
  730. ./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
  731. 291 | this_cpu_sub(*percpu_count, nr);
  732. | ^~~~~~~~~~~~
  733. ./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  734. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  735. 131 | ((val) == 1 || (val) == -1)) ? \
  736. | ^~
  737. ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro ‘percpu_add_op’
  738. 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val)
  739. | ^~~~~~~~~~~~~
  740. ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_1’
  741. 378 | case 1: stem##1(variable, __VA_ARGS__);break; \
  742. | ^~~~
  743. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  744. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  745. | ^~~~~~~~~~~~~~~~
  746. ./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
  747. 520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  748. | ^~~~~~~~~~~~
  749. ./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
  750. 291 | this_cpu_sub(*percpu_count, nr);
  751. | ^~~~~~~~~~~~
  752. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  753. 131 | ((val) == 1 || (val) == -1)) ? \
  754. | ^~
  755. ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro ‘percpu_add_op’
  756. 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val)
  757. | ^~~~~~~~~~~~~
  758. ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_2’
  759. 379 | case 2: stem##2(variable, __VA_ARGS__);break; \
  760. | ^~~~
  761. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  762. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  763. | ^~~~~~~~~~~~~~~~
  764. ./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
  765. 520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  766. | ^~~~~~~~~~~~
  767. ./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
  768. 291 | this_cpu_sub(*percpu_count, nr);
  769. | ^~~~~~~~~~~~
  770. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  771. 131 | ((val) == 1 || (val) == -1)) ? \
  772. | ^~
  773. ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro ‘percpu_add_op’
  774. 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val)
  775. | ^~~~~~~~~~~~~
  776. ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_4’
  777. 380 | case 4: stem##4(variable, __VA_ARGS__);break; \
  778. | ^~~~
  779. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  780. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  781. | ^~~~~~~~~~~~~~~~
  782. ./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
  783. 520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  784. | ^~~~~~~~~~~~
  785. ./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
  786. 291 | this_cpu_sub(*percpu_count, nr);
  787. | ^~~~~~~~~~~~
  788. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  789. 131 | ((val) == 1 || (val) == -1)) ? \
  790. | ^~
  791. ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro ‘percpu_add_op’
  792. 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val)
  793. | ^~~~~~~~~~~~~
  794. ./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_8’
  795. 381 | case 8: stem##8(variable, __VA_ARGS__);break; \
  796. | ^~~~
  797. ./include/linux/percpu-defs.h:510:33: note: in expansion of macro ‘__pcpu_size_call’
  798. 510 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  799. | ^~~~~~~~~~~~~~~~
  800. ./include/linux/percpu-defs.h:520:33: note: in expansion of macro ‘this_cpu_add’
  801. 520 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  802. | ^~~~~~~~~~~~
  803. ./include/linux/percpu-refcount.h:291:3: note: in expansion of macro ‘this_cpu_sub’
  804. 291 | this_cpu_sub(*percpu_count, nr);
  805. | ^~~~~~~~~~~~
  806. ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
  807. ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
  808. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  809. 131 | ((val) == 1 || (val) == -1)) ? \
  810. | ^~
  811. ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
  812. 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
  813. | ^~~~~~~~~~~~~
  814. ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
  815. 378 | case 1: stem##1(variable, __VA_ARGS__);break; \
  816. | ^~~~
  817. ./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
  818. 423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  819. | ^~~~~~~~~~~~~~~~
  820. ./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
  821. 459 | raw_cpu_add(pcp, val); \
  822. | ^~~~~~~~~~~
  823. ./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
  824. 497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  825. | ^~~~~~~~~~~~~~
  826. ./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
  827. 499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  828. | ^~~~~~~~~~~~~~
  829. ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
  830. 91 | __this_cpu_dec(*sem->read_count);
  831. | ^~~~~~~~~~~~~~
  832. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  833. 131 | ((val) == 1 || (val) == -1)) ? \
  834. | ^~
  835. ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
  836. 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
  837. | ^~~~~~~~~~~~~
  838. ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
  839. 378 | case 1: stem##1(variable, __VA_ARGS__);break; \
  840. | ^~~~
  841. ./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
  842. 423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  843. | ^~~~~~~~~~~~~~~~
  844. ./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
  845. 459 | raw_cpu_add(pcp, val); \
  846. | ^~~~~~~~~~~
  847. ./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
  848. 497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  849. | ^~~~~~~~~~~~~~
  850. ./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
  851. 499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  852. | ^~~~~~~~~~~~~~
  853. ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
  854. 91 | __this_cpu_dec(*sem->read_count);
  855. | ^~~~~~~~~~~~~~
  856. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  857. 131 | ((val) == 1 || (val) == -1)) ? \
  858. | ^~
  859. ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
  860. 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
  861. | ^~~~~~~~~~~~~
  862. ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
  863. 379 | case 2: stem##2(variable, __VA_ARGS__);break; \
  864. | ^~~~
  865. ./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
  866. 423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  867. | ^~~~~~~~~~~~~~~~
  868. ./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
  869. 459 | raw_cpu_add(pcp, val); \
  870. | ^~~~~~~~~~~
  871. ./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
  872. 497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  873. | ^~~~~~~~~~~~~~
  874. ./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
  875. 499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  876. | ^~~~~~~~~~~~~~
  877. ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
  878. 91 | __this_cpu_dec(*sem->read_count);
  879. | ^~~~~~~~~~~~~~
  880. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  881. 131 | ((val) == 1 || (val) == -1)) ? \
  882. | ^~
  883. ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
  884. 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
  885. | ^~~~~~~~~~~~~
  886. ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
  887. 379 | case 2: stem##2(variable, __VA_ARGS__);break; \
  888. | ^~~~
  889. ./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
  890. 423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  891. | ^~~~~~~~~~~~~~~~
  892. ./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
  893. 459 | raw_cpu_add(pcp, val); \
  894. | ^~~~~~~~~~~
  895. ./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
  896. 497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  897. | ^~~~~~~~~~~~~~
  898. ./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
  899. 499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  900. | ^~~~~~~~~~~~~~
  901. ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
  902. 91 | __this_cpu_dec(*sem->read_count);
  903. | ^~~~~~~~~~~~~~
  904. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  905. 131 | ((val) == 1 || (val) == -1)) ? \
  906. | ^~
  907. ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
  908. 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
  909. | ^~~~~~~~~~~~~
  910. ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
  911. 380 | case 4: stem##4(variable, __VA_ARGS__);break; \
  912. | ^~~~
  913. ./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
  914. 423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  915. | ^~~~~~~~~~~~~~~~
  916. ./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
  917. 459 | raw_cpu_add(pcp, val); \
  918. | ^~~~~~~~~~~
  919. ./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
  920. 497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  921. | ^~~~~~~~~~~~~~
  922. ./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
  923. 499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  924. | ^~~~~~~~~~~~~~
  925. ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
  926. 91 | __this_cpu_dec(*sem->read_count);
  927. | ^~~~~~~~~~~~~~
  928. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  929. 131 | ((val) == 1 || (val) == -1)) ? \
  930. | ^~
  931. ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
  932. 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
  933. | ^~~~~~~~~~~~~
  934. ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
  935. 380 | case 4: stem##4(variable, __VA_ARGS__);break; \
  936. | ^~~~
  937. ./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
  938. 423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  939. | ^~~~~~~~~~~~~~~~
  940. ./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
  941. 459 | raw_cpu_add(pcp, val); \
  942. | ^~~~~~~~~~~
  943. ./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
  944. 497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  945. | ^~~~~~~~~~~~~~
  946. ./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
  947. 499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  948. | ^~~~~~~~~~~~~~
  949. ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
  950. 91 | __this_cpu_dec(*sem->read_count);
  951. | ^~~~~~~~~~~~~~
  952. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  953. 131 | ((val) == 1 || (val) == -1)) ? \
  954. | ^~
  955. ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
  956. 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
  957. | ^~~~~~~~~~~~~
  958. ./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
  959. 381 | case 8: stem##8(variable, __VA_ARGS__);break; \
  960. | ^~~~
  961. ./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
  962. 423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  963. | ^~~~~~~~~~~~~~~~
  964. ./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
  965. 459 | raw_cpu_add(pcp, val); \
  966. | ^~~~~~~~~~~
  967. ./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
  968. 497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  969. | ^~~~~~~~~~~~~~
  970. ./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
  971. 499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  972. | ^~~~~~~~~~~~~~
  973. ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
  974. 91 | __this_cpu_dec(*sem->read_count);
  975. | ^~~~~~~~~~~~~~
  976. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  977. 131 | ((val) == 1 || (val) == -1)) ? \
  978. | ^~
  979. ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
  980. 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
  981. | ^~~~~~~~~~~~~
  982. ./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
  983. 381 | case 8: stem##8(variable, __VA_ARGS__);break; \
  984. | ^~~~
  985. ./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
  986. 423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  987. | ^~~~~~~~~~~~~~~~
  988. ./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
  989. 459 | raw_cpu_add(pcp, val); \
  990. | ^~~~~~~~~~~
  991. ./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
  992. 497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  993. | ^~~~~~~~~~~~~~
  994. ./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
  995. 499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  996. | ^~~~~~~~~~~~~~
  997. ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
  998. 91 | __this_cpu_dec(*sem->read_count);
  999. | ^~~~~~~~~~~~~~
  1000. ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
  1001. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1002. 131 | ((val) == 1 || (val) == -1)) ? \
  1003. | ^~
  1004. ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
  1005. 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
  1006. | ^~~~~~~~~~~~~
  1007. ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
  1008. 378 | case 1: stem##1(variable, __VA_ARGS__);break; \
  1009. | ^~~~
  1010. ./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
  1011. 423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1012. | ^~~~~~~~~~~~~~~~
  1013. ./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
  1014. 459 | raw_cpu_add(pcp, val); \
  1015. | ^~~~~~~~~~~
  1016. ./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
  1017. 497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1018. | ^~~~~~~~~~~~~~
  1019. ./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
  1020. 499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1021. | ^~~~~~~~~~~~~~
  1022. ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
  1023. 91 | __this_cpu_dec(*sem->read_count);
  1024. | ^~~~~~~~~~~~~~
  1025. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1026. 131 | ((val) == 1 || (val) == -1)) ? \
  1027. | ^~
  1028. ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
  1029. 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
  1030. | ^~~~~~~~~~~~~
  1031. ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
  1032. 379 | case 2: stem##2(variable, __VA_ARGS__);break; \
  1033. | ^~~~
  1034. ./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
  1035. 423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1036. | ^~~~~~~~~~~~~~~~
  1037. ./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
  1038. 459 | raw_cpu_add(pcp, val); \
  1039. | ^~~~~~~~~~~
  1040. ./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
  1041. 497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1042. | ^~~~~~~~~~~~~~
  1043. ./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
  1044. 499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1045. | ^~~~~~~~~~~~~~
  1046. ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
  1047. 91 | __this_cpu_dec(*sem->read_count);
  1048. | ^~~~~~~~~~~~~~
  1049. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1050. 131 | ((val) == 1 || (val) == -1)) ? \
  1051. | ^~
  1052. ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
  1053. 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
  1054. | ^~~~~~~~~~~~~
  1055. ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
  1056. 380 | case 4: stem##4(variable, __VA_ARGS__);break; \
  1057. | ^~~~
  1058. ./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
  1059. 423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1060. | ^~~~~~~~~~~~~~~~
  1061. ./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
  1062. 459 | raw_cpu_add(pcp, val); \
  1063. | ^~~~~~~~~~~
  1064. ./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
  1065. 497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1066. | ^~~~~~~~~~~~~~
  1067. ./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
  1068. 499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1069. | ^~~~~~~~~~~~~~
  1070. ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
  1071. 91 | __this_cpu_dec(*sem->read_count);
  1072. | ^~~~~~~~~~~~~~
  1073. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1074. 131 | ((val) == 1 || (val) == -1)) ? \
  1075. | ^~
  1076. ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
  1077. 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
  1078. | ^~~~~~~~~~~~~
  1079. ./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
  1080. 381 | case 8: stem##8(variable, __VA_ARGS__);break; \
  1081. | ^~~~
  1082. ./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
  1083. 423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1084. | ^~~~~~~~~~~~~~~~
  1085. ./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
  1086. 459 | raw_cpu_add(pcp, val); \
  1087. | ^~~~~~~~~~~
  1088. ./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
  1089. 497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1090. | ^~~~~~~~~~~~~~
  1091. ./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
  1092. 499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1093. | ^~~~~~~~~~~~~~
  1094. ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
  1095. 91 | __this_cpu_dec(*sem->read_count);
  1096. | ^~~~~~~~~~~~~~
  1097. ./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
  1098. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1099. 131 | ((val) == 1 || (val) == -1)) ? \
  1100. | ^~
  1101. ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
  1102. 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val)
  1103. | ^~~~~~~~~~~~~
  1104. ./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_1’
  1105. 378 | case 1: stem##1(variable, __VA_ARGS__);break; \
  1106. | ^~~~
  1107. ./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
  1108. 423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1109. | ^~~~~~~~~~~~~~~~
  1110. ./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
  1111. 459 | raw_cpu_add(pcp, val); \
  1112. | ^~~~~~~~~~~
  1113. ./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
  1114. 497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1115. | ^~~~~~~~~~~~~~
  1116. ./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
  1117. 499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1118. | ^~~~~~~~~~~~~~
  1119. ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
  1120. 91 | __this_cpu_dec(*sem->read_count);
  1121. | ^~~~~~~~~~~~~~
  1122. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1123. 131 | ((val) == 1 || (val) == -1)) ? \
  1124. | ^~
  1125. ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
  1126. 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val)
  1127. | ^~~~~~~~~~~~~
  1128. ./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_2’
  1129. 379 | case 2: stem##2(variable, __VA_ARGS__);break; \
  1130. | ^~~~
  1131. ./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
  1132. 423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1133. | ^~~~~~~~~~~~~~~~
  1134. ./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
  1135. 459 | raw_cpu_add(pcp, val); \
  1136. | ^~~~~~~~~~~
  1137. ./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
  1138. 497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1139. | ^~~~~~~~~~~~~~
  1140. ./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
  1141. 499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1142. | ^~~~~~~~~~~~~~
  1143. ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
  1144. 91 | __this_cpu_dec(*sem->read_count);
  1145. | ^~~~~~~~~~~~~~
  1146. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1147. 131 | ((val) == 1 || (val) == -1)) ? \
  1148. | ^~
  1149. ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
  1150. 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val)
  1151. | ^~~~~~~~~~~~~
  1152. ./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_4’
  1153. 380 | case 4: stem##4(variable, __VA_ARGS__);break; \
  1154. | ^~~~
  1155. ./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
  1156. 423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1157. | ^~~~~~~~~~~~~~~~
  1158. ./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
  1159. 459 | raw_cpu_add(pcp, val); \
  1160. | ^~~~~~~~~~~
  1161. ./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
  1162. 497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1163. | ^~~~~~~~~~~~~~
  1164. ./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
  1165. 499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1166. | ^~~~~~~~~~~~~~
  1167. ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
  1168. 91 | __this_cpu_dec(*sem->read_count);
  1169. | ^~~~~~~~~~~~~~
  1170. ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  1171. 131 | ((val) == 1 || (val) == -1)) ? \
  1172. | ^~
  1173. ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro ‘percpu_add_op’
  1174. 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val)
  1175. | ^~~~~~~~~~~~~
  1176. ./include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_8’
  1177. 381 | case 8: stem##8(variable, __VA_ARGS__);break; \
  1178. | ^~~~
  1179. ./include/linux/percpu-defs.h:423:32: note: in expansion of macro ‘__pcpu_size_call’
  1180. 423 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  1181. | ^~~~~~~~~~~~~~~~
  1182. ./include/linux/percpu-defs.h:459:2: note: in expansion of macro ‘raw_cpu_add’
  1183. 459 | raw_cpu_add(pcp, val); \
  1184. | ^~~~~~~~~~~
  1185. ./include/linux/percpu-defs.h:497:34: note: in expansion of macro ‘__this_cpu_add’
  1186. 497 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  1187. | ^~~~~~~~~~~~~~
  1188. ./include/linux/percpu-defs.h:499:30: note: in expansion of macro ‘__this_cpu_sub’
  1189. 499 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  1190. | ^~~~~~~~~~~~~~
  1191. ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro ‘__this_cpu_dec’
  1192. 91 | __this_cpu_dec(*sem->read_count);
  1193. | ^~~~~~~~~~~~~~
  1194. In file included from ./arch/x86/include/asm/paravirt.h:17,
  1195. from ./arch/x86/include/asm/irqflags.h:72,
  1196. from ./include/linux/irqflags.h:16,
  1197. from ./include/linux/rcupdate.h:26,
  1198. from ./include/linux/rculist.h:11,
  1199. from ./include/linux/pid.h:5,
  1200. from ./include/linux/sched.h:14,
  1201. from ./include/linux/utsname.h:6,
  1202. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  1203. from /var/lib/dkms/nvidia/340.107/build/nv-cray.c:15:
  1204. ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
  1205. In file included from ./arch/x86/include/asm/paravirt.h:17,
  1206. from ./arch/x86/include/asm/irqflags.h:72,
  1207. from ./include/linux/irqflags.h:16,
  1208. from ./include/linux/rcupdate.h:26,
  1209. from ./include/linux/rculist.h:11,
  1210. from ./include/linux/pid.h:5,
  1211. from ./include/linux/sched.h:14,
  1212. from ./include/linux/utsname.h:6,
  1213. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  1214. from /var/lib/dkms/nvidia/340.107/build/nv-chrdev.c:15:
  1215. ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
  1216. ./include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  1217. 243 | (cpu) < nr_cpu_ids;)
  1218. | ^
  1219. ./include/linux/cpumask.h:777:36: note: in expansion of macro ‘for_each_cpu’
  1220. 777 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  1221. | ^~~~~~~~~~~~
  1222. ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’
  1223. 156 | for_each_online_cpu(cpu)
  1224. | ^~~~~~~~~~~~~~~~~~~
  1225. ./include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  1226. 243 | (cpu) < nr_cpu_ids;)
  1227. | ^
  1228. ./include/linux/cpumask.h:777:36: note: in expansion of macro ‘for_each_cpu’
  1229. 777 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  1230. | ^~~~~~~~~~~~
  1231. ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’
  1232. 156 | for_each_online_cpu(cpu)
  1233. | ^~~~~~~~~~~~~~~~~~~
  1234. ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
  1235. ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
  1236. ./include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  1237. 243 | (cpu) < nr_cpu_ids;)
  1238. | ^
  1239. ./include/linux/cpumask.h:777:36: note: in expansion of macro ‘for_each_cpu’
  1240. 777 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  1241. | ^~~~~~~~~~~~
  1242. ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’
  1243. 221 | for_each_online_cpu(cpu)
  1244. | ^~~~~~~~~~~~~~~~~~~
  1245. ./include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  1246. 243 | (cpu) < nr_cpu_ids;)
  1247. | ^
  1248. ./include/linux/cpumask.h:777:36: note: in expansion of macro ‘for_each_cpu’
  1249. 777 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  1250. | ^~~~~~~~~~~~
  1251. ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’
  1252. 221 | for_each_online_cpu(cpu)
  1253. | ^~~~~~~~~~~~~~~~~~~
  1254. In file included from ./arch/x86/include/asm/paravirt.h:17,
  1255. from ./arch/x86/include/asm/irqflags.h:72,
  1256. from ./include/linux/irqflags.h:16,
  1257. from ./include/linux/rcupdate.h:26,
  1258. from ./include/linux/rculist.h:11,
  1259. from ./include/linux/pid.h:5,
  1260. from ./include/linux/sched.h:14,
  1261. from ./include/linux/utsname.h:6,
  1262. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  1263. from /var/lib/dkms/nvidia/340.107/build/nv-dma.c:15:
  1264. ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
  1265. ./include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  1266. 243 | (cpu) < nr_cpu_ids;)
  1267. | ^
  1268. ./include/linux/cpumask.h:777:36: note: in expansion of macro ‘for_each_cpu’
  1269. 777 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  1270. | ^~~~~~~~~~~~
  1271. ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’
  1272. 156 | for_each_online_cpu(cpu)
  1273. | ^~~~~~~~~~~~~~~~~~~
  1274. ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
  1275. ./include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  1276. 243 | (cpu) < nr_cpu_ids;)
  1277. | ^
  1278. ./include/linux/cpumask.h:777:36: note: in expansion of macro ‘for_each_cpu’
  1279. 777 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  1280. | ^~~~~~~~~~~~
  1281. ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’
  1282. 221 | for_each_online_cpu(cpu)
  1283. | ^~~~~~~~~~~~~~~~~~~
  1284. In file included from ./arch/x86/include/asm/paravirt.h:17,
  1285. from ./arch/x86/include/asm/irqflags.h:72,
  1286. from ./include/linux/irqflags.h:16,
  1287. from ./include/linux/rcupdate.h:26,
  1288. from ./include/linux/rculist.h:11,
  1289. from ./include/linux/pid.h:5,
  1290. from ./include/linux/sched.h:14,
  1291. from ./include/linux/utsname.h:6,
  1292. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:44,
  1293. from /var/lib/dkms/nvidia/340.107/build/nv-acpi.c:15:
  1294. ./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
  1295. ./include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  1296. 243 | (cpu) < nr_cpu_ids;)
  1297. | ^
  1298. ./include/linux/cpumask.h:777:36: note: in expansion of macro ‘for_each_cpu’
  1299. 777 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  1300. | ^~~~~~~~~~~~
  1301. ./include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’
  1302. 156 | for_each_online_cpu(cpu)
  1303. | ^~~~~~~~~~~~~~~~~~~
  1304. ./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
  1305. ./include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  1306. 243 | (cpu) < nr_cpu_ids;)
  1307. | ^
  1308. ./include/linux/cpumask.h:777:36: note: in expansion of macro ‘for_each_cpu’
  1309. 777 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  1310. | ^~~~~~~~~~~~
  1311. ./include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’
  1312. 221 | for_each_online_cpu(cpu)
  1313. | ^~~~~~~~~~~~~~~~~~~
  1314. In file included from ./include/linux/efi.h:20,
  1315. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:173,
  1316. from /var/lib/dkms/nvidia/340.107/build/nv-cray.c:15:
  1317. ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
  1318. In file included from ./include/linux/efi.h:20,
  1319. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:173,
  1320. from /var/lib/dkms/nvidia/340.107/build/nv-chrdev.c:15:
  1321. ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
  1322. ./include/linux/rtc.h:238:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  1323. 238 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
  1324. | ^
  1325. ./include/linux/rtc.h:238:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  1326. 238 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
  1327. | ^
  1328. ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  1329. 243 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
  1330. | ^
  1331. ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  1332. 243 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
  1333. | ^
  1334. In file included from ./include/linux/efi.h:20,
  1335. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:173,
  1336. from /var/lib/dkms/nvidia/340.107/build/nv-dma.c:15:
  1337. ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
  1338. ./include/linux/rtc.h:238:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  1339. 238 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
  1340. | ^
  1341. ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  1342. 243 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
  1343. | ^
  1344. In file included from /var/lib/dkms/nvidia/340.107/build/nv-chrdev.c:15:
  1345. /var/lib/dkms/nvidia/340.107/build/nv-linux.h: In function ‘nv_execute_on_all_cpus’:
  1346. In file included from /var/lib/dkms/nvidia/340.107/build/nv-cray.c:15:
  1347. /var/lib/dkms/nvidia/340.107/build/nv-linux.h: In function ‘nv_execute_on_all_cpus’:
  1348. /var/lib/dkms/nvidia/340.107/build/nv-linux.h:902:21: error: void value not ignored as it ought to be
  1349. 902 | int __ret = on_each_cpu(func, info, wait); \
  1350. | ^~~~~~~~~~~
  1351. /var/lib/dkms/nvidia/340.107/build/nv-linux.h:918:11: note: in expansion of macro ‘NV_ON_EACH_CPU’
  1352. 918 | ret = NV_ON_EACH_CPU(func, info, 1);
  1353. | ^~~~~~~~~~~~~~
  1354. /var/lib/dkms/nvidia/340.107/build/nv-linux.h:902:21: error: void value not ignored as it ought to be
  1355. 902 | int __ret = on_each_cpu(func, info, wait); \
  1356. | ^~~~~~~~~~~
  1357. /var/lib/dkms/nvidia/340.107/build/nv-linux.h:918:11: note: in expansion of macro ‘NV_ON_EACH_CPU’
  1358. 918 | ret = NV_ON_EACH_CPU(func, info, 1);
  1359. | ^~~~~~~~~~~~~~
  1360. make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/nvidia/340.107/build/nv-chrdev.o] Error 1
  1361. make[2]: *** Waiting for unfinished jobs....
  1362. make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/nvidia/340.107/build/nv-cray.o] Error 1
  1363. In file included from ./include/linux/efi.h:20,
  1364. from /var/lib/dkms/nvidia/340.107/build/nv-linux.h:173,
  1365. from /var/lib/dkms/nvidia/340.107/build/nv-acpi.c:15:
  1366. ./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
  1367. ./include/linux/rtc.h:238:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  1368. 238 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
  1369. | ^
  1370. ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  1371. 243 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
  1372. | ^
  1373. In file included from /var/lib/dkms/nvidia/340.107/build/nv-dma.c:15:
  1374. /var/lib/dkms/nvidia/340.107/build/nv-linux.h: In function ‘nv_execute_on_all_cpus’:
  1375. /var/lib/dkms/nvidia/340.107/build/nv-linux.h:902:21: error: void value not ignored as it ought to be
  1376. 902 | int __ret = on_each_cpu(func, info, wait); \
  1377. | ^~~~~~~~~~~
  1378. /var/lib/dkms/nvidia/340.107/build/nv-linux.h:918:11: note: in expansion of macro ‘NV_ON_EACH_CPU’
  1379. 918 | ret = NV_ON_EACH_CPU(func, info, 1);
  1380. | ^~~~~~~~~~~~~~
  1381. make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/nvidia/340.107/build/nv-dma.o] Error 1
  1382. In file included from /var/lib/dkms/nvidia/340.107/build/nv-acpi.c:15:
  1383. /var/lib/dkms/nvidia/340.107/build/nv-linux.h: In function ‘nv_execute_on_all_cpus’:
  1384. /var/lib/dkms/nvidia/340.107/build/nv-linux.h:902:21: error: void value not ignored as it ought to be
  1385. 902 | int __ret = on_each_cpu(func, info, wait); \
  1386. | ^~~~~~~~~~~
  1387. /var/lib/dkms/nvidia/340.107/build/nv-linux.h:918:11: note: in expansion of macro ‘NV_ON_EACH_CPU’
  1388. 918 | ret = NV_ON_EACH_CPU(func, info, 1);
  1389. | ^~~~~~~~~~~~~~
  1390. make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/nvidia/340.107/build/nv-acpi.o] Error 1
  1391. make[1]: *** [Makefile:1624: _module_/var/lib/dkms/nvidia/340.107/build] Error 2
  1392. make[1]: Leaving directory '/usr/lib/modules/5.3.1-arch1-1-ARCH/build'
  1393. NVIDIA: left KBUILD.
  1394. nvidia.ko failed to build!
  1395. make: *** [Makefile:192: nvidia.ko] Error 1
  1396. make: Entering directory '/var/lib/dkms/nvidia/340.107/build/uvm'
  1397. cd ./..; make module SYSSRC=/lib/modules/5.3.1-arch1-1-ARCH/build SYSOUT=/lib/modules/5.3.1-arch1-1-ARCH/build KBUILD_EXTMOD=./..
  1398. make[1]: Entering directory '/var/lib/dkms/nvidia/340.107/build'
  1399. NVIDIA: calling KBUILD...
  1400. make[2]: Entering directory '/usr/lib/modules/5.3.1-arch1-1-ARCH/build'
  1401. Makefile:213: ================= WARNING ================
  1402. Makefile:214: 'SUBDIRS' will be removed after Linux 5.3
  1403. Makefile:215:
  1404. Makefile:216: If you are building an individual subdirectory
  1405. Makefile:217: in the kernel tree, you can do like this:
  1406. Makefile:218: $ make path/to/dir/you/want/to/build/
  1407. Makefile:219: (Do not forget the trailing slash)
  1408. Makefile:220:
  1409. Makefile:221: If you are building an external module,
  1410. Makefile:222: Please use 'M=' or 'KBUILD_EXTMOD' instead
  1411. Makefile:223: ==========================================
  1412. test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
  1413. echo >&2; \
  1414. echo >&2 " ERROR: Kernel configuration is invalid."; \
  1415. echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
  1416. echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
  1417. echo >&2 ; \
  1418. /bin/false)
  1419. make -f ./scripts/Makefile.build obj=./.. need-modorder=1
  1420. scripts/Makefile.build:42: ../Makefile: No such file or directory
  1421. make[3]: *** No rule to make target '../Makefile'. Stop.
  1422. make[2]: *** [Makefile:1624: _module_./..] Error 2
  1423. make[2]: Leaving directory '/usr/lib/modules/5.3.1-arch1-1-ARCH/build'
  1424. NVIDIA: left KBUILD.
  1425. nvidia.ko failed to build!
  1426. make[1]: *** [Makefile:192: nvidia.ko] Error 1
  1427. make[1]: Leaving directory '/var/lib/dkms/nvidia/340.107/build'
  1428. make: *** [Makefile:220: ../Module.symvers] Error 2
  1429. make: Leaving directory '/var/lib/dkms/nvidia/340.107/build/uvm'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement