Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nvidia-installer log file '/var/log/nvidia-installer.log'
- creation time: Thu Apr 18 21:48:02 2019
- installer version: 340.107
- PATH: /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/opt/porteus-scripts
- nvidia-installer command line:
- ./nvidia-installer
- Using: nvidia-installer ncurses v6 user interface
- -> License accepted.
- -> Installing NVIDIA driver version 340.107.
- -> Performing CC sanity check with CC="/usr/bin/cc".
- -> Kernel source path: '/lib/modules/4.4.178-porteus/source'
- -> Kernel output path: '/lib/modules/4.4.178-porteus/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/4.4.178-porteus/source SYSOUT=/lib/modules/4.4.178-porteus/build NV_BUILD_MODULE_INSTANCES='...
- NVIDIA: calling KBUILD...
- make[1]: Entering directory '/usr/src/linux-4.4.178'
- /usr/bin/make -C /lib/modules/4.4.178-porteus/build KBUILD_SRC=/usr/src/linux-4.4.178 \
- -f /usr/src/linux-4.4.178/Makefile modules
- make[2]: Entering directory '/usr/src/linux-4.4.178'
- 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 /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_versions ; rm -f /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_versions/*
- /usr/bin/make -f /usr/src/linux-4.4.178/scripts/Makefile.build obj=/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONF
- IG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VER
- SION_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 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.1
- 78/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-po
- inter-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/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 -D"KBUILD
- _STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178
- /include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --
- param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/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 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_chrdev)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv
- -chrdev.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
- -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-
- variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/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 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_cray)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-dma.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -f
- no-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/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 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_dma)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-drm.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -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
- -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligne
- d -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/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 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_drm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-gvi.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1
- -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/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 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-i2c.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mi
- ndirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/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 -mc
- model=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-mempool.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/li
- nux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-tru
- ncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/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 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mempool)" -D"KBUILD_MODNAM
- E=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-mmap.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-34
- 0.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wfram
- e-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/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 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mmap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kerne
- l/nv-mmap.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-p2p.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaratio
- n -Wno-format-security -std=gnu89 -fno-PIE -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclara
- tion-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/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 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_p2p)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-pat.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpr
- eferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack
- -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/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 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_pat)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-procfs.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_A
- S_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG
- -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/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 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_procfs)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-usermap.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_
- AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -D
- NVRM -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 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_usermap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-vm.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr
- /src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern
- -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/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_ENABL
- E -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-vtophys.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclud
- e/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno
- -int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/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 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vtophys)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/
- NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.os-interface.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D_
- _KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stac
- k-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/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 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.c:15:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.c:15:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.c:15:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.os-mlock.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declar
- ation -Wno-format-security -std=gnu89 -fno-PIE -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdec
- laration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/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 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_mlock)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.os-pci.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -
- fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/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 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_pci)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.c:15:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.c:15:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-refcount.h:177:3: note: in expansion of macro ‘this_cpu_add’
- this_cpu_add(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:394:11: note: in expansion of macro ‘this_cpu_add_1’
- case 1: stem##1(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:395:11: note: in expansion of macro ‘this_cpu_add_2’
- case 2: stem##2(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:396:11: note: in expansion of macro ‘this_cpu_add_4’
- case 4: stem##4(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
- #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
- ^~~~~~~~~~~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:397:11: note: in expansion of macro ‘this_cpu_add_8’
- case 8: stem##8(variable, __VA_ARGS__);break; \
- ^~~~
- /usr/src/linux-4.4.178/include/linux/percpu-defs.h:526: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-4.4.178/include/linux/percpu-defs.h:536: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-4.4.178/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
- this_cpu_sub(*percpu_count, nr);
- ^~~~~~~~~~~~
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.c:15:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- cc -Wp,-MD,/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.os-registry.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/8.3.0/include -I/usr/src/linux-4.4.178/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.178/include -Iinclude -I/usr/src/linux-4.4.178/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.178/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.178/include/linux/kconfig.h -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_A
- S_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-attribute-alias -Os --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0
- -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/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 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_registry)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.o /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.c
- In file included from /usr/src/linux-4.4.178/include/uapi/linux/stddef.h:1,
- from /usr/src/linux-4.4.178/include/linux/stddef.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/posix_types.h:4,
- from /usr/src/linux-4.4.178/include/uapi/linux/types.h:13,
- from /usr/src/linux-4.4.178/include/linux/types.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/capability.h:16,
- from /usr/src/linux-4.4.178/include/linux/capability.h:15,
- from /usr/src/linux-4.4.178/include/linux/sched.h:15,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.c:15:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
- /usr/src/linux-4.4.178/include/asm-generic/qrwlock.h:93:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^~
- /usr/src/linux-4.4.178/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from /usr/src/linux-4.4.178/arch/x86/include/asm/preempt.h:5,
- from /usr/src/linux-4.4.178/include/linux/preempt.h:59,
- from /usr/src/linux-4.4.178/include/linux/spinlock.h:50,
- from /usr/src/linux-4.4.178/include/linux/seqlock.h:35,
- from /usr/src/linux-4.4.178/include/linux/time.h:5,
- from /usr/src/linux-4.4.178/include/uapi/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/timex.h:56,
- from /usr/src/linux-4.4.178/include/linux/sched.h:19,
- from /usr/src/linux-4.4.178/include/linux/utsname.h:5,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
- from /tmp/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.c:15:
- /usr/src/linux-4.4.178/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
- /usr/src/linux-4.4.178/arch/x86/include/asm/percpu.h:130:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
- ((val) == 1 || (val) == -1)) ? \
- ^~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement