Powered by foobar. Your IP: 54.210.61.41 | Toc:Content:mesg: ttyname failed: Inappropriate ioctl for device
+ install -d /tmp/B.0kzzKu/BUILD /tmp/B.0kzzKu/RPMS
+ LC_ALL=en_US.UTF-8
+ rpm -qp --changelog xorg-driver-video-nvidia-legacy-340xx-kernel-340.107-1@4.17.6_1.src.rpm
* Thu Jul 12 2018 PLD Linux Team <feedback@pld-linux.org>
- For complete changelog see: http://git.pld-linux.org/?p=packages/xorg-driver-video-nvidia-legacy-340xx.git;a=log;h=auto/th/xorg-driver-video-nvidia-legacy-340xx-340.107-1
* Fri Jun 08 2018 Jan Palus <atler@pld-linux.org> 7660a00 - up to 340.107 (adds support for xorg server 1.20)
* Tue Jan 30 2018 Jan Rękorajski <baggins@pld-linux.org> 5f838bc - up to 340.106
* Sat Nov 18 2017 Jan Rękorajski <baggins@pld-linux.org> c861685 - fix kernel 4.14 patch
- rel 2
* Thu Nov 16 2017 Jan Rękorajski <baggins@pld-linux.org> 370863e - removed obsolete patches
- fixed build fix kernel 4.14
- rel 1
* Thu Nov 16 2017 Jan Rękorajski <baggins@pld-linux.org> c822edc - fetch 340.104 sources
* Tue Aug 01 2017 Jan Rękorajski <baggins@pld-linux.org> 386385f - rel 4
- fix building with kernel 4.12
+ rpm -Uhv --nodeps --define '_topdir /tmp/B.0kzzKu' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --without userspace --define 'build_kernels head,4.14,4.9,4.4' xorg-driver-video-nvidia-legacy-340xx-kernel-340.107-1@4.17.6_1.src.rpm
Preparing... ##################################################
xorg-driver-video-nvidia-leg##################################################
+ rm -f xorg-driver-video-nvidia-legacy-340xx-kernel-340.107-1@4.17.6_1.src.rpm
mesg: ttyname failed: Inappropriate ioctl for device
+ install -m 700 -d /tmp/B.0kzzKu/BUILD/tmp
mesg: ttyname failed: Inappropriate ioctl for device
+ TMPDIR=/tmp/B.0kzzKu/BUILD/tmp
+ exec nice -n 0 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.0kzzKu' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --without userspace --target x86_64-pld-linux --define 'build_kernels head,4.14,4.9,4.4' --define 'prep exit 0' /tmp/B.0kzzKu/xorg-driver-video-nvidia-legacy-340xx.spec
Building target platforms: x86_64-pld-linux
checking BuildConflict-ing packages
no BuildConflicts found
checking BR
rpm: Building target platforms: x86_64-pld-linux
no BR needed
building RPM using: set -ex; : build-id: b1d66ef6-2f48-4b15-bcfd-ed25831c918e; TMPDIR=/tmp/B.0kzzKu/BUILD/tmp exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.0kzzKu' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --without userspace --target x86_64-pld-linux --define 'build_kernels head,4.14,4.9,4.4' /tmp/B.0kzzKu/xorg-driver-video-nvidia-legacy-340xx.spec
mesg: ttyname failed: Inappropriate ioctl for device
+ : build-id: b1d66ef6-2f48-4b15-bcfd-ed25831c918e
+ TMPDIR=/tmp/B.0kzzKu/BUILD/tmp
+ exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.0kzzKu' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --without userspace --target x86_64-pld-linux --define 'build_kernels head,4.14,4.9,4.4' /tmp/B.0kzzKu/xorg-driver-video-nvidia-legacy-340xx.spec
Building target platforms: x86_64-pld-linux
Executing(%prep): /bin/sh -e /tmp/B.0kzzKu/BUILD/tmp/rpm-tmp.15278
+ umask 022
+ cd /tmp/B.0kzzKu/BUILD
+ cd /tmp/B.0kzzKu/BUILD
+ rm -rf 'NVIDIA-Linux-x86*-340.107*'
+ /bin/sh /tmp/B.0kzzKu/NVIDIA-Linux-x86_64-340.107-no-compat32.run --extract-only
Creating directory NVIDIA-Linux-x86_64-340.107-no-compat32
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 340.107..........................................................................................................................................................................................................
+ cd /tmp/B.0kzzKu/BUILD
+ cd NVIDIA-Linux-x86_64-340.107-no-compat32
+ /bin/id -u
+ '[' 1000 '=' 0 ']'
+ /bin/id -u
+ '[' 1000 '=' 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (X11-driver-nvidia-GL.patch):'
Patch #0 (X11-driver-nvidia-GL.patch):
+ '[' -f /tmp/B.0kzzKu/X11-driver-nvidia-GL.patch ']'
+ /bin/cat /tmp/B.0kzzKu/X11-driver-nvidia-GL.patch
+ /usr/bin/patch -s -p1
+ echo 'Patch #1 (X11-driver-nvidia-desktop.patch):'
Patch #1 (X11-driver-nvidia-desktop.patch):
+ '[' -f /tmp/B.0kzzKu/X11-driver-nvidia-desktop.patch ']'
+ /bin/cat /tmp/B.0kzzKu/X11-driver-nvidia-desktop.patch
+ /usr/bin/patch -s -p1
+ echo 'Patch #2 (linux-4.0.patch):'
Patch #2 (linux-4.0.patch):
+ '[' -f /tmp/B.0kzzKu/linux-4.0.patch ']'
+ /bin/cat /tmp/B.0kzzKu/linux-4.0.patch
+ /usr/bin/patch -s -p1
+ >>kernel/Makefile.kbuild
+ echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused'
+ exit 0
Executing(%build): /bin/sh -e /tmp/B.0kzzKu/BUILD/tmp/rpm-tmp.74674
TMP=/home/users/builder/tmp
HOME=/home/users/builder
PATH=/home/users/builder/GNUstep/Tools:/usr/local/bin:/usr/bin:/bin:/home/users/builder/bin
TMPDIR=/tmp/B.0kzzKu/BUILD/tmp
+ umask 022
+ cd /tmp/B.0kzzKu/BUILD
+ cd NVIDIA-Linux-x86_64-340.107-no-compat32
+ cd kernel
+ /usr/bin/make -Otarget -j9 'SYSSRC=/usr/src/linux' clean
+ /usr/bin/make -Otarget -j9 'SYSSRC=/usr/src/linux' module
NVIDIA: calling KBUILD...
make[1]: Entering directory '/usr/src/linux-4.17.6'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
make[1]: Leaving directory '/usr/src/linux-4.17.6'
make[1]: Entering directory '/usr/src/linux-4.17.6'
mkdir -p /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_versions ; rm -f /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_versions/*
make[1]: Leaving directory '/usr/src/linux-4.17.6'
/usr/bin/make -f ./scripts/Makefile.build obj=/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel
(cat /dev/null; echo kernel//tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nvidia.ko;) > /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/modules.order
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-cray.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-cray.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-chrdev.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-chrdev.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-gvi.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_gvi"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-gvi.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-gvi.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-drm.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_drm"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-drm.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-drm.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-dma.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-dma.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-dma.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-mempool.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_mempool"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-mempool.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-mempool.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-acpi.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-acpi.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-i2c.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-i2c.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-i2c.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-mmap.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-mmap.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-mmap.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-pat.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_pat"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-pat.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-pat.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-usermap.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_usermap"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-usermap.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-usermap.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-procfs.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_procfs"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-procfs.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-procfs.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-vtophys.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_vtophys"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-vtophys.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-vtophys.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-p2p.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_p2p"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-p2p.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-p2p.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-vm.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_vm"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-vm.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-vm.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.os-interface.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"os_interface"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_os-interface.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_os-interface.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.os-pci.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"os_pci"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_os-pci.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_os-pci.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.os-mlock.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"os_mlock"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_os-mlock.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_os-mlock.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.os-smp.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"os_smp"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_os-smp.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_os-smp.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.os-registry.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"os_registry"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_os-registry.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_os-registry.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.os-usermap.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"os_usermap"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_os-usermap.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.c:15:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.c:15:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.c:15:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.c:15:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_os-usermap.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-frontend.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_frontend"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-frontend.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-frontend.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-frontend.c:13:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-frontend.c:13:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-frontend.c:13:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-frontend.c:13:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-frontend.c:13:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-frontend.c:13:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-frontend.c:13:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-frontend.c:13:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-frontend.c:13:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-frontend.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-frontend.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-frontend.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv_uvm_interface.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_uvm_interface"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv_uvm_interface.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:5,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:304:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:317:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:329:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:341:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:183:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:511:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:521:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:282:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
In file included from ./include/linux/page_ref.h:7:0,
from ./include/linux/mm.h:26,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:68,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:162:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:381:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:382:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:424:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:460:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:498:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:500:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:156:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:231:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:766:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:221:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20:0,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:173,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/rtc.h: In function 'rtc_tv_nsec_ok':
./include/linux/rtc.h:258:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
^
./include/linux/rtc.h:263:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
^
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv_uvm_interface.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.o"; fi; fi;
ld -m elf_x86_64 -z max-page-size=0x200000 -r -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nvidia.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-kernel.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-interface.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-pci.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-registry.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-smp.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-usermap.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv_uvm_interface.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-frontend.o
/usr/bin/make -f ./scripts/Makefile.modpost
find /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost -m -i ./Module.symvers -I /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/Module.symvers -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/Module.symvers -S -w -s -T -
WARNING: could not find /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-kernel.o.cmd for /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-kernel.o
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nvidia.mod.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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\" -DKBUILD_BASENAME='"nvidia.mod"' -DKBUILD_MODNAME='"nvidia"' -DMODULE -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nvidia.mod.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nvidia.mod.c
In file included from ./include/linux/byteorder/little_endian.h:11:0,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:521,
from ./include/linux/bitops.h:38,
from ./include/linux/kernel.h:11,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nvidia.mod.c:1:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./include/linux/byteorder/generic.h:195:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./include/linux/byteorder/generic.h:203:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from ./include/linux/kernel.h:10:0,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nvidia.mod.c:1:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:75:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:987:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
ld -r -m elf_x86_64 -z max-page-size=0x200000 -T ./scripts/module-common.lds --build-id -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nvidia.ko /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nvidia.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nvidia.mod.o ; true
NVIDIA: left KBUILD.
+ cd ..
+ INSTALLROOT=installed
+ '[' -n installed ']'
+ set +x
NVIDIA: calling KBUILD...
make[1]: Entering directory '/usr/src/linux-4.14-4.14.55'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
make[1]: Leaving directory '/usr/src/linux-4.14-4.14.55'
make[1]: Entering directory '/usr/src/linux-4.14-4.14.55'
mkdir -p /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_versions ; rm -f /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_versions/*
make[1]: Leaving directory '/usr/src/linux-4.14-4.14.55'
/usr/bin/make -f ./scripts/Makefile.build obj=/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel
(cat /dev/null; echo kernel//tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nvidia.ko;) > /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/modules.order
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-chrdev.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:134:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/smp.h:13:0,
from ./include/linux/smp.h:64,
from ./include/linux/percpu.h:7,
from ./include/linux/hrtimer.h:22,
from ./include/linux/sched.h:20,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
./arch/x86/include/asm/apic.h: In function '__default_cpu_present_to_apicid':
./arch/x86/include/asm/apic.h:587:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mps_cpu < nr_cpu_ids && cpu_present(mps_cpu))
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:994:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:135:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:200:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'node_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:216:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-chrdev.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-chrdev.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-cray.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:134:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/smp.h:13:0,
from ./include/linux/smp.h:64,
from ./include/linux/percpu.h:7,
from ./include/linux/hrtimer.h:22,
from ./include/linux/sched.h:20,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
./arch/x86/include/asm/apic.h: In function '__default_cpu_present_to_apicid':
./arch/x86/include/asm/apic.h:587:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mps_cpu < nr_cpu_ids && cpu_present(mps_cpu))
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:994:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:135:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:200:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'node_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:216:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-cray.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-cray.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-dma.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-dma.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:134:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/smp.h:13:0,
from ./include/linux/smp.h:64,
from ./include/linux/percpu.h:7,
from ./include/linux/hrtimer.h:22,
from ./include/linux/sched.h:20,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
./arch/x86/include/asm/apic.h: In function '__default_cpu_present_to_apicid':
./arch/x86/include/asm/apic.h:587:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mps_cpu < nr_cpu_ids && cpu_present(mps_cpu))
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:994:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:135:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:200:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'node_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:216:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-dma.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-dma.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-acpi.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:134:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/smp.h:13:0,
from ./include/linux/smp.h:64,
from ./include/linux/percpu.h:7,
from ./include/linux/hrtimer.h:22,
from ./include/linux/sched.h:20,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
./arch/x86/include/asm/apic.h: In function '__default_cpu_present_to_apicid':
./arch/x86/include/asm/apic.h:587:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mps_cpu < nr_cpu_ids && cpu_present(mps_cpu))
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:994:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:135:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:200:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'node_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:216:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-acpi.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-acpi.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-drm.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_drm"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-drm.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:134:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/smp.h:13:0,
from ./include/linux/smp.h:64,
from ./include/linux/percpu.h:7,
from ./include/linux/hrtimer.h:22,
from ./include/linux/sched.h:20,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
./arch/x86/include/asm/apic.h: In function '__default_cpu_present_to_apicid':
./arch/x86/include/asm/apic.h:587:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mps_cpu < nr_cpu_ids && cpu_present(mps_cpu))
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:994:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:135:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:200:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'node_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:216:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-drm.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-drm.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-gvi.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_gvi"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-gvi.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:134:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/smp.h:13:0,
from ./include/linux/smp.h:64,
from ./include/linux/percpu.h:7,
from ./include/linux/hrtimer.h:22,
from ./include/linux/sched.h:20,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
./arch/x86/include/asm/apic.h: In function '__default_cpu_present_to_apicid':
./arch/x86/include/asm/apic.h:587:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mps_cpu < nr_cpu_ids && cpu_present(mps_cpu))
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:994:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:135:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:200:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'node_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:216:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-gvi.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-gvi.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-i2c.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-i2c.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:134:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/smp.h:13:0,
from ./include/linux/smp.h:64,
from ./include/linux/percpu.h:7,
from ./include/linux/hrtimer.h:22,
from ./include/linux/sched.h:20,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
./arch/x86/include/asm/apic.h: In function '__default_cpu_present_to_apicid':
./arch/x86/include/asm/apic.h:587:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mps_cpu < nr_cpu_ids && cpu_present(mps_cpu))
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:994:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:135:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:200:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'node_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:216:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-i2c.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-i2c.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:134:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/smp.h:13:0,
from ./include/linux/smp.h:64,
from ./include/linux/percpu.h:7,
from ./include/linux/hrtimer.h:22,
from ./include/linux/sched.h:20,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
./arch/x86/include/asm/apic.h: In function '__default_cpu_present_to_apicid':
./arch/x86/include/asm/apic.h:587:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mps_cpu < nr_cpu_ids && cpu_present(mps_cpu))
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:994:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.c:13:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:135:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:200:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'node_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:216:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-mempool.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_mempool"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-mempool.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:134:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/smp.h:13:0,
from ./include/linux/smp.h:64,
from ./include/linux/percpu.h:7,
from ./include/linux/hrtimer.h:22,
from ./include/linux/sched.h:20,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
./arch/x86/include/asm/apic.h: In function '__default_cpu_present_to_apicid':
./arch/x86/include/asm/apic.h:587:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mps_cpu < nr_cpu_ids && cpu_present(mps_cpu))
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:994:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:135:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:200:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'node_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:216:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-mempool.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mempool.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-mmap.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-mmap.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:134:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/smp.h:13:0,
from ./include/linux/smp.h:64,
from ./include/linux/percpu.h:7,
from ./include/linux/hrtimer.h:22,
from ./include/linux/sched.h:20,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
./arch/x86/include/asm/apic.h: In function '__default_cpu_present_to_apicid':
./arch/x86/include/asm/apic.h:587:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mps_cpu < nr_cpu_ids && cpu_present(mps_cpu))
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:994:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:135:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:200:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'node_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:216:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-mmap.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-mmap.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-pat.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_pat"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-pat.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:134:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/smp.h:13:0,
from ./include/linux/smp.h:64,
from ./include/linux/percpu.h:7,
from ./include/linux/hrtimer.h:22,
from ./include/linux/sched.h:20,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
./arch/x86/include/asm/apic.h: In function '__default_cpu_present_to_apicid':
./arch/x86/include/asm/apic.h:587:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mps_cpu < nr_cpu_ids && cpu_present(mps_cpu))
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:994:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:135:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:200:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'node_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:216:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-pat.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-pat.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-usermap.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_usermap"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-usermap.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:134:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/smp.h:13:0,
from ./include/linux/smp.h:64,
from ./include/linux/percpu.h:7,
from ./include/linux/hrtimer.h:22,
from ./include/linux/sched.h:20,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
./arch/x86/include/asm/apic.h: In function '__default_cpu_present_to_apicid':
./arch/x86/include/asm/apic.h:587:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mps_cpu < nr_cpu_ids && cpu_present(mps_cpu))
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:994:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:135:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:200:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'node_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:216:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-usermap.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-usermap.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-procfs.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_procfs"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-procfs.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:134:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/smp.h:13:0,
from ./include/linux/smp.h:64,
from ./include/linux/percpu.h:7,
from ./include/linux/hrtimer.h:22,
from ./include/linux/sched.h:20,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
./arch/x86/include/asm/apic.h: In function '__default_cpu_present_to_apicid':
./arch/x86/include/asm/apic.h:587:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mps_cpu < nr_cpu_ids && cpu_present(mps_cpu))
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:994:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:135:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:200:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'node_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:216:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-procfs.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-procfs.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-vtophys.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_vtophys"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-vtophys.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:134:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/smp.h:13:0,
from ./include/linux/smp.h:64,
from ./include/linux/percpu.h:7,
from ./include/linux/hrtimer.h:22,
from ./include/linux/sched.h:20,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
./arch/x86/include/asm/apic.h: In function '__default_cpu_present_to_apicid':
./arch/x86/include/asm/apic.h:587:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mps_cpu < nr_cpu_ids && cpu_present(mps_cpu))
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:994:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:135:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:200:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'node_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:216:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-vtophys.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vtophys.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-p2p.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_p2p"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-p2p.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:134:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/smp.h:13:0,
from ./include/linux/smp.h:64,
from ./include/linux/percpu.h:7,
from ./include/linux/hrtimer.h:22,
from ./include/linux/sched.h:20,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
./arch/x86/include/asm/apic.h: In function '__default_cpu_present_to_apicid':
./arch/x86/include/asm/apic.h:587:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mps_cpu < nr_cpu_ids && cpu_present(mps_cpu))
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:994:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.c:15:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:135:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:200:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'node_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:216:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-p2p.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-p2p.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.nv-vm.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"nv_vm"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-vm.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:134:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/smp.h:13:0,
from ./include/linux/smp.h:64,
from ./include/linux/percpu.h:7,
from ./include/linux/hrtimer.h:22,
from ./include/linux/sched.h:20,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
./arch/x86/include/asm/apic.h: In function '__default_cpu_present_to_apicid':
./arch/x86/include/asm/apic.h:587:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mps_cpu < nr_cpu_ids && cpu_present(mps_cpu))
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:994:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'raw_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'raw_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:470:35: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'raw_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./include/linux/percpu-defs.h:483:34: note: in expansion of macro '__this_cpu_add'
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
./include/linux/percpu-defs.h:485:30: note: in expansion of macro '__this_cpu_sub'
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:97:3: note: in expansion of macro '__this_cpu_dec'
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17:0,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.c:14:
./include/linux/vmstat.h: In function 'zone_numa_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:135:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:200:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function 'node_page_state_snapshot':
./include/linux/cpumask.h:215:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
./include/linux/cpumask.h:750:36: note: in expansion of macro 'for_each_cpu'
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
./include/linux/vmstat.h:216:2: note: in expansion of macro 'for_each_online_cpu'
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_nv-vm.o";
if [ "-pg" = "-pg" ]; then if [ /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-vm.o"; fi; fi;
cc -Wp,-MD,/tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.os-mlock.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-pld-linux/7.3.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -DCONFIG_X86_X32_ABI -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_AVX512=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-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin=./scripts/gcc-plugins/randomize_layout_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DRANDSTRUCT_PLUGIN -fplugin-arg-randomize_layout_plugin-performance-mode -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -gsplit-dwarf -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/B.0kzzKu/BUILD/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 -DKBUILD_BASENAME='"os_mlock"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/.tmp_os-mlock.o /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:134:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
./include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
./include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
./include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./include/linux/ipc.h:7:0,
from ./include/uapi/linux/sem.h:5,
from ./include/linux/sem.h:9,
from ./include/linux/sched.h:15,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
./include/linux/rhashtable.h: In function 'rht_grow_above_75':
./include/linux/rhashtable.h:295:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
^
./include/linux/rhashtable.h: In function 'rht_shrink_below_30':
./include/linux/rhashtable.h:308:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_100':
./include/linux/rhashtable.h:320:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
^
./include/linux/rhashtable.h: In function 'rht_grow_above_max':
./include/linux/rhashtable.h:332:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return atomic_read(&ht->nelems) >= ht->max_elems;
^~
In file included from ./arch/x86/include/asm/smp.h:13:0,
from ./include/linux/smp.h:64,
from ./include/linux/percpu.h:7,
from ./include/linux/hrtimer.h:22,
from ./include/linux/sched.h:20,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
./arch/x86/include/asm/apic.h: In function '__default_cpu_present_to_apicid':
./arch/x86/include/asm/apic.h:587:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mps_cpu < nr_cpu_ids && cpu_present(mps_cpu))
^
In file included from ./arch/x86/include/asm/current.h:5:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:994:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
./include/linux/compiler.h:76:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from ./arch/x86/include/asm/current.h:6:0,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/nv-linux.h:44,
from /tmp/B.0kzzKu/BUILD/NVIDIA-Linux-x86_64-340.107-no-compat32/kernel/os-mlock.c:15:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:479:35: note: in expansion of macro 'percpu_add_op'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
./include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function 'percpu_up_read_preempt_enable':
./arch/x86/include/asm/percpu.h:131:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
./arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro 'percpu_add_op'
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
./include/linux/percpu-defs.h:364:11: note: in expansion of macro 'raw_cpu_add_1'
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
./include/linux/percpu-defs.h:409:32: note: in expansion of macro '__pcpu_size_call'
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:445:2: note: in expansion of macro 'raw_cpu_add'
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
./in |
|