/home/archie/1_pacman/nvidia-340xx/PKGBUILD: line 39: /usr/src/linux/version: No such file or directory ==> Making package: nvidia-340xx 340.108-24 (Mon Oct 11 18:49:13 2021) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (2) pahole-1.22-1 linux-headers-5.14.11.arch1-1 Total Installed Size: 131.92 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing pahole... installing linux-headers... :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Updating module dependencies... ==> Retrieving sources... -> Downloading NVIDIA-Linux-x86_64-340.108-no-compat32.run... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 1 36.9M 1 416k 0 0 1495k 0 0:00:25 --:--:-- 0:00:25 1491k 8 36.9M 8 3312k 0 0 2592k 0 0:00:14 0:00:01 0:00:13 2591k 15 36.9M 15 6032k 0 0 2648k 0 0:00:14 0:00:02 0:00:12 2647k 23 36.9M 23 8944k 0 0 2728k 0 0:00:13 0:00:03 0:00:10 2728k 31 36.9M 31 11.6M 0 0 2798k 0 0:00:13 0:00:04 0:00:09 2797k 38 36.9M 38 14.3M 0 0 2783k 0 0:00:13 0:00:05 0:00:08 2854k 45 36.9M 45 16.9M 0 0 2639k 0 0:00:14 0:00:06 0:00:08 2651k 50 36.9M 50 18.5M 0 0 2609k 0 0:00:14 0:00:07 0:00:07 2591k 53 36.9M 53 19.6M 0 0 2427k 0 0:00:15 0:00:08 0:00:07 2230k 63 36.9M 63 23.4M 0 0 2492k 0 0:00:15 0:00:09 0:00:06 2248k 70 36.9M 70 26.1M 0 0 2607k 0 0:00:14 0:00:10 0:00:04 2422k 78 36.9M 78 28.9M 0 0 2627k 0 0:00:14 0:00:11 0:00:03 2609k 86 36.9M 86 31.9M 0 0 2662k 0 0:00:14 0:00:12 0:00:02 2739k 93 36.9M 93 34.6M 0 0 2669k 0 0:00:14 0:00:13 0:00:01 3068k 100 36.9M 100 36.9M 0 0 2685k 0 0:00:14 0:00:14 --:--:-- 3100k -> Found 20-nvidia.conf -> Found 0001-kernel-5.7.patch -> Found 0002-kernel-5.8.patch -> Found 0003-kernel-5.9.patch -> Found 0004-kernel-5.10.patch -> Found 0005-kernel-5.11.patch -> Found 0006-kernel-5.14.patch ==> Validating source files with b2sums... NVIDIA-Linux-x86_64-340.108-no-compat32.run ... Passed 20-nvidia.conf ... Passed 0001-kernel-5.7.patch ... Passed 0002-kernel-5.8.patch ... Passed 0003-kernel-5.9.patch ... Passed 0004-kernel-5.10.patch ... Passed 0005-kernel-5.11.patch ... Passed 0006-kernel-5.14.patch ... Passed ==> Extracting sources... ==> Starting prepare()... Creating directory NVIDIA-Linux-x86_64-340.108-no-compat32 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 340.108........................................................................................................................................................................................................... Applying patch 0001-kernel-5.7.patch... patching file kernel/Makefile patching file kernel/conftest.sh patching file kernel/dkms.conf patching file kernel/nv-drm.c patching file kernel/nv-linux.h patching file kernel/nv-procfs.c patching file kernel/nv-time.h patching file kernel/nv.c patching file kernel/os-interface.c patching file kernel/uvm/Makefile patching file kernel/uvm/conftest.sh patching file kernel/uvm/nvidia_uvm_lite.c Applying patch 0002-kernel-5.8.patch... patching file kernel/nv-linux.h patching file kernel/nvidia-modules-common.mk patching file kernel/os-mlock.c patching file kernel/uvm/nvidia_uvm_lite_api.c Applying patch 0003-kernel-5.9.patch... patching file kernel/nv-drm.c patching file kernel/nv-linux.h patching file kernel/nv.c patching file kernel/uvm/nvidia_uvm_linux.h Applying patch 0004-kernel-5.10.patch... patching file kernel/nv-drm.c Hunk #1 succeeded at 364 (offset 42 lines). Applying patch 0005-kernel-5.11.patch... patching file kernel/conftest.sh patching file kernel/nv-drm.c Hunk #1 succeeded at 59 (offset -1 lines). Hunk #2 succeeded at 211 (offset -1 lines). Hunk #3 succeeded at 242 (offset -1 lines). Hunk #4 succeeded at 278 (offset -1 lines). Hunk #5 succeeded at 408 (offset -2 lines). Hunk #6 succeeded at 459 (offset -2 lines). patching file kernel/nv-linux.h patching file kernel/uvm/nvidia_uvm_linux.h Applying patch 0006-kernel-5.14.patch... patching file kernel/nv-drm.c patching file kernel/os-interface.c ==> Starting build()... NVIDIA: calling KBUILD... make[1]: Entering directory '/usr/lib/modules/5.14.11-arch1-1/build' test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) make -f ./scripts/Makefile.build obj=/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel \ single-build= \ need-builtin=1 need-modorder=1 cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_drm"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c: In function 'nv_drm_pci_exit': /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:317:30: warning: unused variable 'tmp' [-Wunused-variable] 317 | struct drm_device *dev, *tmp; | ^~~ /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:317:24: warning: unused variable 'dev' [-Wunused-variable] 317 | struct drm_device *dev, *tmp; | ^~~ At top level: /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:479:36: warning: 'nv_drm_gem_object_funcs' defined but not used [-Wunused-variable] 479 | static struct drm_gem_object_funcs nv_drm_gem_object_funcs = { | ^~~~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_gvi"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_mempool"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c: In function 'nv_encode_caching': /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:199:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 199 | if (NV_ALLOW_CACHING(memory_type)) | ^ /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:201:9: note: here 201 | default: | ^~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-p2p.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_p2p"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-pat.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_pat"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-procfs.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_procfs"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_usermap"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_vm"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-vtophys.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_vtophys"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.os-interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_interface"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.os-mlock.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_mlock"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.os-pci.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_pci"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.os-registry.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_registry"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.os-smp.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_smp"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.os-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_usermap"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv_uvm_interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_uvm_interface"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-frontend.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_frontend"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:140, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ In file included from ./include/linux/blkdev.h:18, from ./include/linux/blk-cgroup.h:23, from ./include/linux/writeback.h:14, from ./include/linux/memcontrol.h:22, from ./include/linux/swap.h:9, from ./include/linux/suspend.h:5, from ./include/linux/regulator/consumer.h:35, from ./include/linux/i2c.h:18, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:305, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13: ./include/linux/bio.h: In function 'bio_next_split': ./include/linux/bio.h:395:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 395 | if (sectors >= bio_sectors(bio)) | ^~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13: ./include/linux/memcontrol.h: In function 'lruvec_page_state_local': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu' 788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) | ^~~~~~~~~~~~ ./include/linux/memcontrol.h:987:9: note: in expansion of macro 'for_each_possible_cpu' 987 | for_each_possible_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.o ld -m elf_x86_64 -r -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-kernel.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.o { echo /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-kernel.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.o; echo; } > /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.mod { echo /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko; :; } | awk '!x[$0]++' - > /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/modules.order sh ./scripts/modules-check.sh /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/modules.order make -f ./scripts/Makefile.modpost sed 's/\.ko$/\.o/' /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/modules.order | scripts/mod/modpost -a -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/Module.symvers -e -i Module.symvers -N -T - make -f ./scripts/Makefile.modfinal cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nvidia.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DMODULE -DKBUILD_BASENAME='"nvidia.mod"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.mod.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.mod.c ld -r -m elf_x86_64 --build-id=sha1 -T scripts/module.lds -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.mod.o; true if [ -f vmlinux ]; then LLVM_OBJCOPY="objcopy" pahole -J --btf_base vmlinux /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko; else printf "Skipping BTF generation for %s due to unavailability of vmlinux\n" /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko 1>&2; fi; make[1]: Leaving directory '/usr/lib/modules/5.14.11-arch1-1/build' NVIDIA: left KBUILD. cp ../Module.symvers Module.symvers NVIDIA UVM: CC=cc, HOST_CC=cc NV_TARGET_ARCH=x86_64 NVIDIA UVM: CONFTEST=/bin/sh ./conftest.sh cc cc x86_64 /usr/src/linux /usr/src/linux KERNEL_SOURCES: /usr/src/linux EXTRA_CFLAGS: -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I./.. -I. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.108" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia-uvm" NVIDIA: calling KBUILD... make[1]: Entering directory '/usr/lib/modules/5.14.11-arch1-1/build' test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) make -f ./scripts/Makefile.build obj=/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm \ single-build= \ need-builtin=1 need-modorder=1 cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_linux.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_linux"' -DKBUILD_MODNAME='"nvidia_uvm"' -D__KBUILD_MODNAME=kmod_nvidia_uvm -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.c:24: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.c:24: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.c:24: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.c:24: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.c:24: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.c:24: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_common.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_common"' -DKBUILD_MODNAME='"nvidia_uvm"' -D__KBUILD_MODNAME=kmod_nvidia_uvm -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c:41: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c:41: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c:41: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c:41: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c:41: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c:41: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:162, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c:41: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c:41: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_utils.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_utils"' -DKBUILD_MODNAME='"nvidia_uvm"' -D__KBUILD_MODNAME=kmod_nvidia_uvm -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_lite.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_lite"' -DKBUILD_MODNAME='"nvidia_uvm"' -D__KBUILD_MODNAME=kmod_nvidia_uvm -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:162, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_page_cache.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_page_cache"' -DKBUILD_MODNAME='"nvidia_uvm"' -D__KBUILD_MODNAME=kmod_nvidia_uvm -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:162, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_lite_api.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_lite_api"' -DKBUILD_MODNAME='"nvidia_uvm"' -D__KBUILD_MODNAME=kmod_nvidia_uvm -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:162, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_lite_counters.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_lite_counters"' -DKBUILD_MODNAME='"nvidia_uvm"' -D__KBUILD_MODNAME=kmod_nvidia_uvm -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:162, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_page_migration.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_page_migration"' -DKBUILD_MODNAME='"nvidia_uvm"' -D__KBUILD_MODNAME=kmod_nvidia_uvm -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c:28: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c:28: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c:28: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c:28: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c:28: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c:28: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:162, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c:28: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c:28: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_page_migration_kepler.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_page_migration_kepler"' -DKBUILD_MODNAME='"nvidia_uvm"' -D__KBUILD_MODNAME=kmod_nvidia_uvm -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration_kepler.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration_kepler.c ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration_kepler.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_lite_events.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_lite_events"' -DKBUILD_MODNAME='"nvidia_uvm"' -D__KBUILD_MODNAME=kmod_nvidia_uvm -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:7, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:32, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i = 0; i < len; i++) | ^ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:207:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mmzone.h:22, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:207:28: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 207 | return page->flags == PAGE_POISON_PATTERN; | ^~ In file included from ./arch/x86/include/asm/current.h:5, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1149:51: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1149 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ In file included from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:205:17: note: in expansion of macro 'this_cpu_add' 205 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:244:17: note: in expansion of macro 'this_cpu_add' 244 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h:320:17: note: in expansion of macro 'this_cpu_sub' 320 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:106:17: note: in expansion of macro 'this_cpu_dec' 106 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:266:41: note: in expansion of macro 'percpu_add_op' 266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:25: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:267:41: note: in expansion of macro 'percpu_add_op' 267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:25: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:268:41: note: in expansion of macro 'percpu_add_op' 268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:25: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:127:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 127 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:326:49: note: in expansion of macro 'percpu_add_op' 326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:25: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:41: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:41: note: in expansion of macro 'this_cpu_add' 519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:521:41: note: in expansion of macro 'this_cpu_sub' 521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:118:17: note: in expansion of macro 'this_cpu_dec' 118 | this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:63, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25: ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:243:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu' 789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:231:9: note: in expansion of macro 'for_each_online_cpu' 231 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from ./include/linux/trace_events.h:10, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:87, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:162, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25: ./include/linux/trace_recursion.h: In function 'trace_test_and_set_recursion': ./include/linux/trace_recursion.h:169:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | if ((val & TRACE_CONTEXT_MASK) > max) | ^ In file included from ./include/linux/nodemask.h:96, from ./include/linux/sched.h:22, from ./include/linux/utsname.h:6, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49, from /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25: ./include/linux/bpf.h: In function 'bpf_map_attr_numa_node': ./include/linux/numa.h:14:25: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 14 | #define NUMA_NO_NODE (-1) | ^~~~ ./include/linux/bpf.h:1525:35: note: in expansion of macro 'NUMA_NO_NODE' 1525 | attr->numa_node : NUMA_NO_NODE; | ^~~~~~~~~~~~ ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.o cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.uvm_gpu_ops_tests.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"uvm_gpu_ops_tests"' -DKBUILD_MODNAME='"nvidia_uvm"' -D__KBUILD_MODNAME=kmod_nvidia_uvm -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/uvm_gpu_ops_tests.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/uvm_gpu_ops_tests.c ./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/uvm_gpu_ops_tests.o ld -m elf_x86_64 -r -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia-uvm.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration_kepler.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/uvm_gpu_ops_tests.o { echo /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration_kepler.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/uvm_gpu_ops_tests.o; echo; } > /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia-uvm.mod { echo /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia-uvm.ko; :; } | awk '!x[$0]++' - > /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/modules.order sh ./scripts/modules-check.sh /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/modules.order make -f ./scripts/Makefile.modpost scripts/Makefile.modpost:117: warning: overriding recipe for target '/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/Module.symvers' /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/Makefile:225: warning: ignoring old recipe for target '/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/Module.symvers' scripts/Makefile.modpost:150: warning: overriding recipe for target '/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/Module.symvers' scripts/Makefile.modpost:117: warning: ignoring old recipe for target '/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/Module.symvers' make[2]: Circular /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/Module.symvers <- /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/Module.symvers dependency dropped. sed 's/\.ko$/\.o/' /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/modules.order | scripts/mod/modpost -a -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/Module.symvers -e -i Module.symvers -i /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/Module.symvers -N -T - make -f ./scripts/Makefile.modfinal cc -Wp,-MMD,/home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia-uvm.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.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/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -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 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DMODULE -DKBUILD_BASENAME='"nvidia_uvm.mod"' -DKBUILD_MODNAME='"nvidia_uvm"' -D__KBUILD_MODNAME=kmod_nvidia_uvm -c -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia-uvm.mod.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia-uvm.mod.c ld -r -m elf_x86_64 --build-id=sha1 -T scripts/module.lds -o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia-uvm.ko /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia-uvm.o /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia-uvm.mod.o; true if [ -f vmlinux ]; then LLVM_OBJCOPY="objcopy" pahole -J --btf_base vmlinux /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia-uvm.ko; else printf "Skipping BTF generation for %s due to unavailability of vmlinux\n" /home/archie/1_pacman/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia-uvm.ko 1>&2; fi; make[1]: Leaving directory '/usr/lib/modules/5.14.11-arch1-1/build' NVIDIA: left KBUILD. ==> Entering fakeroot environment... ==> Starting package_nvidia-340xx()... ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "nvidia-340xx"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Adding install file... -> Generating .MTREE file... -> Compressing package... ==> Starting package_nvidia-340xx-dkms()... ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "nvidia-340xx-dkms"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Adding install file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: nvidia-340xx 340.108-24 (Mon Oct 11 18:51:19 2021) ==> Installing nvidia-340xx package group with pacman -U... loading packages... resolving dependencies... looking for conflicting packages... warning: removing 'nvidia-340xx' from target list because it conflicts with 'nvidia-340xx-dkms' Packages (2) dkms-2.8.6-2 nvidia-340xx-dkms-340.108-24 Total Installed Size: 14.81 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing dkms... Optional dependencies for dkms linux-headers: build modules against the Arch kernel [installed] linux-lts-headers: build modules against the LTS kernel linux-zen-headers: build modules against the ZEN kernel linux-hardened-headers: build modules against the HARDENED kernel installing nvidia-340xx-dkms... >>> You must tell Xorg to use the nvidia driver with kernels >=5.11.0. Minimal config example provided in /usr/share/nvidia-340xx/20-nvidia.conf which you should manually place in /etc/X11/xorg.conf.d/ Optional dependencies for nvidia-340xx-dkms linux-headers: Build the module for Arch kernel [installed] :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Install DKMS modules ==> dkms install --no-depmod -m nvidia -v 340.108 -k 5.14.11-arch1-1 ==> depmod 5.14.11-arch1-1