nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Tue Sep 10 04:24:12 2019 installer version: 340.107 PATH: /usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin nvidia-installer command line: ./nvidia-installer Unable to load: nvidia-installer ncurses v6 user interface Using: nvidia-installer ncurses user interface -> License accepted. -> Installing NVIDIA driver version 340.107. -> Performing CC sanity check with CC="gcc". -> Kernel source path: '/lib/modules/5.1.2-poisoned/source' -> Kernel output path: '/lib/modules/5.1.2-poisoned/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.1.2-poisoned/source SYSOUT=/lib/modules/5.1.2-poisoned/build NV_BUILD_MODULE_INSTANCES='... NVIDIA: calling KBUILD... make[1]: Entering directory '/usr/src/linux-5.1.2' /usr/bin/make \ -C /lib/modules/5.1.2-poisoned/build KBUILD_SRC=/usr/src/linux-5.1.2 \ -f /usr/src/linux-5.1.2/Makefile modules make[2]: Entering directory '/usr/src/linux-5.1.2' /usr/src/linux-5.1.2/Makefile:205: ================= WARNING ================ /usr/src/linux-5.1.2/Makefile:206: 'SUBDIRS' will be removed after Linux 5.3 /usr/src/linux-5.1.2/Makefile:207: Please use 'M=' or 'KBUILD_EXTMOD' instead /usr/src/linux-5.1.2/Makefile:208: ========================================== 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) mkdir -p /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/.tmp_versions ; rm -f /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/.tmp_versions/* /usr/bin/make -f /usr/src/linux-5.1.2/scripts/Makefile.build obj=/home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel gcc -Wp,-MD,/home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/.nv.o.d -nostdinc -isystem /usr/local/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include -I/usr/src/linux-5.1.2/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.1.2/include -I./include -I/usr/src/linux-5.1.2/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.1.2/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.1.2/include/linux/kconfig.h -include /usr/src/linux-5.1.2/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boun dary=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-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/ lzhev/NVIDIA-Linux-x86_64-340.107/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -c -o /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv.o /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv.c In file included from /usr/src/linux-5.1.2/include/linux/byteorder/little_endian.h:11:0, from /usr/src/linux-5.1.2/arch/x86/include/uapi/asm/byteorder.h:5, from /usr/src/linux-5.1.2/include/asm-generic/bitops/le.h:6, from /usr/src/linux-5.1.2/arch/x86/include/asm/bitops.h:507, from /usr/src/linux-5.1.2/include/linux/bitops.h:19, from /usr/src/linux-5.1.2/include/linux/kernel.h:12, from /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:45, from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:6, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv.c:13: /usr/src/linux-5.1.2/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: /usr/src/linux-5.1.2/include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ /usr/src/linux-5.1.2/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’: /usr/src/linux-5.1.2/include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:5:0, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv.c:13: /usr/src/linux-5.1.2/include/linux/thread_info.h: In function ‘check_copy_size’: /usr/src/linux-5.1.2/include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ /usr/src/linux-5.1.2/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ /usr/src/linux-5.1.2/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-5.1.2/include/linux/mmzone.h:993:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-5.1.2/include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:6:0, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv.c:13: /usr/src/linux-5.1.2/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from /usr/src/linux-5.1.2/include/linux/page_ref.h:7:0, from /usr/src/linux-5.1.2/include/linux/mm.h:26, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:68, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv.c:13: /usr/src/linux-5.1.2/include/linux/page-flags.h: In function ‘PagePoisoned’: /usr/src/linux-5.1.2/include/linux/page-flags.h:192:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:6:0, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv.c:13: /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’: /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/cpumask.h:5:0, from /usr/src/linux-5.1.2/arch/x86/include/asm/msr.h:11, from /usr/src/linux-5.1.2/arch/x86/include/asm/processor.h:21, from /usr/src/linux-5.1.2/arch/x86/include/asm/cpufeature.h:5, from /usr/src/linux-5.1.2/arch/x86/include/asm/thread_info.h:53, from /usr/src/linux-5.1.2/include/linux/thread_info.h:38, from /usr/src/linux-5.1.2/arch/x86/include/asm/preempt.h:7, from /usr/src/linux-5.1.2/include/linux/preempt.h:78, from /usr/src/linux-5.1.2/include/linux/rcupdate.h:27, from /usr/src/linux-5.1.2/include/linux/rculist.h:11, from /usr/src/linux-5.1.2/include/linux/pid.h:5, from /usr/src/linux-5.1.2/include/linux/sched.h:14, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv.c:13: /usr/src/linux-5.1.2/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: /usr/src/linux-5.1.2/include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ /usr/src/linux-5.1.2/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: /usr/src/linux-5.1.2/include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ /usr/src/linux-5.1.2/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.1.2/include/linux/efi.h:20:0, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:173, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv.c:13: /usr/src/linux-5.1.2/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: /usr/src/linux-5.1.2/include/linux/rtc.h:238:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ /usr/src/linux-5.1.2/include/linux/rtc.h:243:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ ./tools/objtool/objtool orc generate --module --no-fp --retpoline /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv.o gcc -Wp,-MD,/home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/local/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include -I/usr/src/linux-5.1.2/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.1.2/include -I./include -I/usr/src/linux-5.1.2/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.1.2/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.1.2/include/linux/kconfig.h -include /usr/src/linux-5.1.2/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_ NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -c -o /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.o /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.c In file included from /usr/src/linux-5.1.2/include/linux/byteorder/little_endian.h:11:0, from /usr/src/linux-5.1.2/arch/x86/include/uapi/asm/byteorder.h:5, from /usr/src/linux-5.1.2/include/asm-generic/bitops/le.h:6, from /usr/src/linux-5.1.2/arch/x86/include/asm/bitops.h:507, from /usr/src/linux-5.1.2/include/linux/bitops.h:19, from /usr/src/linux-5.1.2/include/linux/kernel.h:12, from /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:45, from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:6, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.c:15: /usr/src/linux-5.1.2/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: /usr/src/linux-5.1.2/include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ /usr/src/linux-5.1.2/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’: /usr/src/linux-5.1.2/include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:5:0, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.c:15: /usr/src/linux-5.1.2/include/linux/thread_info.h: In function ‘check_copy_size’: /usr/src/linux-5.1.2/include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ /usr/src/linux-5.1.2/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ /usr/src/linux-5.1.2/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-5.1.2/include/linux/mmzone.h:993:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-5.1.2/include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:6:0, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.c:15: /usr/src/linux-5.1.2/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from /usr/src/linux-5.1.2/include/linux/page_ref.h:7:0, from /usr/src/linux-5.1.2/include/linux/mm.h:26, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:68, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.c:15: /usr/src/linux-5.1.2/include/linux/page-flags.h: In function ‘PagePoisoned’: /usr/src/linux-5.1.2/include/linux/page-flags.h:192:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:6:0, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.c:15: /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’: /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/cpumask.h:5:0, from /usr/src/linux-5.1.2/arch/x86/include/asm/msr.h:11, from /usr/src/linux-5.1.2/arch/x86/include/asm/processor.h:21, from /usr/src/linux-5.1.2/arch/x86/include/asm/cpufeature.h:5, from /usr/src/linux-5.1.2/arch/x86/include/asm/thread_info.h:53, from /usr/src/linux-5.1.2/include/linux/thread_info.h:38, from /usr/src/linux-5.1.2/arch/x86/include/asm/preempt.h:7, from /usr/src/linux-5.1.2/include/linux/preempt.h:78, from /usr/src/linux-5.1.2/include/linux/rcupdate.h:27, from /usr/src/linux-5.1.2/include/linux/rculist.h:11, from /usr/src/linux-5.1.2/include/linux/pid.h:5, from /usr/src/linux-5.1.2/include/linux/sched.h:14, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.c:15: /usr/src/linux-5.1.2/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: /usr/src/linux-5.1.2/include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ /usr/src/linux-5.1.2/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: /usr/src/linux-5.1.2/include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ /usr/src/linux-5.1.2/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.1.2/include/linux/efi.h:20:0, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:173, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.c:15: /usr/src/linux-5.1.2/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: /usr/src/linux-5.1.2/include/linux/rtc.h:238:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ /usr/src/linux-5.1.2/include/linux/rtc.h:243:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ ./tools/objtool/objtool orc generate --module --no-fp --retpoline /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-acpi.o gcc -Wp,-MD,/home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/local/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include -I/usr/src/linux-5.1.2/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.1.2/include -I./include -I/usr/src /linux-5.1.2/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.1.2/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.1.2/include/linux/kconfig.h -include /usr/src/linux-5.1.2/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-chec ks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' -c -o /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-ch rdev.o /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.c In file included from /usr/src/linux-5.1.2/include/linux/byteorder/little_endian.h:11:0, from /usr/src/linux-5.1.2/arch/x86/include/uapi/asm/byteorder.h:5, from /usr/src/linux-5.1.2/include/asm-generic/bitops/le.h:6, from /usr/src/linux-5.1.2/arch/x86/include/asm/bitops.h:507, from /usr/src/linux-5.1.2/include/linux/bitops.h:19, from /usr/src/linux-5.1.2/include/linux/kernel.h:12, from /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:45, from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:6, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.c:15: /usr/src/linux-5.1.2/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: /usr/src/linux-5.1.2/include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ /usr/src/linux-5.1.2/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’: /usr/src/linux-5.1.2/include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:5:0, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.c:15: /usr/src/linux-5.1.2/include/linux/thread_info.h: In function ‘check_copy_size’: /usr/src/linux-5.1.2/include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ /usr/src/linux-5.1.2/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ /usr/src/linux-5.1.2/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-5.1.2/include/linux/mmzone.h:993:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-5.1.2/include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:6:0, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.c:15: /usr/src/linux-5.1.2/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from /usr/src/linux-5.1.2/include/linux/page_ref.h:7:0, from /usr/src/linux-5.1.2/include/linux/mm.h:26, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:68, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.c:15: /usr/src/linux-5.1.2/include/linux/page-flags.h: In function ‘PagePoisoned’: /usr/src/linux-5.1.2/include/linux/page-flags.h:192:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:6:0, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.c:15: /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’: /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/cpumask.h:5:0, from /usr/src/linux-5.1.2/arch/x86/include/asm/msr.h:11, from /usr/src/linux-5.1.2/arch/x86/include/asm/processor.h:21, from /usr/src/linux-5.1.2/arch/x86/include/asm/cpufeature.h:5, from /usr/src/linux-5.1.2/arch/x86/include/asm/thread_info.h:53, from /usr/src/linux-5.1.2/include/linux/thread_info.h:38, from /usr/src/linux-5.1.2/arch/x86/include/asm/preempt.h:7, from /usr/src/linux-5.1.2/include/linux/preempt.h:78, from /usr/src/linux-5.1.2/include/linux/rcupdate.h:27, from /usr/src/linux-5.1.2/include/linux/rculist.h:11, from /usr/src/linux-5.1.2/include/linux/pid.h:5, from /usr/src/linux-5.1.2/include/linux/sched.h:14, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.c:15: /usr/src/linux-5.1.2/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: /usr/src/linux-5.1.2/include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ /usr/src/linux-5.1.2/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: /usr/src/linux-5.1.2/include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ /usr/src/linux-5.1.2/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.1.2/include/linux/efi.h:20:0, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:173, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.c:15: /usr/src/linux-5.1.2/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: /usr/src/linux-5.1.2/include/linux/rtc.h:238:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ /usr/src/linux-5.1.2/include/linux/rtc.h:243:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ ./tools/objtool/objtool orc generate --module --no-fp --retpoline /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-chrdev.o gcc -Wp,-MD,/home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/.nv-cray.o.d -nostdinc -isystem /usr/local/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include -I/usr/src/linux-5.1.2/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.1.2/include -I./include -I/usr/src/linux-5.1.2/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.1.2/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.1.2 /include/linux/kconfig.h -include /usr/src/linux-5.1.2/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-pr otector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -c -o /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.o /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.c In file included from /usr/src/linux-5.1.2/include/linux/byteorder/little_endian.h:11:0, from /usr/src/linux-5.1.2/arch/x86/include/uapi/asm/byteorder.h:5, from /usr/src/linux-5.1.2/include/asm-generic/bitops/le.h:6, from /usr/src/linux-5.1.2/arch/x86/include/asm/bitops.h:507, from /usr/src/linux-5.1.2/include/linux/bitops.h:19, from /usr/src/linux-5.1.2/include/linux/kernel.h:12, from /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:45, from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:6, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.c:15: /usr/src/linux-5.1.2/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: /usr/src/linux-5.1.2/include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ /usr/src/linux-5.1.2/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’: /usr/src/linux-5.1.2/include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:5:0, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.c:15: /usr/src/linux-5.1.2/include/linux/thread_info.h: In function ‘check_copy_size’: /usr/src/linux-5.1.2/include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ /usr/src/linux-5.1.2/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ /usr/src/linux-5.1.2/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-5.1.2/include/linux/mmzone.h:993:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-5.1.2/include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:6:0, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.c:15: /usr/src/linux-5.1.2/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from /usr/src/linux-5.1.2/include/linux/page_ref.h:7:0, from /usr/src/linux-5.1.2/include/linux/mm.h:26, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:68, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.c:15: /usr/src/linux-5.1.2/include/linux/page-flags.h: In function ‘PagePoisoned’: /usr/src/linux-5.1.2/include/linux/page-flags.h:192:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:6:0, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.c:15: /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’: /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/cpumask.h:5:0, from /usr/src/linux-5.1.2/arch/x86/include/asm/msr.h:11, from /usr/src/linux-5.1.2/arch/x86/include/asm/processor.h:21, from /usr/src/linux-5.1.2/arch/x86/include/asm/cpufeature.h:5, from /usr/src/linux-5.1.2/arch/x86/include/asm/thread_info.h:53, from /usr/src/linux-5.1.2/include/linux/thread_info.h:38, from /usr/src/linux-5.1.2/arch/x86/include/asm/preempt.h:7, from /usr/src/linux-5.1.2/include/linux/preempt.h:78, from /usr/src/linux-5.1.2/include/linux/rcupdate.h:27, from /usr/src/linux-5.1.2/include/linux/rculist.h:11, from /usr/src/linux-5.1.2/include/linux/pid.h:5, from /usr/src/linux-5.1.2/include/linux/sched.h:14, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.c:15: /usr/src/linux-5.1.2/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: /usr/src/linux-5.1.2/include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ /usr/src/linux-5.1.2/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: /usr/src/linux-5.1.2/include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ /usr/src/linux-5.1.2/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.1.2/include/linux/efi.h:20:0, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:173, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.c:15: /usr/src/linux-5.1.2/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: /usr/src/linux-5.1.2/include/linux/rtc.h:238:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ /usr/src/linux-5.1.2/include/linux/rtc.h:243:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ ./tools/objtool/objtool orc generate --module --no-fp --retpoline /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-cray.o gcc -Wp,-MD,/home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/.nv-dma.o.d -nostdinc -isystem /usr/local/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include -I/usr/src/linux-5.1.2/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.1.2/include -I./include -I/usr/src/linux-5.1.2/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.1.2/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.1.2/include/linux/kconfig.h -include /usr/src/linux-5.1.2/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-stric t-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -c -o /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.o /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.c In file included from /usr/src/linux-5.1.2/include/linux/byteorder/little_endian.h:11:0, from /usr/src/linux-5.1.2/arch/x86/include/uapi/asm/byteorder.h:5, from /usr/src/linux-5.1.2/include/asm-generic/bitops/le.h:6, from /usr/src/linux-5.1.2/arch/x86/include/asm/bitops.h:507, from /usr/src/linux-5.1.2/include/linux/bitops.h:19, from /usr/src/linux-5.1.2/include/linux/kernel.h:12, from /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:45, from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:6, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.c:15: /usr/src/linux-5.1.2/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: /usr/src/linux-5.1.2/include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ /usr/src/linux-5.1.2/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’: /usr/src/linux-5.1.2/include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:5:0, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.c:15: /usr/src/linux-5.1.2/include/linux/thread_info.h: In function ‘check_copy_size’: /usr/src/linux-5.1.2/include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ /usr/src/linux-5.1.2/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ /usr/src/linux-5.1.2/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-5.1.2/include/linux/mmzone.h:993:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-5.1.2/include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:6:0, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.c:15: /usr/src/linux-5.1.2/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from /usr/src/linux-5.1.2/include/linux/page_ref.h:7:0, from /usr/src/linux-5.1.2/include/linux/mm.h:26, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:68, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.c:15: /usr/src/linux-5.1.2/include/linux/page-flags.h: In function ‘PagePoisoned’: /usr/src/linux-5.1.2/include/linux/page-flags.h:192:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:6:0, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.c:15: /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’: /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/cpumask.h:5:0, from /usr/src/linux-5.1.2/arch/x86/include/asm/msr.h:11, from /usr/src/linux-5.1.2/arch/x86/include/asm/processor.h:21, from /usr/src/linux-5.1.2/arch/x86/include/asm/cpufeature.h:5, from /usr/src/linux-5.1.2/arch/x86/include/asm/thread_info.h:53, from /usr/src/linux-5.1.2/include/linux/thread_info.h:38, from /usr/src/linux-5.1.2/arch/x86/include/asm/preempt.h:7, from /usr/src/linux-5.1.2/include/linux/preempt.h:78, from /usr/src/linux-5.1.2/include/linux/rcupdate.h:27, from /usr/src/linux-5.1.2/include/linux/rculist.h:11, from /usr/src/linux-5.1.2/include/linux/pid.h:5, from /usr/src/linux-5.1.2/include/linux/sched.h:14, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.c:15: /usr/src/linux-5.1.2/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: /usr/src/linux-5.1.2/include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ /usr/src/linux-5.1.2/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: /usr/src/linux-5.1.2/include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ /usr/src/linux-5.1.2/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.1.2/include/linux/efi.h:20:0, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:173, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.c:15: /usr/src/linux-5.1.2/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: /usr/src/linux-5.1.2/include/linux/rtc.h:238:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ /usr/src/linux-5.1.2/include/linux/rtc.h:243:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ ./tools/objtool/objtool orc generate --module --no-fp --retpoline /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-dma.o gcc -Wp,-MD,/home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/.nv-drm.o.d -nostdinc -isystem /usr/local/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include -I/usr/src/linux-5.1.2/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-5.1.2/include -I./include -I/usr/src/linux-5.1.2/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-5.1.2/include/uapi -I./include/generated/uapi -include /usr/src/linux-5.1.2/include/linux/kconfig.h -include /usr/src/linux-5.1.2/include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops =1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUIL D_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.107\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_drm"' -DKBUILD_MODNAME='"nvidia"' -c -o /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.o /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c In file included from /usr/src/linux-5.1.2/include/linux/byteorder/little_endian.h:11:0, from /usr/src/linux-5.1.2/arch/x86/include/uapi/asm/byteorder.h:5, from /usr/src/linux-5.1.2/include/asm-generic/bitops/le.h:6, from /usr/src/linux-5.1.2/arch/x86/include/asm/bitops.h:507, from /usr/src/linux-5.1.2/include/linux/bitops.h:19, from /usr/src/linux-5.1.2/include/linux/kernel.h:12, from /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:45, from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:6, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c:15: /usr/src/linux-5.1.2/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’: /usr/src/linux-5.1.2/include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ /usr/src/linux-5.1.2/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’: /usr/src/linux-5.1.2/include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) ^ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:5:0, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c:15: /usr/src/linux-5.1.2/include/linux/thread_info.h: In function ‘check_copy_size’: /usr/src/linux-5.1.2/include/linux/thread_info.h:141:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unlikely(sz >= 0 && sz < bytes)) { ^ /usr/src/linux-5.1.2/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’ # define unlikely(x) __builtin_expect(!!(x), 0) ^ /usr/src/linux-5.1.2/include/linux/mmzone.h: In function ‘next_zones_zonelist’: /usr/src/linux-5.1.2/include/linux/mmzone.h:993:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) ^ /usr/src/linux-5.1.2/include/linux/compiler.h:76:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:6:0, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c:15: /usr/src/linux-5.1.2/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’: /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:184:3: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’: /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’ #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’ #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-refcount.h:283:3: note: in expansion of macro ‘this_cpu_sub’ this_cpu_sub(*percpu_count, nr); ^~~~~~~~~~~~ In file included from /usr/src/linux-5.1.2/include/linux/page_ref.h:7:0, from /usr/src/linux-5.1.2/include/linux/mm.h:26, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:68, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c:15: /usr/src/linux-5.1.2/include/linux/page-flags.h: In function ‘PagePoisoned’: /usr/src/linux-5.1.2/include/linux/page-flags.h:192:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return page->flags == PAGE_POISON_PATTERN; ^~ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/current.h:6:0, from /usr/src/linux-5.1.2/include/linux/sched.h:12, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c:15: /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’: /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘raw_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘raw_cpu_add_2’ case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_4’ case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((val) == 1 || (val) == -1)) ? \ ^ /usr/src/linux-5.1.2/arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’ #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val) ^~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_8’ case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:422:32: note: in expansion of macro ‘__pcpu_size_call’ #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:458:2: note: in expansion of macro ‘raw_cpu_add’ raw_cpu_add(pcp, val); \ ^~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:496:34: note: in expansion of macro ‘__this_cpu_add’ #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-defs.h:498:30: note: in expansion of macro ‘__this_cpu_sub’ #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1) ^~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/percpu-rwsem.h:87:3: note: in expansion of macro ‘__this_cpu_dec’ __this_cpu_dec(*sem->read_count); ^~~~~~~~~~~~~~ In file included from /usr/src/linux-5.1.2/arch/x86/include/asm/cpumask.h:5:0, from /usr/src/linux-5.1.2/arch/x86/include/asm/msr.h:11, from /usr/src/linux-5.1.2/arch/x86/include/asm/processor.h:21, from /usr/src/linux-5.1.2/arch/x86/include/asm/cpufeature.h:5, from /usr/src/linux-5.1.2/arch/x86/include/asm/thread_info.h:53, from /usr/src/linux-5.1.2/include/linux/thread_info.h:38, from /usr/src/linux-5.1.2/arch/x86/include/asm/preempt.h:7, from /usr/src/linux-5.1.2/include/linux/preempt.h:78, from /usr/src/linux-5.1.2/include/linux/rcupdate.h:27, from /usr/src/linux-5.1.2/include/linux/rculist.h:11, from /usr/src/linux-5.1.2/include/linux/pid.h:5, from /usr/src/linux-5.1.2/include/linux/sched.h:14, from /usr/src/linux-5.1.2/include/linux/utsname.h:6, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:44, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c:15: /usr/src/linux-5.1.2/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’: /usr/src/linux-5.1.2/include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ /usr/src/linux-5.1.2/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’: /usr/src/linux-5.1.2/include/linux/cpumask.h:243:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (cpu) < nr_cpu_ids;) ^ /usr/src/linux-5.1.2/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’ #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) ^~~~~~~~~~~~ /usr/src/linux-5.1.2/include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’ for_each_online_cpu(cpu) ^~~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.1.2/include/linux/efi.h:20:0, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-linux.h:173, from /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c:15: /usr/src/linux-5.1.2/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’: /usr/src/linux-5.1.2/include/linux/rtc.h:238:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { ^ /usr/src/linux-5.1.2/include/linux/rtc.h:243:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { ^ /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c: In function ‘nv_drm_gem_object_unreference_unlocked’: /home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.c:46:5: error: implicit declaration of function ‘drm_gem_object_unreference_unlocked’; did you mean ‘nv_drm_gem_object_unreference_unlocked’? [-Werror=implicit-function-declaration] drm_gem_object_unreference_unlocked(&nv_gem->base); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nv_drm_gem_object_unreference_unlocked cc1: some warnings being treated as errors /usr/src/linux-5.1.2/scripts/Makefile.build:275: recipe for target '/home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.o' failed make[3]: *** [/home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel/nv-drm.o] Error 1 /usr/src/linux-5.1.2/Makefile:1571: recipe for target '_module_/home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel' failed make[2]: *** [_module_/home/lzhev/NVIDIA-Linux-x86_64-340.107/kernel] Error 2 make[2]: Leaving directory '/usr/src/linux-5.1.2' Makefile:169: recipe for target 'sub-make' failed make[1]: *** [sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-5.1.2' NVIDIA: left KBUILD. nvidia.ko failed to build! Makefile:194: recipe for target 'nvidia.ko' failed make: *** [nvidia.ko] Error 1 -> Error. ERROR: Unable to build the NVIDIA kernel module. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.