nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Fri Apr 3 14:37:27 2020 installer version: 340.108 PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin nvidia-installer command line: ./nvidia-installer Using: nvidia-installer ncurses v6 user interface -> Tagging shared libraries with chcon -t textrel_shlib_t. -> License accepted. -> Installing NVIDIA driver version 340.108. -> Performing CC sanity check with CC="/usr/bin/cc". -> The CC version check failed: The compiler used to compile the kernel (gcc 9.2) does not exactly match the current compiler (gcc 9.3). The Linux 2.6 kernel module loader rejects kernel modules built with a version of gcc that does not exactly match that of the compiler used to build the running kernel. If you know what you are doing you can either ignore the CC version check and continue installation, or abort installation, set the CC environment variable to the name of the compiler used to compile your kernel, and restart installation. (Answer: Ignore CC version check) -> Kernel source path: '/lib/modules/5.5.13-200.fc31.x86_64/source' -> Kernel output path: '/lib/modules/5.5.13-200.fc31.x86_64/build' -> Performing rivafb check. -> Performing nvidiafb check. -> Performing Xen check. -> Performing PREEMPT_RT check. -> Cleaning kernel module build directory. executing: 'cd ./kernel; /usr/bin/make clean'... -> Building NVIDIA kernel module: executing: 'cd ./kernel; /usr/bin/make module SYSSRC=/lib/modules/5.5.13-200.fc31.x86_64/source SYSOUT=/lib/modules/5.5.13-200.fc31.x86_64/build NV_BUILD_MODULE_INSTANCES='... NVIDIA: calling KBUILD... make[1]: Entering directory '/usr/src/kernels/5.5.13-200.fc31.x86_64' 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) /usr/bin/make -f ./scripts/Makefile.build obj=/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel \ single-build= \ need-builtin=1 need-modorder=1 cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=stri ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-varia ble -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:13: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:13: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:13: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:13: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:13: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:13: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:13: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mn o-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-co nstants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-acpi.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-acpi.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-acpi.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-acpi.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-acpi.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-acpi.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-acpi.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-acpi.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CF I_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODU LE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-chrdev.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-chrdev.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-chrdev.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-chrdev.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-chrdev.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-chrdev.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-chrdev.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-chrdev.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign- compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__ KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-cray.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-cray.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-cray.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-cray.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-cray.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-cray.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-cray.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-cray.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-forma t-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-dma.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-dma.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-dma.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-dma.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-dma.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-dma.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-dma.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-dma.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-pro totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -f no-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_drm"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-drm.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-drm.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-drm.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-drm.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-drm.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-drm.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-drm.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-drm.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -f no-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_gvi"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-gvi.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-gvi.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-gvi.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-gvi.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-gvi.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-gvi.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-gvi.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-gvi.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_ CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-n ot-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-i2c.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-i2c.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-i2c.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-i2c.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-i2c.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-i2c.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-i2c.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-i2c.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL_ _ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_mempool"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mempool.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mempool.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mempool.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mempool.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mempool.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mempool.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mempool.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mempool.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-form at-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -D NV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mmap.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mmap.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mmap.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mmap.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mmap.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mmap.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mmap.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mmap.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mmap.c: In function 'nv_encode_caching': /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mmap.c:199:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 199 | if (NV_ALLOW_CACHING(memory_type)) | ^ /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mmap.c:201:9: note: here 201 | default: | ^~~~~~~ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv-p2p.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_ AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.1 08/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"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-p2p.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-p2p.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-p2p.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-p2p.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-p2p.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-p2p.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-p2p.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-p2p.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv-pat.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-chec ks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_pat"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-pat.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-pat.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-pat.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-pat.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-pat.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-pat.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-pat.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-pat.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv-procfs.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/comp iler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-var iable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_procfs"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-procfs.o /tmp/selfgz3 103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-procfs.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-procfs.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-procfs.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-procfs.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-procfs.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-procfs.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-procfs.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclarat ion-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_usermap"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-usermap.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-usermap.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-usermap.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-usermap.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-usermap.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-usermap.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-usermap.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-usermap.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -m no-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -We rror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_vm"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vm.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vm.c:14: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vm.c:14: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vm.c:14: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vm.c:14: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vm.c:14: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vm.c:14: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vm.c:14: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv-vtophys.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DN DEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_vtophys"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vtophys.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vtophys.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vtophys.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vtophys.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vtophys.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vtophys.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vtophys.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vtophys.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.os-interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirec t-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"34 0.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"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-interface.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-interface.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-interface.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-interface.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-interface.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-interface.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-interface.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-interface.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.os-mlock.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-fo rmat-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\ " -DMODULE -DKBUILD_BASENAME='"os_mlock"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-mlock.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-mlock.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-mlock.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-mlock.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-mlock.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-mlock.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-mlock.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-mlock.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.os-pci.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wu ndef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-u nused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_pci"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-pci.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-pci.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-pci.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-pci.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-pci.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-pci.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-pci.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-pci.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.os-registry.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed -member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-trunca tion -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_registry"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-registry.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-registry.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-registry.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-registry.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-registry.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-registry.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-registry.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-registry.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.os-smp.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundar y=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -We rror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_smp"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-smp.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-smp.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-smp.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-smp.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-smp.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-smp.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-smp.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-smp.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.os-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONF IG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64 -340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_usermap"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-usermap.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-usermap.c:15: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-usermap.c:15: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-usermap.c:15: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-usermap.c:15: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-usermap.c:15: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-usermap.c:15: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-usermap.c:15: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv_uvm_interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch -register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitia lized -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"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv_uvm_interface.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv_uvm_interface.c:21: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv_uvm_interface.c:21: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv_uvm_interface.c:21: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv_uvm_interface.c:21: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv_uvm_interface.c:21: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv_uvm_interface.c:21: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv_uvm_interface.c:21: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv-frontend.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wn o-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvi dia\" -DMODULE -DKBUILD_BASENAME='"nv_frontend"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-frontend.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-frontend.c:13: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-frontend.c:13: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-frontend.c:13: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-frontend.c:13: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-frontend.c:13: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-frontend.c:13: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/efi.h:20, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:173, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-frontend.c:13: ./include/linux/rtc.h: In function 'rtc_tv_nsec_ok': ./include/linux/rtc.h:243:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 243 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { | ^ ./include/linux/rtc.h:248:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 248 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { | ^ ld -m elf_x86_64 -z max-page-size=0x200000 -r -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nvidia.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-kernel.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-acpi.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-chrdev.o /tmp/selfgz3103/N VIDIA-Linux-x86_64-340.108/kernel/nv-cray.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-dma.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-drm.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-gvi.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-i2c.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mempool.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mmap.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-p2p.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-pat.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-procfs.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-usermap.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vm.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vtophys.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-interface.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-mlock.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-pci.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-reg istry.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-smp.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-usermap.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv_uvm_interface.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-frontend.o { echo /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-kernel.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-acpi.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-chrdev.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-cray.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-dma.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-drm.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-gvi.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-i2c.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mempool.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-mmap.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-p2p.o /tmp/selfgz3103/NV IDIA-Linux-x86_64-340.108/kernel/nv-pat.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-procfs.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-usermap.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vm.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-vtophys.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-interface.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-mlock.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-pci.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-registry.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-smp.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/os-usermap.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv_uvm_interface.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-frontend.o; echo; } > /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nvidia.mod { echo /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nvidia.ko; :; } \ | awk '!x[$0]++' - > /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/modules.order /usr/bin/make -f ./scripts/Makefile.modpost sed 's/ko$/o/' /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/modules.order | scripts/mod/modpost -i ./Module.symvers -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/Module.symvers -s -T - WARNING: could not find /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nv-kernel.o.cmd for /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nv-kernel.o /usr/bin/make -f ./scripts/Makefile.modfinal cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/.nvidia.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaratio n -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclar ation-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -DMODULE -DKBUILD_BASENAME='"nvidia.mod"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nvidia.mod.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nvidia.mod.c ld -r -m elf_x86_64 -z max-page-size=0x200000 --build-id -T ./scripts/module-common.lds -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nvidia.ko /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nvidia.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/nvidia.mod.o; true make[1]: Leaving directory '/usr/src/kernels/5.5.13-200.fc31.x86_64' NVIDIA: left KBUILD. -> done. -> Building Unified Memory kernel module: executing: 'cd ./kernel/uvm; /usr/bin/make module SYSSRC=/lib/modules/5.5.13-200.fc31.x86_64/source SYSOUT=/lib/modules/5.5.13-200.fc31.x86_64/build NV_BUILD_MODULE_INSTANCES='... 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 /lib/modules/5.5.13-200.fc31.x86_64/source /lib/modules/5.5.13-200.fc31.x86_64/build KERNEL_SOURCES: /lib/modules/5.5.13-200.fc31.x86_64/source EXTRA_CFLAGS: -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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/src/kernels/5.5.13-200.fc31.x86_64' 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) /usr/bin/make -f ./scripts/Makefile.build obj=/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm \ single-build= \ need-builtin=1 need-modorder=1 cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/.nvidia_uvm_linux.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=dat e-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/.. -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.o /tmp/selfgz3103/NVIDIA-Linux-x86 _64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.c:24: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.c:24: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:83, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.c:24: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.c:24: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.c:24: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.c:24: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/.nvidia_uvm_common.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-del ete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108 /kernel/uvm -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/.. -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.c:41: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.c:41: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:83, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.c:41: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.c:41: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.c:41: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.c:41: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/.nvidia_uvm_utils.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_ AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm -I/tmp/se lfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/.. -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_utils.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_utils.c:25: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_utils.c:25: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:83, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_utils.c:25: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_utils.c:25: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_utils.c:25: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_utils.c:25: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ cc -Wp,-MD,/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/.nvidia_uvm_lite.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=s trict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-va riable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/.. -I/tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialize d -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"' -c -o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_lite.o /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/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:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:26, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:45, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/utsname.h:6, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_lite.c:26: ./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array': ./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 195 | for (i = 0; i < len; i++) | ^ ./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array': ./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_lite.c:26: ./include/linux/thread_info.h: In function 'check_copy_size': ./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 141 | if (unlikely(sz >= 0 && sz < bytes)) { | ^ ./include/linux/compiler.h:78:42: 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:16, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:83, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_lite.c:26: ./include/linux/page-flags.h: In function 'PagePoisoned': ./include/linux/page-flags.h:194:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 194 | 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_lite.c:26: ./include/linux/mmzone.h: In function 'next_zones_zonelist': ./include/linux/mmzone.h:1055:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare] 1055 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) | ^~ ./include/linux/compiler.h:77:40: 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_lite.c:26: ./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-refcount.h:192:3: note: in expansion of macro 'this_cpu_add' 192 | this_cpu_add(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:432:34: note: in expansion of macro 'percpu_add_op' 432 | #define this_cpu_add_1(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:433:34: note: in expansion of macro 'percpu_add_op' 433 | #define this_cpu_add_2(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:434:34: note: in expansion of macro 'percpu_add_op' 434 | #define this_cpu_add_4(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:492:35: note: in expansion of macro 'percpu_add_op' 492 | #define this_cpu_add_8(pcp, val) percpu_add_op(volatile, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call' 509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:519:33: note: 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:291:3: note: in expansion of macro 'this_cpu_sub' 291 | this_cpu_sub(*percpu_count, nr); | ^~~~~~~~~~~~ ./include/linux/percpu-rwsem.h: In function 'percpu_up_read': ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op' 401 | #define raw_cpu_add_1(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'raw_cpu_add_1' 377 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op' 402 | #define raw_cpu_add_2(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'raw_cpu_add_2' 378 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op' 403 | #define raw_cpu_add_4(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_4' 379 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | ((val) == 1 || (val) == -1)) ? \ | ^~ ./arch/x86/include/asm/percpu.h:483:35: note: in expansion of macro 'percpu_add_op' 483 | #define raw_cpu_add_8(pcp, val) percpu_add_op(, (pcp), val) | ^~~~~~~~~~~~~ ./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_8' 380 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~ ./include/linux/percpu-defs.h:422:32: note: in expansion of macro '__pcpu_size_call' 422 | #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:458:2: note: in expansion of macro 'raw_cpu_add' 458 | raw_cpu_add(pcp, val); \ | ^~~~~~~~~~~ ./include/linux/percpu-defs.h:496:34: note: in expansion of macro '__this_cpu_add' 496 | #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) | ^~~~~~~~~~~~~~ ./include/linux/percpu-defs.h:498:30: note: in expansion of macro '__this_cpu_sub' 498 | #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) | ^~~~~~~~~~~~~~ ./include/linux/percpu-rwsem.h:91:3: note: in expansion of macro '__this_cpu_dec' 91 | __this_cpu_dec(*sem->read_count); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/paravirt.h:17, from ./arch/x86/include/asm/irqflags.h:72, 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 /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_linux.h:62, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_common.h:49, from /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_lite.c:26: ./include/linux/vmstat.h: In function 'zone_numa_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:162:2: note: in expansion of macro 'for_each_online_cpu' 162 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/vmstat.h: In function 'zone_page_state_snapshot': ./include/linux/cpumask.h:259:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 259 | (cpu) < nr_cpu_ids;) | ^ ./include/linux/cpumask.h:807:36: note: in expansion of macro 'for_each_cpu' 807 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) | ^~~~~~~~~~~~ ./include/linux/vmstat.h:227:2: note: in expansion of macro 'for_each_online_cpu' 227 | for_each_online_cpu(cpu) | ^~~~~~~~~~~~~~~~~~~ /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_lite.c: At top level: /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_lite.c:859:14: error: initialization of 'vm_fault_t (*)(struct vm_fault *)' {aka 'unsigned int (*)(struct vm_fault *)'} from incompatible pointer type 'int (*)(struct vm_area_struct *, struct vm_fault *)' [-Werror=incompatible-pointer-types] 859 | .fault = _fault, | ^~~~~~ /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_lite.c:859:14: note: (near initialization for 'uvmlite_vma_ops.fault') /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_lite.c:889:14: error: initialization of 'vm_fault_t (*)(struct vm_fault *)' {aka 'unsigned int (*)(struct vm_fault *)'} from incompatible pointer type 'int (*)(struct vm_area_struct *, struct vm_fault *)' [-Werror=incompatible-pointer-types] 889 | .fault = _sigbus_fault, | ^~~~~~~~~~~~~ /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_lite.c:889:14: note: (near initialization for 'counters_vma_ops.fault') cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:266: /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm/nvidia_uvm_lite.o] Error 1 make[1]: *** [Makefile:1694: /tmp/selfgz3103/NVIDIA-Linux-x86_64-340.108/kernel/uvm] Error 2 make[1]: Leaving directory '/usr/src/kernels/5.5.13-200.fc31.x86_64' NVIDIA: left KBUILD. nvidia-uvm.ko failed to build! make: *** [Makefile:217: nvidia-uvm.ko] Error 1 -> Error. -> Unable to build the Unified Memory kernel module. -> The Unified Memory kernel module failed to build. Driver installation will proceed without this module. -> Kernel module compilation complete. -> Unable to determine if Secure Boot is enabled: No such file or directory -> Kernel messages: [ 321.873524] FS-Cache: Netfs 'cifs' registered for caching [ 321.894569] Key type cifs.spnego registered [ 321.894579] Key type cifs.idmap registered [ 321.895682] CIFS: Attempting to mount //ls220db87/fred [ 321.895732] CIFS: ignoring forceuid mount option specified with no uid= option. [ 425.353589] perf: interrupt took too long (6406 > 6376), lowering kernel.perf_event_max_sample_rate to 31000 [ 605.346013] perf: interrupt took too long (8027 > 8007), lowering kernel.perf_event_max_sample_rate to 24000 [ 1170.739391] sdf: sdf1 sdf2 sdf3 [ 1228.160703] usb 1-2: USB disconnect, device number 4 [ 2369.502449] CIFS: Attempting to mount //192.168.1.17/fred [ 2369.530509] FS-Cache: Duplicate cookie detected [ 2369.530517] FS-Cache: O-cookie c=0000000018d3f412 [p=00000000fdbae9b5 fl=222 nc=0 na=1] [ 2369.530519] FS-Cache: O-cookie d=000000005b8404ca n=0000000081015f8d [ 2369.530521] FS-Cache: O-key=[4] '66726564' [ 2369.530527] FS-Cache: N-cookie c=0000000030a66162 [p=00000000fdbae9b5 fl=2 nc=0 na=1] [ 2369.530529] FS-Cache: N-cookie d=000000005b8404ca n=000000002855af2f [ 2369.530530] FS-Cache: N-key=[4] '66726564' [ 2604.573705] nvidia: loading out-of-tree module taints kernel. [ 2604.573719] nvidia: module license 'NVIDIA' taints kernel. [ 2604.573720] Disabling lock debugging due to kernel taint [ 2604.593840] nvidia: module verification failed: signature and/or required key missing - tainting kernel [ 2604.612439] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem [ 2604.614389] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 0 [ 2604.614408] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 340.108 Wed Dec 11 11:06:58 PST 2019 [ 2604.620286] [drm] Module unloaded -> Installing both new and classic TLS OpenGL libraries. -> Installing both new and classic TLS 32bit OpenGL libraries. -> Install NVIDIA's 32-bit compatibility libraries? (Answer: Yes) -> nvidia-installer will install the libvdpau and libvdpau_trace libraries that were included with this installer package. These libraries are available separately through the libvdpau project and will be removed from the NVIDIA Linux driver installer package in the future, so it is recommended that VDPAU users install libvdpau separately, e.g. by using packages available from their distributions, or by building from the sources available at: http://people.freedesktop.org/~aplattner/vdpau -> Searching for conflicting X files: -> done. -> Searching for conflicting OpenGL files: -> done. -> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (340.108): executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/xorg/modules/drivers/nvidia_drv.so'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/xorg/modules/libnvidia-wfb.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-glcore.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libGL.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/xorg/modules/extensions/libglx.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-tls.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/tls/libnvidia-tls.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-cfg.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-fbc.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-ml.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libcuda.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-opencl.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libOpenCL.so.1.0.0'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-compiler.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libvdpau.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/vdpau/libvdpau_trace.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/vdpau/libvdpau_nvidia.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvcuvid.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-encode.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-eglcore.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-glsi.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libGLESv2.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libGLESv1_CM.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libEGL.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib64/libnvidia-ifr.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/libcuda.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-ml.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/libOpenCL.so.1.0.0'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-compiler.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-opencl.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/libGL.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-glcore.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-tls.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/tls/libnvidia-tls.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/libvdpau.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/vdpau/libvdpau_trace.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/vdpau/libvdpau_nvidia.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvcuvid.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-encode.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-eglcore.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-glsi.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/libEGL.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/libGLESv2.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/libGLESv1_CM.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-ifr.so.340.108'... executing: '/usr/bin/chcon -t textrel_shlib_t /usr/lib/libnvidia-fbc.so.340.108'... executing: '/usr/sbin/ldconfig'... executing: '/usr/sbin/depmod -aq '... depmod: WARNING: Ignored deprecated option -q -> done. -> Driver file installation is complete. -> Running post-install sanity check: -> done. -> Post-install sanity check passed. -> Shared memory test passed. -> Running runtime sanity check: -> done. -> Runtime sanity check passed. -> Would you like to run the nvidia-xconfig utility to automatically update your X configuration file so that the NVIDIA X driver will be used when you restart X? Any pre-existing X configuration file will be backed up. (Answer: Yes) -> Your X configuration file has been successfully updated. Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86_64 (version: 340.108) is now complete.